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 Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              647 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              368 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              108 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              571 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              573 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X