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 usazencort, Today, 01:16 AM
        0 responses
        1 view
        0 likes
        Last Post usazencort  
        Started by kaywai, 09-01-2023, 08:44 PM
        5 responses
        603 views
        0 likes
        Last Post NinjaTrader_Jason  
        Started by xiinteractive, 04-09-2024, 08:08 AM
        6 responses
        22 views
        0 likes
        Last Post xiinteractive  
        Started by Pattontje, Yesterday, 02:10 PM
        2 responses
        21 views
        0 likes
        Last Post Pattontje  
        Started by flybuzz, 04-21-2024, 04:07 PM
        17 responses
        230 views
        0 likes
        Last Post TradingLoss  
        Working...
        X