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 Ndakotan1313, 03-14-2024, 05:02 PM
        2 responses
        58 views
        0 likes
        Last Post blaise_code  
        Started by claxxical, 05-30-2017, 12:30 PM
        37 responses
        4,453 views
        0 likes
        Last Post Padan
        by Padan
         
        Started by SugarDefwebsite, Today, 02:18 AM
        0 responses
        4 views
        0 likes
        Last Post SugarDefwebsite  
        Started by usglucofreeze, Today, 01:19 AM
        0 responses
        7 views
        0 likes
        Last Post usglucofreeze  
        Started by f.saeidi, Today, 01:12 AM
        0 responses
        14 views
        0 likes
        Last Post f.saeidi  
        Working...
        X