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 egordleo, Today, 05:50 AM
        0 responses
        4 views
        0 likes
        Last Post egordleo  
        Started by kevinenergy, 02-17-2023, 12:42 PM
        118 responses
        2,778 views
        1 like
        Last Post kevinenergy  
        Started by briansaul, Today, 05:31 AM
        0 responses
        9 views
        0 likes
        Last Post briansaul  
        Started by fwendolynlpxz, Today, 05:19 AM
        0 responses
        4 views
        0 likes
        Last Post fwendolynlpxz  
        Started by traderqz, Yesterday, 12:06 AM
        11 responses
        28 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X