Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | KAMA

The Kaufman Adaptive Moving Average is a version of the adaptive moving average based on the exponentially smoothed moving average combined with the original methods of detecting and applying volatility as a dynamically changing smoothing constant.

Indicator named Adaptive Moving Average was developed by Perry J. Kaufman and primarily presented in his book titled Smarter Trading: Improving Performance in Changing Markets in 1995.

The indicator has two input parameters:

  • Period - calculation period;
  • Applied price - price used for calculations.

Calculations:

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  

MetaTrader Experts, Indicators, Scripts and Libraries

20502

Best MetaTrader Indicators + Profitable Expert Advisors