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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    368 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    237 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    205 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    290 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    250 views
    0 likes
    Last Post CarlTrading  
    Working...
    X