Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

VolatilityMA - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

VolatilityMA - indicator for MetaTrader 5

This indicator represents a moving average that resets its calculation period when the bar closes and the current standard deviation exceeds the previous standard deviation by two or more.

It is useful for detecting trade direction.

There are three tunable parameters:

VolMA = SMA(price, length)

price = price before application = price before application

if Abs(sDevNow) > barrier length=1 Otherwise length = previous length + 1

sDevNow = RAW / price * sDev sDev = SQRT(VAR / period)

VAR = POW(RAW[period] + RawAVG

RAW = (price - previous price) / price RawAVG = SMA(RAW, period)

VolatilityMA - indicator for MetaTrader 5


Attachment download

📎 volatilityma.mq5 (11.23 KB)

Source: MQL5 #20994

Verification code Refresh