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 bmartz, 03-12-2024, 06:12 AM
    4 responses
    32 views
    0 likes
    Last Post bmartz
    by bmartz
     
    Started by Aviram Y, Today, 05:29 AM
    4 responses
    12 views
    0 likes
    Last Post Aviram Y  
    Started by algospoke, 04-17-2024, 06:40 PM
    3 responses
    28 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by gentlebenthebear, Today, 01:30 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by cls71, Today, 04:45 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X