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 SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      52 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      24 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      16 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      23 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      24 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X