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

The Kaufman Adaptive Moving Average is a version of the Adaptive Moving Average that is based on the exponentially smoothed moving average and incorporates the original method of detecting volatility and applying it as a dynamically changing smoothing constant.
This indicator has two input parameters:
KAMA[i] = KAMA[i-1] + sc * (price[i] - KAMA[i-1])
Where:
sc = (er * 0.6015 + 0.0645) * (er * 0.6015 + 0.0645), er = Abs(Price[i] - Price[i-Period+1]) / Sum1, and Sum1 = Sum(Abs(Price[i] - Price[i-1])) from (i-Period+1) to i

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