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 argusthome, 03-08-2026, 10:06 AM
        0 responses
        91 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        48 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        31 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        34 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        69 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X