Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Trading Journey
by howardR. 04/24/24 20:04
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, howardR, EternallyCurious, 1 invisible), 770 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 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,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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