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 | Kaufman ama - with floating levels

Background :

Developed by Perry Kaufman, Kaufman's Adaptive Moving Average (KAMA) is a moving average designed to account for market noise or volatility. KAMA will closely follow prices when the price swings are relatively small and the noise is low. KAMA will adjust when the price swings widen and follow prices from a greater distance. This trend-following indicator can be used to identify the overall trend, time turning points and filter price movements.

Reasons for adding floating levels :

Using KAMA might be difficult at some times. If we try to use two instances of KAMA with different settings, it can be very tricky to set the instances correctly - due to its adaptive nature - since the two instances can, and will, produce exactly the same result at some periods. On the other hand, using the slope of the KAMA for signals can produce multiple signals in ranging periods that can lead to losses simply because there was too many (false) signals. Adding floating levels is attempting to address this issue

You have an option to chose between two color changing modes :

  • color change when outer levels are crossed
  • color change when middle level (a sort of a "zero line") is crossed

MetaTrader Experts, Indicators, Scripts and Libraries


22292