Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Use Session Template for strategy trading times

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

    Use Session Template for strategy trading times

    Hi,
    Is there a way to call/use a Session Template from within a strategy so you can control when trades are taken and not taken? Something similar to how an ATM Strategy Template is used in a strategy.I know you can use the "Time" statements but I was hoping to use a Session Template instead.

    Thanks

    #2
    Hello mlarocco,

    Thank you for your post.

    You would not need to access the Session Template, but access the DateTime objects. For an example please refer to the following link: http://www.ninjatrader.com/support/f...ead.php?t=3226

    Comment


      #3
      ok, thanks. I have used the ToTime before but I thought there might have been a simpler way.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      648 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      369 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      109 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      573 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      575 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X