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 Kaledus, Today, 01:29 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by frankthearm, Yesterday, 09:08 AM
      13 responses
      45 views
      0 likes
      Last Post frankthearm  
      Started by PaulMohn, Today, 12:36 PM
      2 responses
      16 views
      0 likes
      Last Post PaulMohn  
      Started by Conceptzx, 10-11-2022, 06:38 AM
      2 responses
      53 views
      0 likes
      Last Post PhillT
      by PhillT
       
      Started by yertle, Yesterday, 08:38 AM
      8 responses
      37 views
      0 likes
      Last Post ryjoga
      by ryjoga
       
      Working...
      X