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 CarlTrading, 03-31-2026, 09:41 PM
            1 response
            82 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            43 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            64 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            68 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            56 views
            0 likes
            Last Post CarlTrading  
            Working...
            X