@new1 No, your system will not work as expected. In my image:
-
The formula block on top is storing the value (in pips) of candle ID 1 within the variable called 'previous_bar_pips'. As new candles are created, that value will change.
-
The formula block below is adding that value to the overall value (in pips) of all previous candles. This means the value you are looking for is this one called 'overall_pips'.
Your system is adding values from different candles. That way you will never get the distance in pips from high to low in any candle.


