Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
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
1 registered members (dBc), 17,435 guests, and 5 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
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: 28,022
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,022
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