• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 bultakkoz, Today, 02:28 AM
        0 responses
        2 views
        0 likes
        Last Post bultakkoz  
        Started by kunahoylea, Today, 01:07 AM
        0 responses
        1 view
        0 likes
        Last Post kunahoylea  
        Started by qewcool, Yesterday, 10:51 PM
        0 responses
        2 views
        0 likes
        Last Post qewcool
        by qewcool
         
        Started by momchi, Yesterday, 10:09 PM
        0 responses
        2 views
        0 likes
        Last Post momchi
        by momchi
         
        Started by crokusek, Yesterday, 09:56 PM
        0 responses
        4 views
        0 likes
        Last Post crokusek  
        Working...
        X