When I use "Once per bar", it is executed in the middle of bar.
-
When I use "Once per bar", it is executed in the middle of bar.
Any way I can execute the blocks at the completed bar to get exact value of high low open close candle id 0 ? -
@arthitbe you must use candle ID1 because the candle ID0 does not exist because it is not yet completed
-
That means, the execution of blocks start at the beginning of the new bar. Am I correct?
-
I should have said that:
I tried Candle 1, with no effect.But I got another idea, which I thought would solve it.
I have a "once per bar" block set to current for the whole EA.
So I tried to set the whole EA to M15 and connect to a "once per bar" block set to current:

But the the EA doesn't do anything.
I tried to have seperate "once per bar"

The EA won't start.
-
Sorry wrong thread
-
@arthitbe yes sure, if in candle 1 your condition has occurred
-
@ambrogio OK, I will try forward test in demo what will happened.