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

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by mattdowns1234, Today, 06:57 PM
        0 responses
        5 views
        0 likes
        Last Post mattdowns1234  
        Started by dgee949, Today, 06:26 PM
        0 responses
        9 views
        0 likes
        Last Post dgee949
        by dgee949
         
        Started by dgee949, Today, 05:58 PM
        0 responses
        11 views
        0 likes
        Last Post dgee949
        by dgee949
         
        Started by thepcmd, Today, 05:14 PM
        0 responses
        24 views
        0 likes
        Last Post thepcmd
        by thepcmd
         
        Started by xmess777, Today, 04:58 PM
        0 responses
        17 views
        0 likes
        Last Post xmess777  
        Working...
        X