Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
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
3 registered members (TipmyPip, AndrewAMD, dBc), 18,430 guests, and 6 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
Question about the behavior of pending orders #481632
10/11/20 09:01
10/11/20 09:01
Joined: Sep 2020
Posts: 22
Z
zzy Offline OP
Newbie
zzy  Offline OP
Newbie
Z

Joined: Sep 2020
Posts: 22
Suppose I enter a pending order in the current bar.
Then my questions is, in the next bar, the condition checking for the pending order will be done before the body of the script, or after?

Re: Question about the behavior of pending orders [Re: zzy] #481640
10/11/20 15:27
10/11/20 15:27
Joined: Mar 2019
Posts: 357
D
danatrader Offline
Senior Member
danatrader  Offline
Senior Member
D

Joined: Mar 2019
Posts: 357
The behaviour of pending orders could be covered better in the manual.
Zorro is not putting a pending order as we would expect it from manual trading.

I also do have a lot of questions regarding pending orders.
Important would be to know how the tool handles orders in general, specificly in a portfolio loop (sequential and waiting for confirmation, or just fire all orders within the loop, collect the confirmation after, and maybe if no trade open, fire again?)

Basically blocking vs. non-blocking design?

Last edited by danatrader; 10/11/20 15:31.
Re: Question about the behavior of pending orders [Re: zzy] #481646
10/12/20 11:26
10/12/20 11:26
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
>>in the next bar, the condition checking for the pending order will be done before the body of the script, or after?

Before. Limit checking follows the same behavior as TMFs.

Re: Question about the behavior of pending orders [Re: jcl] #481647
10/12/20 13:10
10/12/20 13:10
Joined: Sep 2020
Posts: 22
Z
zzy Offline OP
Newbie
zzy  Offline OP
Newbie
Z

Joined: Sep 2020
Posts: 22
Thanks a lot jcl for the information.

Re: Question about the behavior of pending orders [Re: danatrader] #481648
10/12/20 13:11
10/12/20 13:11
Joined: Sep 2020
Posts: 22
Z
zzy Offline OP
Newbie
zzy  Offline OP
Newbie
Z

Joined: Sep 2020
Posts: 22
Yes, full of "unknowns", and that is why it is exciting to explore :-)


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1