Gamestudio Links
Zorro Links
Newest Posts
long time to load data
by qin. 12/29/25 14:06
The new evaluation shell
by jcl. 12/29/25 09:56
about Zorro S (monthly)
by AndrewAMD. 12/29/25 03:24
Xor Memory Problem.
by TipmyPip. 12/26/25 19:14
ZorroFix. ini /data and /log path
by Martin_HH. 12/19/25 21:02
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (vicknick), 81,396 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Syndrela, HDRSEO, AOUNZA, digitalboy381, agasior
19190 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: 61
V
vicknick Online OP
Junior Member
vicknick  Online OP
Junior Member
V

Joined: Apr 2023
Posts: 61
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: 598
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 598
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: 61
V
vicknick Online OP
Junior Member
vicknick  Online OP
Junior Member
V

Joined: Apr 2023
Posts: 61
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: 598
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 598
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,811
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,811
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