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

ATR Adaptive EMA - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

ATR adaptive EMA - indicator for MetaTrader 5

ATR adaptive EMA - indicator for MetaTrader 5

There are many ways to make certain indicators adaptive rather than calculating fixed periods

A less well-known method is to use normalized ATR (Average True Range) to make the calculation adaptive. And since EMA (Exponential Moving Average) is a good candidate for adaptive (it allows fractional period calculations), here is the EMA calculation for adaptive EMA using ATR

ATR adaptive EMA - indicator for MetaTrader 5

PS: In order to compare the effect of adaptive EMA, here is a comparison of ATR adaptive EMA (colored line) and conventional EMA (grey line) using the same parameters. Obviously, during periods of high volatility, adaptiveness will be "faster", so that it achieves one of the usual goals of making any indicator adaptive: to react faster when needed and become "slower" when the market is also slow.

ATR adaptive EMA - indicator for MetaTrader 5


Attachment download

📎 atr_adaptive_ema.mq5 (8.02 KB)

Source: MQL5 #21895

Verification code Refresh