Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exit at close / Cancel orders at close

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

    Exit at close / Cancel orders at close

    Hi,

    I'm running an automated strategy which has ExitAtClose = False set.

    But today I noticed that at the 5'o clock mark, my open positions were closed and remaining stoploss levels and profittarget orders were cancelled.

    How do i fix this? I want my order to remain open over the sessions and I dont want my pending orders to be cancelled.

    Is there a way to set the GTC for these orders?

    #2
    Hello siroki,

    Thank you for your post.

    The Time In Force is set in the Strategy menu when enabling the strategy on the chart or when right clicking and selecting New Strategy on the Strategies tab.

    It is more likely that you have set Time To Flatten and Flatten All under Tools > Options > Misc.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    331 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    210 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    196 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    286 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    242 views
    0 likes
    Last Post CarlTrading  
    Working...
    X