Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Grant, AndrewAMD, ozgur, Quad, TipmyPip), 29,980 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 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,809
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

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