Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why backtesting auto exits on close?

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

    Why backtesting auto exits on close?

    i am backtesting a strategy but it is exiting trades automatically at close of the day. My system is positional. Is it possible to make the system exit only when the exit signal is generated?

    #2
    Under order handling, set EXIT ON CLOSE to false. That way when the session ends, it does not close your positions

    Comment


      #3
      Thanks Richa. It helped

      Comment


        #4
        you can change it in your script
        just find exit on close = true and change it to true and then press F5 to compile it. then by default it will be false - you won't need to change it by hand

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Sebastian - TwinPeaks, Today, 01:31 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by Lele2k24, Today, 01:32 PM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by tonynt, Today, 01:48 PM
        1 response
        2 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by eladlevi, Today, 11:02 AM
        4 responses
        22 views
        0 likes
        Last Post eladlevi  
        Started by synthhokie, Today, 10:24 AM
        5 responses
        15 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X