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 | Adaptive Moving Average - AMA - with filter, histogram version

Theory :

In "Adaptive Moving Averages" in this issue, author Vitali Apirine introduces an adaptive moving average (AMA) technique based on Perry Kaufman's KAMA (Kaufman adaptive moving average). His update to the original KAMA allows the new method to account for the location of the close relative to the high–low range. The author describes a trading system that combines the AMA and KAMA, suggesting that the combination may reduce the number of whipsaws relative to using either moving average by itself.

The indicator is coded exactly as it is described by Vitali Apirine (including the usage of high and low prices for adapting). But in order to make it easier to use it in a "classical way" (ie: using some sorts of signals that we can get from it), this version has additional filter to make the slope change color changes less frequent and thus to make false signals appear in fewer occasions. That is then coded into a histogram version of the indicator that shows the state of the estimated trend

Usage :

You can use the color change of this indicator as signal

MetaTrader Experts, Indicators, Scripts and Libraries

23757