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

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

author EAcpu | 2 reads | 0 comments |

KAMA - indicator for MetaTrader 5

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 

KAMA - indicator for MetaTrader 5


Attachment download

📎 kama.mq5 (8.6 KB)

Source: MQL5 #20502

Verification code Refresh