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

Why custom series for NON main series is obsolete?

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

    Why custom series for NON main series is obsolete?

    Hello guys,

    why did you marked custom series for non main DataSeries as obsolete?

    for example:
    PHP Code:
    new Series<double>(BarsArray[1]); 
    or this:
    PHP Code:
    new Series<double>(BarsArray[1], MaximumBarsLookBack.Infinite); 
    please clarify
    Attached Files

    #2
    Hello login_dejavu,

    Thanks for your post.

    I understand this to be specific for the overload using MaximumBarsLookBack specifically with Bars as input, where MaximumBarsLookBack is forced to Infinite.

    I'm asking Product Management for confirmation and will reply back when I get further info.
    JimNinjaTrader Customer Service

    Comment


      #3
      Hi Jim, your answer confused me even more

      The way I understood that whole idea of custom series that they always MaximumBarsLookBack.Infinite
      and MaximumBarsLookBack.TwoHundredFiftySix is only for the main data series to optimize rendering
      Last edited by login_dejavu; 10-13-2021, 10:22 AM.

      Comment


        #4
        Hello login_dejavu,

        When the Bars overload is used, MaximumBarsLookback is forced to Infinite. I suspect the [Obsolete] tag was added because changing the Bars overload to use MaximumBarsLookBack.TwoHundredFiftySix would not have unique function.

        I'm still awaiting confirmation through Product Management and Development on the matter.

        EDIT: Development and Product Management confirmed that this has tag has been added for the reason mentioned here. We are adjusting our Help Guide documentation to note this.
        Last edited by NinjaTrader_Jim; 10-15-2021, 10:37 AM.
        JimNinjaTrader Customer Service

        Comment


          #5
          Documenting the function with the obsolete tag in the code would be helpful too. I just spent an hour trying to figure out whether I can still use this routine from an AddOn, until I found this post.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Kaledus, Today, 01:29 PM
          5 responses
          12 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by Waxavi, Today, 02:00 AM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_LuisH  
          Started by alifarahani, Today, 09:40 AM
          5 responses
          23 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by gentlebenthebear, Today, 01:30 AM
          3 responses
          16 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by PhillT, Today, 02:16 PM
          2 responses
          7 views
          0 likes
          Last Post PhillT
          by PhillT
           
          Working...
          X