|
2 registered members (Quad, VoroneTZ),
15,518
guests, and 3
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Delay in script execution
[Re: MINER]
#475049
11/20/18 12:45
11/20/18 12:45
|
Joined: Feb 2017
Posts: 1,835 Chicago
AndrewAMD
Serious User
|
Serious User
Joined: Feb 2017
Posts: 1,835
Chicago
|
Do you mean **before** you have a fully-formed bar? If so, you can use tick() instead of run(). You will need to calculate the unfinished indicator outputs. I should note: MQL's first fully formed bar is bar [1], whereas Zorro's first fully formed bar is bar [0]. Zorro delays to enter or close trade with several hours Just to confirm, what bar period are you using?
|
|
|
Re: Delay in script execution
[Re: AndrewAMD]
#475054
11/20/18 16:20
11/20/18 16:20
|
Joined: Feb 2017
Posts: 369
Dalla
Senior Member
|
Senior Member
Joined: Feb 2017
Posts: 369
|
|
|
|
|