Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

" tried to load additional data " Market Analyzer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    " tried to load additional data " Market Analyzer

    In the log I'm getting "A hosted indicator tried to load additional data. All data must first be loaded by the hosting NinjaScript in its configure state." I'm running 2 different custom indicators from Market Analyzer columns and they both seem to be producing this error.

    I exited and re-started, same problem.

    What's the fix ?

    Thanks,

    Bruce

    #2
    Hello,

    Thank you for the question.

    This message is generally caused when a Strategy loads an indicator that is trying to load data, the strategy would also need to load that data.

    In this case, instead of a strategy the MA is used or is hosting an indicator. In the MA, the same situation could happen. Are you calling a Indicator that calls yet another indicator? If so, does the second indicator have a AddDataSeries call in it?

    For example:
    MA Column -> Indicator A -> Indicator B (B has AddDataSeries())

    The correct solution would be instead:
    MA Column -> Indicator A (has same AddDataSeries as B) -> Indicator B (B has AddDataSeries())


    Can you confirm if this is the scenario you are running into? If you are unable to determine if this is the case, I would suggest to create a more simple example indicator to load as a column, and ensure it does. This would allow you to compare differences to further locate where the specific problem is happening.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      I have :
      MA Column -> Indicator A (A has AddDataSeries()) -> Indicator B (uses as primary data, the same data as the primary data of Indicator A, and does not have an AddDataSeries()).

      BGW

      Comment


        #4
        Resolved.

        After trying various changes, I think I only had to increase the # of bars loaded.

        Thanks,
        Bruce

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by chbruno, Today, 04:10 PM
        0 responses
        3 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        6 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        19 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by frslvr, 04-11-2024, 07:26 AM
        9 responses
        127 views
        1 like
        Last Post caryc123  
        Working...
        X