Volatility

 

 Dear sirs,

   Do you know how to calculate the volatility of any instrument?

 

I found one in MT4 (you can use it as an example) -

----------------

Volatility.mq4 - indicator for MetaTrader 4

A simple indicator that calculates the volatility of a certain currency pair (or of another security available in the terminal). Volatility is calculated in points for High and Low prices (not for Open or Close ones).

Volatility.mq4
Volatility.mq4
  • www.mql5.com
A simple indicator that calculates the volatility of a certain currency pair (or of another security available in the terminal). Volatility is calculated in points for High and Low prices (not for Open or Close ones). 2) important levels. For example, it is sometimes useful to set the pair volatility level, below which it is not recommended to...
 

The other one -

----------------

Historical Volatility - High/Low - indicator for MetaTrader 5 

Historical Volatility (HV) is a statistical measure of the dispersion of returns for a given security or market index over a given period of time. Generally, this measure is calculated by determining the average deviation from the average price of a financial instrument in the given time period. Using standard deviation is the most common, but not the only, way to calculate Historical Volatility.

and more here.
Historical Volatility - High/Low
Historical Volatility - High/Low
  • www.mql5.com
Historical Volatility (HV) is a statistical measure of the dispersion of returns for a given security or market index over a given period of time. Generally, this measure is calculated by determining the average deviation from the average price of a financial instrument in the given time period. Using standard deviation is the most common, but...
 
Thanks :)
 
Marius Ovidiu Sunzuiana:
Thanks :)

you can also use simply ATR

Reason: