Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

backtesting and after hours trading

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

    backtesting and after hours trading

    Is there a way to prevent after hours trading while using strategy analyzer?

    Is there a way to altogether prevent after hours trading ?


    thanks,

    #2
    Hello,

    You have a few options to set this up depending on the approach you are using.

    You can use a session template which is only setup for the Start and End times for these hours and apply the strategy using your session template. However, you may seem some 'bleeding over' in some cases when using only the session template to limit trade hours

    Click here for more information on using session templates and using the Session Manager:



    If you are manually coding the Strategy, your best bet is to program the strategy to only trade during regular hours. Please see our Reference Sample on the forum on Using a time filter to limit trading hours:



    Please let me know if there is anything else I can do for you.
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    65 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    23 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    26 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    52 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X