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 trilliantrader, 04-18-2024, 08:16 AM
    4 responses
    18 views
    0 likes
    Last Post trilliantrader  
    Started by mgco4you, Today, 09:46 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by wzgy0920, Today, 09:53 PM
    0 responses
    9 views
    0 likes
    Last Post wzgy0920  
    Started by Rapine Heihei, Today, 08:19 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Rapine Heihei, Today, 08:25 PM
    0 responses
    10 views
    0 likes
    Last Post Rapine Heihei  
    Working...
    X