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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    68 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    62 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X