measuring price bar?

 

Gday! I tried searching for this in the forum but no results... Lets say bar[2] is 60 pips from Low to High, how would you code an automatic way of making the EA calculate the volatility of that bar (in pips) and use that information to connect with different aspects of the EA?


Cheers,

mank

Reason: