Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Simple volatility

In a lot of cases we need some way to measure the volatility

Among the other ways, here is one simple way : it is a ratio of (sum of price differences) to average of (sum of price differences). As simple as it gets, it seems to be detecting the market volatility in acceptable way. As a point of reference :

  • values above 1 are periods of increased volatility
  • values bellow 1 are periods of decreased volatility

As it can be seen it detects the volatility change OK even in a "thin" market (when the average difference is small and when even a small change is and should be treated as significant volatility change)

MetaTrader Experts, Indicators, Scripts and Libraries

22813