Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
Hedge on FXCM, 4 or 5?
by qin. 02/11/26 14:12
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
print a "still alive" log
by qin. 02/10/26 12:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, Quad), 7,695 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 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 Offline OP
Junior Member
vicknick  Offline 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: 599
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 599
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 Offline OP
Junior Member
vicknick  Offline 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: 599
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 599
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