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 kinfxhk, 07-14-2026, 09:39 AM
      0 responses
      90 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      92 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      70 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      87 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      64 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X