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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      68 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X