X2MA - MetaTrader 5 Script | Trading Script Download - MT4/MT5 Resources - MetaTrader 5 Resources



Universal Moving Average with dual smoothing and each smoothing can be chosen from a dozen possible variations:
It should be noted that the Phase1 and Phase2 parameters have completely different meanings for different smoothing algorithms. For JMA, it is an external phase variable that varies from -100 to +100. For T3 it is the smoothing rate multiplied by 100 for better visualization; for VIDYA it is the CMO oscillator ; for AMA it is a slow EMA period. In other algorithms, these parameters do not affect smoothing. For AMA the fast EMA period is a fixed value, equal to 2 by default. For AMA, the ratio of raised powers is also equal to 2.

Attachment download
📎 colorx2ma.mq5 (9.17 KB)
📎 x2ma.mq5 (8.25 KB)
📎 smoothalgorithms.mqh (134.03 KB)
Source: MQL5 #465
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •