Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

DataSeries exposed values efficiency

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

    DataSeries exposed values efficiency

    I have an Indicator A which does not plot but has a number of DataSeries that expose their values to be used in three other indicators B, C and D. Indicators B,C and D will always be loaded together to a chart (among others).

    Because of the calculations involved I am trying to find the most efficient way to built this configuration. My Question is: Will indicator A be called three times
    (for B,C and D) ? I can built a super indicator X (containing B,C,D) if this will involve one call and is more efficient but I dont prefer this option. Or, it doesnt
    matter.

    PS. In indicators B,C and D I am reinstating the exposed values of A.
    Last edited by astra; 05-22-2009, 01:27 PM.

    #2
    astra,

    If you leave the parameters all the same there will only be one instance of indicator A even if called from different indicators.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh that's great. The parameters will be the same.

      Comment


        #4
        astra,

        I talked to a colleague about this and want to clarify some things. You are just using indicators B, C, D from a chart and not from a strategy correct? I will talk to development and let you know sometime next week. You may get the best efficiency if you rolled it into one "superindicator".
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Josh,
          Yes, I am using indicators B,C, D from a chart. I 'll wait your answer. Thanks.

          Comment


            #6
            astra,

            Disregard the earlier comments. There will be three instances created as you reference the indicator from three separate indicators. You may want to roll them into one "super" indicator if you do not want three instances.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by r68cervera, Today, 05:29 AM
            0 responses
            3 views
            0 likes
            Last Post r68cervera  
            Started by geddyisodin, Today, 05:20 AM
            0 responses
            6 views
            0 likes
            Last Post geddyisodin  
            Started by JonesJoker, 04-22-2024, 12:23 PM
            6 responses
            35 views
            0 likes
            Last Post JonesJoker  
            Started by GussJ, 03-04-2020, 03:11 PM
            12 responses
            3,241 views
            0 likes
            Last Post Leafcutter  
            Started by AveryFlynn, Today, 04:57 AM
            0 responses
            7 views
            0 likes
            Last Post AveryFlynn  
            Working...
            X