All indicators

Kaufman Adaptive Moving Average

Sep 18, 2016

Static chart image
SignalsMoving AveragesVolatility

The Kaufman Adaptive Moving Average indicator provides a volatility-adjusted trend-following line that accounts for market noise by dynamically changing its sensitivity based on price efficiency. This tool allows traders to identify the primary trend and potential turning points while filtering out minor price fluctuations that often trigger false signals in traditional moving averages.

Usage

The Usage section describes how the script can be used to navigate different market environments. The indicator reacts to price movements by calculating an Efficiency Ratio; when prices move consistently in one direction with low noise, the KAMA follows the price closely. When the market becomes choppy or volatile without a clear direction, the indicator slows down and follows at a greater distance.

Traders can use the Kaufman Adaptive Moving Average for:

  • Trend Identification: A rising KAMA suggests a bullish trend, while a falling KAMA suggests a bearish trend.
  • Trend Filtering: Due to its adaptive nature, a flat KAMA indicates a sideways or noisy market where trend-following strategies might underperform.
  • Crossover Signals: Price crossing above or below the KAMA can serve as a signal for potential trend reversals or entry/exit points.

Details

The KAMA calculation is based on the Efficiency Ratio (ER), which represents the ratio between the total price change over a period and the sum of absolute price changes (noise) during that period.

The formula integrates three main components:

  1. Efficiency Ratio (ER): Calculated as the absolute difference between the current price and the price n periods ago, divided by the sum of individual price changes over that period.
  2. Smoothing Constant (SC): This uses the ER to interpolate between the fastest and slowest smoothing constants provided in the settings.
  3. KAMA Formula: The current KAMA value is derived from the previous KAMA value plus the squared smoothing constant multiplied by the difference between the current price and the previous KAMA.

Squaring the smoothing constant ensures that the indicator becomes significantly slower during noisy periods, preventing the line from reacting too quickly to erratic price action.

Settings

  • Length: The lookback period used to calculate the Efficiency Ratio and the total noise (default is 10).
  • Fast End: The period for the fastest EMA smoothing constant used when the market is efficient (default is 4).
  • Slow End: The period for the slowest EMA smoothing constant used when the market is inefficient or noisy (default is 30).

FAQ

How does KAMA differ from a Simple Moving Average (SMA)? Unlike an SMA, which applies equal weight to all data points, the KAMA adjusts its sensitivity based on market volatility. It speeds up during strong trends and slows down during consolidation to reduce noise.

Can I use KAMA for short-term trading? Yes, by reducing the Length and Fast End parameters, the indicator becomes more responsive to short-term price movements, though this may increase the frequency of false signals in volatile markets.

How do I get access to the Kaufman Adaptive Moving Average? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.