Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Question on days of the week

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

    #16
    Yes, you could work with Time, but since you run on daily bars you really lack any granularity to have a meaningful time based exit here. As an alternative could work with built in method BarsSinceEntry() for an exit condition.
    Ryan M.NinjaTrader Customer Service

    Comment


      #17
      Originally posted by jvr23 View Post
      session template : <Use instrument settings>
      time frame : 1.1.2005 to 7.11.2011
      data series type: Day
      instrument ES 12-11
      On a daily time frame, ExitOnClose() is essentially meaningless as there is no granularity to execute against. You are either going to have to use a more explicit exit condition, or else use another intraday TimeSeries to provide the granularity to execute against. i.e., a multi series strategy.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      364 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      236 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      205 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      290 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      246 views
      0 likes
      Last Post CarlTrading  
      Working...
      X