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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        49 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        15 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        21 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        23 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X