Distance
-
How to get distance pips between candle ID 0 close value and candle ID 1 open value.
Please explane. -
@fxkomin Something like that?

-
Be aware that candle ID 0 close value can be caught in just one single tick. You lose it and there is data to be inserted into a variable. I recommend you to ask for candle ID 1 close vale and candle ID 2 open value. That way you can have the correct value no matter how many pips have passed.
-
@l-andorrà I was thinking of it, but candle open sounded very unlikely to me to happen in 1 tick
