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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      110 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      156 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      74 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X