Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AddDataSeries With a Different Session Name

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

    AddDataSeries With a Different Session Name

    How can I AddDataSeries of the same instrument with a different Session Name in State = State.Configure.

    if the Primary Data Series is "CME US Index Futures ETH" how can I add a secondary series based on "CME US Index Futures RTH"?

    Something like this (Not valid though)
    else if (State == State.Configure)
    {
    AddDataSeries(BarsPeriodType.Minute, 405, Session("CME US Index Futures RTH"))
    }


    I Have a bunch of stuff built on the 405 Minute RTH series that I would like to reference from a chart based on the ETH Template.

    #2
    Hi TAJTrades, thanks for your question.

    I'll need to submit a feature request to suggest we add an overload that will take a different BarsPeriodType and period rather than use the primary series BarsPeriod for overloads that take a trading hours template.

    Thanks in advance for your patience.
    Last edited by NinjaTrader_ChrisL; 05-08-2020, 09:17 AM.

    Comment


      #3
      Chris,

      Not the BarsPeriodType, it is a different Session Name the would be different than the Primary DataSeries Session Name.

      And thanks.

      Comment


        #4
        Hi TAJTrades, I edited my post to clarify.

        Comment


          #5
          Hello,

          Is there update on this thread? I would like to add a secondary "Tick" series and get the first tick of RTH session?

          Thanks

          Comment


            #6
            Hello music_p13, thanks for your post. My apologies for not following up here.

            I was able to make a different BarsPeriod with a different session template like this:

            Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.


            If you have any questions on this material please let me know.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            566 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            330 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            547 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            548 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X