Gamestudio Links
Zorro Links
Newest Posts
IG plugin initial release
by sodiumchloride. 09/22/20 20:53
Using STL in Zorro strategies
by AndrewAMD. 09/22/20 17:01
Rubbish data from Yahoo
by DanielX. 09/22/20 14:37
assert
by Grat. 09/22/20 12:14
MT4 - use more Zorro script
by Grat. 09/22/20 06:49
Single advise model for portfolio
by jmlocatelli. 09/21/20 19:41
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
4 registered members (Dooley, kvm, AndrewAMD, jmlocatelli), 445 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
NewBorn, 3dvg, secretagentman, distribution, EditeY
18515 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
wrong Entry #481098
08/06/20 14:32
08/06/20 14:32
Joined: Jul 2020
Posts: 11
D
daan Offline OP
Newbie
daan  Offline OP
Newbie
D

Joined: Jul 2020
Posts: 11
Hey. this code below
#
describe those two candles that I draw blue circle around them.
[Linked Image]
I want to these two candles happen, and then I enter a long at the open of the next bar (red dot).
How can I do that?
// I managed to open a position at the next bar by adding 1 to those [numbers] but then It will open the position at the close of the bar (because it will calculate it after the bar closed) and not the open of the bar.

any idea?
thanks.

Re: wrong Entry [Re: daan] #481103
08/06/20 16:28
08/06/20 16:28
Joined: Jul 2000
Posts: 27,343
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,343
Frankfurt
With EUR/USD there is not really a difference between the current close and the next open. For other assets, use Fill = 3 for entering at the next open.

Re: wrong Entry [Re: jcl] #481108
08/06/20 19:52
08/06/20 19:52
Joined: Jul 2020
Posts: 11
D
daan Offline OP
Newbie
daan  Offline OP
Newbie
D

Joined: Jul 2020
Posts: 11
Originally Posted by jcl
With EUR/USD there is not really a difference between the current close and the next open. For other assets, use Fill = 3 for entering at the next open.

thanks for the reply.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1