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 tsantospinto, 04-12-2024, 07:04 PM
            4 responses
            61 views
            0 likes
            Last Post aligator  
            Started by michi08, 10-05-2018, 09:31 AM
            3 responses
            740 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by sightcareclickhere, Today, 01:55 PM
            0 responses
            1 view
            0 likes
            Last Post sightcareclickhere  
            Started by Mindset, 05-06-2023, 09:03 PM
            9 responses
            259 views
            0 likes
            Last Post ender_wiggum  
            Started by Mizzouman1, Today, 07:35 AM
            4 responses
            18 views
            0 likes
            Last Post Mizzouman1  
            Working...
            X