Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exit on Close - Problem

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

    #16
    Exit on Close versus flatten

    I want to flatten at 4:09PM EST so I went to tools-options-Misc and set it to flatten all at 4:09 PM. If i then leave "exit on close" unchecked, will my flatten trades still happen? I'm finding that my strategy also gets disabled which I don't want.

    I'm trying to exit before the close (my broker requires I be flat no later than 4:10PM to maintain day margins, but I want the strategy to continue to be enabled. Otherwise, I have to turn it back on manually. Am I doing this correctly?

    Comment


      #17
      Originally posted by JRagsdale View Post
      I want to flatten at 4:09PM EST so I went to tools-options-Misc and set it to flatten all at 4:09 PM. If i then leave "exit on close" unchecked, will my flatten trades still happen? I'm finding that my strategy also gets disabled which I don't want.

      I'm trying to exit before the close (my broker requires I be flat no later than 4:10PM to maintain day margins, but I want the strategy to continue to be enabled. Otherwise, I have to turn it back on manually. Am I doing this correctly?
      If you want the strategy to keep running, just use ExitLong() and ExitShort() at the time that you want to go flat.

      Comment


        #18
        JRagsdale,
        Flatten all will close ALL positions and disable the strategy according to the time defined under Tools > Options.

        ExitOnClose will only close the strategy position, but the strategy should remain running. It exits according to the time defined in the session template.
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        666 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        376 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        110 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        575 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        580 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X