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

multiple session templates

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

    multiple session templates

    Is there a way to call up a second time frame and then have that time frame be set to a different session timeplate? for example, have your primary bar series be pit only, and your second bar series be globex?

    would there be a way to to do this in a strategy, if you used two separate indicators?

    thanks

    tom

    #2
    Tom, this would unfortunately not be possible for the same instrument, the main series would dictate in those cases the session template used.

    More info on this could be seen in the notes to the 'True Event Driven OnBarUpdate' section below :

    BertrandNinjaTrader Customer Service

    Comment


      #3
      To anybody reading this in the future:

      although this didn't do exactly what i was looking for, what kinda works is to set your time frame to globex and then use an if then statement to limit certain actions to pit only hours. something like:

      if ((ToTime(Time[0]) >= 93000 && ToTime(Time[0]) < 161500))

      hope that helps and good luck

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by wzgy0920, 04-20-2024, 06:09 PM
      2 responses
      26 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, 02-22-2024, 01:11 AM
      5 responses
      32 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, Yesterday, 09:53 PM
      2 responses
      49 views
      0 likes
      Last Post wzgy0920  
      Started by Kensonprib, 04-28-2021, 10:11 AM
      5 responses
      192 views
      0 likes
      Last Post Hasadafa  
      Started by GussJ, 03-04-2020, 03:11 PM
      11 responses
      3,234 views
      0 likes
      Last Post xiinteractive  
      Working...
      X