Gamestudio Links
Zorro Links
Newest Posts
Blind Zorro Window
by AndrewAMD. 09/11/26 15:30
Parent/child object
by 3run. 09/11/26 06:21
ZorroGPT
by TipmyPip. 09/09/26 14:35
[MED] Import from FBX (2010) missing!!!
by USER0328. 09/03/26 18:03
Purchase A8 full licence version
by ukgamer. 08/30/26 14:27
Retrieve optimize() variables order (edited)
by NorbertSz. 08/25/26 13:24
Max Number of Strategies in /Strategy folder
by Martin_HH. 08/17/26 07:54
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (USER0328), 2,611 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
speedx, liop, Bauer097, riggi89, shuhari
19233 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: 600
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 600
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: 600
Austria
Petra Offline
Support
Petra  Offline
Support

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

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