Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (7th_zorro, Quad, VoroneTZ, 1 invisible), 623 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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