Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple Timeframe Question

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

    #16
    Still on 6.5, I haven't yet transitioned. Should I move to 7 first?

    Comment


      #17
      With 6.5, multiseries strategies need to be designed so that the secondary series are smaller than the primary. This is how you have it currently structured.

      Version 7 does not have this limitation and you can set the order of the series how you like. 15 minute can be your primary series and 30 minute your secondary. This gives you more flexibility and since there have been changes to multi series, version 7 transition may be the way to go.
      Ryan M.NinjaTrader Customer Service

      Comment


        #18
        Okay Ryan, thanks for the information. I'll transition over and see if I can get it working.

        Thanks for all of your help

        Comment


          #19
          Maybe I'm reading this wrong, but in the help file BarsArray is "a container in the script that holds all Bars objects added to the script. It's no different than a bucket of golf balls in your garage...... we can retrieve this Bars object later"

          Okay, but when I now when I try this code I get an error

          Close(BarsArray[1])[0]

          Error: The name Close does not exist in the current context.

          I want to retrieve the close of the secondary series, as this will be my longer period (hoping to fix the problem of it only looking at the one time series) Everything else using this barsarray format works except Close.

          Thanks

          Comment


            #20
            This is accessed with:

            Closes[1] //Secondary close series. Plug this into methods that are looking for a data series input
            Closes[1][0] // Secondary close double value. The most recent secondary close.

            Ryan M.NinjaTrader Customer Service

            Comment


              #21
              Great thanks Ryan!

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by charlesugo_1, 05-26-2026, 05:03 PM
              0 responses
              60 views
              0 likes
              Last Post charlesugo_1  
              Started by DannyP96, 05-18-2026, 02:38 PM
              1 response
              145 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 05-11-2026, 05:56 AM
              0 responses
              161 views
              0 likes
              Last Post CarlTrading  
              Started by CarlTrading, 05-10-2026, 08:12 PM
              0 responses
              97 views
              0 likes
              Last Post CarlTrading  
              Started by Hwop38, 05-04-2026, 07:02 PM
              0 responses
              283 views
              0 likes
              Last Post Hwop38
              by Hwop38
               
              Working...
              X