RSI Adaptive EMA for MACD - MetaTrader 5 Script - MT4/MT5 Resources

MACD (Moving Average Convergence Divergence), in its original form and definition, uses the difference between two EMAs (Exponential Moving Averages) to determine market trends. This is a good indicator, but it may have a flaw: it sometimes tends to lag more than we expect depending on market conditions (in any average-based indicator, we always expect some lag). This version is trying to solve the problem
calculate:
This version does not use the "regular" EMA, but the RSI Adaptive EMA (originally posted here: RSI Adaptive EMA ) in the calculation. Since the EMA used is adaptive, this makes the MACD also adaptive and can reduce the expected lag
Three shading (signaling) modes are available:
Depending on your trading style, use the mode that works best for you

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