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


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

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.

Attachment download
📎 atr_adaptive_ema.mq5 (8.02 KB)
Source: MQL5 #21895
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •