I want to calculate the current candle's pip distance between open to High & open to Low
-
I want to calculate/store the current candle's pip distance between open to High & open to Low in two different variables & use them to open pending orders & stop loss. The pending orders & stop-loss will be modified throughout the candle period based on variables values. Could you please help me doing this? I tried my best but failed. Thanks in advance.
-
Yopu can try this for open to high:

You will need anothe onme for open - low to be stroed in a second variable.