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

AddDataSeries

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

    AddDataSeries

    Hello, is it still the case that any indicator using AddDataSeries that the instruments/contracts need to be hard coded into this indicator in the
    AddDataSeries parameters in State.Configure. It is still unsupported or considered unreliable to use input parameters to pass in the instrument name ie ES 03-21 or CL 03-21
    thanks
    Last edited by soulfx; 01-26-2021, 11:19 AM.

    #2
    Hello soulfx,

    Thank you for your post.

    That is correct, you would need to use AddDataSeries() and hardcode the instrument, bars period type, and period within the AddDataSeries() method for multi-series scripts.

    As stated in the Warning section of the AddDataSeries() help guide documentation, arguments supplied to AddDataSeries() should be hardcoded and NOT dependent on run-time variables which cannot be reliably obtained during State.Configure (e.g., Instrument, Bars, or user input). Attempting to add a data series dynamically is NOT guaranteed and therefore should be avoided.

    See the help guide documentation below for more information.
    AddDataSeries - https://ninjatrader.com/support/help...dataseries.htm

    Please let us know if we may assist further.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      thanks for reply - i presume this is already listed as a feature request - please add my vote to this if not already there.
      is this likely to be implemented or is likely ways off in terms of what is required to support this
      thanks

      Comment


        #4

        Hello soulfx,

        Thanks for your patience.

        The internal tracking number for your feature request is SFT-882. I have added your vote. Please reference this internal tracking number when contacting Platform Support if you ever have questions regarding this feature request.

        When a feature request is implemented, you'll find a description of the new feature in the release notes:Please let us know if we may assist further
        Brandon H.NinjaTrader Customer Service

        Comment


          #5
          thanks brandon - just to clarify - i would have thought this would Already exist in the system as a feature request ? Or is this the first request and only vote?
          thanks

          Comment


            #6
            Hello soulfx,

            Thank you for your note.

            The feature request already existed and your vote was added to it.

            Let us know if we may assist further.
            Brandon H.NinjaTrader Customer Service

            Comment


              #7
              Add please.
              eDanny
              NinjaTrader Ecosystem Vendor - Integrity Traders

              Comment


                #8
                Hello eDanny,

                Thank you for your post.

                I have added your vote to SFT-882. Please reference this internal tracking number when contacting Platform Support if you ever have questions regarding this feature request.

                When a feature request is implemented, you'll find a description of the new feature in the release notes:Please let us know if we may assist further.
                Brandon H.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Christopher_R, Today, 12:29 AM
                0 responses
                9 views
                0 likes
                Last Post Christopher_R  
                Started by sidlercom80, 10-28-2023, 08:49 AM
                166 responses
                2,235 views
                0 likes
                Last Post sidlercom80  
                Started by thread, Yesterday, 11:58 PM
                0 responses
                3 views
                0 likes
                Last Post thread
                by thread
                 
                Started by jclose, Yesterday, 09:37 PM
                0 responses
                8 views
                0 likes
                Last Post jclose
                by jclose
                 
                Started by WeyldFalcon, 08-07-2020, 06:13 AM
                10 responses
                1,415 views
                0 likes
                Last Post Traderontheroad  
                Working...
                X