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 Segwin, 05-07-2018, 02:15 PM
      12 responses
      1,785 views
      0 likes
      Last Post Leafcutter  
      Started by poplagelu, Today, 05:00 AM
      0 responses
      3 views
      0 likes
      Last Post poplagelu  
      Started by fx.practic, 10-15-2013, 12:53 AM
      5 responses
      5,407 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by Shai Samuel, 07-02-2022, 02:46 PM
      4 responses
      98 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by DJ888, Yesterday, 10:57 PM
      0 responses
      8 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Working...
      X