Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (dBc), 17,435 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Delaying Exit Order #488307
07/12/24 07:14
07/12/24 07:14
Joined: Apr 2023
Posts: 60
V
vicknick Offline OP
Junior Member
vicknick  Offline OP
Junior Member
V

Joined: Apr 2023
Posts: 60
Is there a way to delay an exit order? Some markets are not opened when my exit order is executed, which will cause Zorro to repeat exit order in several time interval. Therefore, I would like to delay the exit order.

However, so far I have only found OrderDelay(), which only applies for entry order.

Re: Delaying Exit Order [Re: vicknick] #488313
07/15/24 14:44
07/15/24 14:44
Joined: Apr 2008
Posts: 594
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 594
Austria
Why want you delay an exit order? You can freely determine any exit time in your TMF.

Re: Delaying Exit Order [Re: Petra] #488314
07/15/24 15:08
07/15/24 15:08
Joined: Apr 2023
Posts: 60
V
vicknick Offline OP
Junior Member
vicknick  Offline OP
Junior Member
V

Joined: Apr 2023
Posts: 60
Thanks for your reply Petra.

It's because if the market is closed, then Zorro will repeatedly attempt to exit the position at fixed interval, which is not a proper way to exit a position I guess. Also, doing so will flood my logs with the attempts of exiting orders.

Re: Delaying Exit Order [Re: vicknick] #488316
07/17/24 07:44
07/17/24 07:44
Joined: Apr 2008
Posts: 594
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 594
Austria
Check the current time in your TMF and wait with the exit until the time is inside market hours.

Re: Delaying Exit Order [Re: vicknick] #488317
07/17/24 11:38
07/17/24 11:38
Joined: Feb 2017
Posts: 1,806
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,806
Chicago
I would also double check your BarMode configuration, time zone configuration, market hours configuration, etc. The defaults could be incorrect for whatever you’re trading.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1