Skip to main content
← Back to A Definitions

Adaptive moving average

What Is Adaptive Moving Average?

The adaptive moving average (AMA) is a technical analysis indicator that adjusts its responsiveness to price action based on market volatility. Unlike traditional moving averages that use a fixed smoothing period, the adaptive moving average, most notably Kaufman's Adaptive Moving Average (KAMA), dynamically alters its sensitivity. This adaptability allows it to respond more quickly to significant market trends while remaining stable during periods of low volatility or market noise. It aims to filter out insignificant price movements, providing a clearer picture of the underlying trend and reducing the occurrence of false trading signals. This makes the adaptive moving average a key tool within the broader field of technical analysis.

History and Origin

The concept of an adaptive moving average was pioneered by American quantitative financial theorist Perry J. Kaufman. While his work on the technique began as early as 1972, Kaufman officially introduced his adaptive moving average, now widely known as Kaufman's Adaptive Moving Average (KAMA), to the public in his 1995 book, "Smarter Trading."17, 18, 19 He later elaborated on it in his 1998 work, "Trading Systems and Methods."14, 15, 16 Kaufman's innovation was driven by the limitations of conventional moving average indicators, which either lagged significantly in trending markets or produced numerous whipsaws in choppy, sideways markets. His goal was to create an indicator that could dynamically adjust to changing market conditions, offering a more reliable tool for trend-following strategies.

Key Takeaways

  • The adaptive moving average (AMA), particularly Kaufman's Adaptive Moving Average (KAMA), is a technical indicator that adjusts its sensitivity to price action based on prevailing market volatility.
  • It aims to reduce lag in trending markets and filter out "market noise" during periods of low volatility, offering clearer trading signals.
  • KAMA calculates an Efficiency Ratio to determine the strength of the trend, which then influences its smoothing constant.
  • When a strong trend is present, the adaptive moving average becomes more responsive, closely following price. In a choppy or ranging market, it becomes less responsive, providing a smoother line.
  • While offering advantages over traditional moving averages, KAMA can still be subject to false signals in extremely volatile or erratic market conditions.

Formula and Calculation

The calculation of Kaufman's Adaptive Moving Average (KAMA) involves several steps, utilizing an Efficiency Ratio (ER) and a Smoothing constant. The ER measures the "efficiency" of price movement over a specified period, comparing directional movement to total price movement.

The standard settings recommended by Perry Kaufman are:

  • 10 periods for the Efficiency Ratio (ER).
  • 2 periods for the fastest exponential moving average (EMA) smoothing constant.
  • 30 periods for the slowest EMA smoothing constant.12, 13

The formulas are as follows:

  1. Efficiency Ratio (ER):

    ER=CloseCloseN periods agoi=1NCloseiClosei1ER = \frac{\left| \text{Close} - \text{Close}_{\text{N periods ago}} \right|}{\sum_{i=1}^{N} \left| \text{Close}_i - \text{Close}_{i-1} \right|}

    Where:

    • Close is the current closing price.
    • Close_N periods ago is the closing price N periods ago (typically 10).
    • The denominator is the sum of the absolute daily price changes over the N periods.
  2. Smoothing Constant (SC):

    SC=[ER×(Fastest SCSlowest SC)+Slowest SC]2SC = [ER \times (\text{Fastest SC} - \text{Slowest SC}) + \text{Slowest SC}]^2

    Where:

    • Fastest SC is the smoothing constant for a 2-period EMA, calculated as ((2 / (2 + 1)) = 0.6667).
    • Slowest SC is the smoothing constant for a 30-period EMA, calculated as ((2 / (30 + 1)) = 0.0645).
  3. Kaufman's Adaptive Moving Average (KAMA):

    KAMAt=KAMAt1+SC×(ClosetKAMAt1)KAMA_t = KAMA_{t-1} + SC \times (\text{Close}_t - KAMA_{t-1})

    Where:

    • (KAMA_t) is the current KAMA value.
    • (KAMA_{t-1}) is the previous KAMA value.
    • Close_t is the current closing price.
    • The initial (KAMA) value for the first period can be set to the closing price of that period.

Interpreting the Adaptive Moving Average

The adaptive moving average, such as KAMA, provides insights into market trends by adjusting its speed based on market volatility. When the Efficiency Ratio is high (indicating a strong, directional trend), the KAMA will move quickly, staying close to the price data. This responsiveness helps traders identify and follow strong market trends more effectively. Conversely, when the Efficiency Ratio is low (indicating a choppy or sideways market), the KAMA will slow down, appearing flatter and farther from the current price. This reduced sensitivity helps filter out market noise and minimize false signals that often occur in non-trending markets. Traders often interpret the direction of the adaptive moving average to determine the overall trend: an upward-sloping KAMA suggests an uptrend, while a downward-sloping KAMA indicates a downtrend.

Hypothetical Example

Consider a hypothetical stock, "DiversiCo," trading over 10 periods. We want to calculate the Kaufman's Adaptive Moving Average (KAMA) for DiversiCo.

Data:

| Period | Close Price | Absolute Price Change (|\text{Close}i - \text{Close}{i-1}|) |
|:------:|:-----------:|:-----------------------------------------------------:|
| 1 | $100.00 | N/A |
| 2 | $101.50 | $1.50 |
| 3 | $103.00 | $1.50 |
| 4 | $104.00 | $1.00 |
| 5 | $102.50 | $1.50 |
| 6 | $103.50 | $1.00 |
| 7 | $105.00 | $1.50 |
| 8 | $106.00 | $1.00 |
| 9 | $107.50 | $1.50 |
| 10 | $109.00 | $1.50 |

Step 1: Calculate Directional Movement and Volatility (for the last 10 periods)

  • Directional Movement (Absolute difference between current close and 10 periods ago): (|$109.00 - $100.00| = $9.00)
  • Volatility (Sum of absolute price changes over 10 periods):
    ( $1.50 + $1.50 + $1.00 + $1.50 + $1.00 + $1.50 + $1.00 + $1.50 + $1.50 = $12.00 )

Step 2: Calculate Efficiency Ratio (ER)

  • (ER = \frac{\text{Directional Movement}}{\text{Volatility}} = \frac{$9.00}{$12.00} = 0.75)

Step 3: Calculate Smoothing Constant (SC)
Using Fastest SC ((2 / (2 + 1))2 \approx 0.4444) and Slowest SC ((2 / (30 + 1))2 \approx 0.0041) (note: the formulas often square the result of the smoothing constant, leading to these smaller values for Fastest SC and Slowest SC in the actual KAMA implementation, based on Kaufman's adjustments for responsiveness)10, 11. Let's use the typical (2/(N+1)) for the SC for EMA and then apply the square.

  • Fastest Smoothing Constant (for a 2-period EMA): (SC_{fast} = (2 / (2 + 1))2 = (2/3)2 \approx 0.4444)
  • Slowest Smoothing Constant (for a 30-period EMA): (SC_{slow} = (2 / (30 + 1))2 = (2/31)2 \approx 0.0041)
  • (SC = [ER \times (SC_{fast} - SC_{slow}) + SC_{slow}]^2)
    (SC = [0.75 \times (0.4444 - 0.0041) + 0.0041] = [0.75 \times 0.4403 + 0.0041] = [0.330225 + 0.0041] = 0.334325)

Step 4: Calculate KAMA
Let's assume the KAMA for the previous period ((KAMA_{t-1})) was $105.00. The current closing price is $109.00.

  • (KAMA_t = KAMA_{t-1} + SC \times (\text{Close}t - KAMA{t-1}))
  • (KAMA_t = $105.00 + 0.334325 \times ($109.00 - $105.00))
  • (KAMA_t = $105.00 + 0.334325 \times $4.00)
  • (KAMA_t = $105.00 + $1.3373)
  • (KAMA_t = $106.3373)

This example illustrates how the Efficiency Ratio influences the smoothing constant, making the adaptive moving average more responsive in this trending scenario.

Practical Applications

The adaptive moving average has several practical applications in financial markets and technical analysis. It is primarily used as a trend-following indicator to identify the direction and strength of market trends. Traders often look for price crossovers, where the price crosses above the adaptive moving average to signal a potential buying opportunity, or below it for a selling opportunity. Similarly, the direction of the KAMA itself can confirm the overall trend—an upward slope indicating an uptrend and a downward slope a downtrend.

8, 9Beyond simple crossovers, the adaptive moving average can be integrated into more complex trading systems. For instance, some traders use it in conjunction with other momentum indicators, such as the Relative Strength Index (RSI) or Moving Average Convergence Divergence (MACD), to confirm signals and enhance accuracy. I7t can also play a role in risk management by helping traders place stop-loss orders below the KAMA in a long position or above it in a short position to limit potential losses. T6he adaptive nature of KAMA allows it to be useful in varying market conditions, from strongly trending to more range-bound, by automatically adjusting its sensitivity. Backtesting has shown that adaptive moving averages can be profitably employed in both mean-reversion and trend-following strategies on stocks.

5## Limitations and Criticisms

Despite its adaptive nature, the adaptive moving average, specifically Kaufman's Adaptive Moving Average, is not without limitations. One of the primary criticisms is its inherent complexity compared to simpler moving averages, which can make it challenging for some traders to fully understand and implement without specialized software. W3, 4hile designed to reduce market noise and lag, KAMA can still exhibit a delayed response to sudden and sharp market reversals, potentially leading to missed opportunities or late entries/exits.

2Furthermore, in highly erratic or "choppy" market conditions, the adaptive moving average may still generate false trading signals, resulting in unnecessary trades or whipsaws. T1echnical analyst Robert Colby, after extensive testing, suggested that while the adaptive moving average has intellectual appeal, preliminary tests did not consistently show a significant practical advantage over more traditional trend-smoothing methods in all scenarios. Its performance can also vary significantly depending on the parameters chosen for its calculation, requiring traders to carefully optimize these settings for specific assets or timeframes. As with any technical indicator, the adaptive moving average should generally not be used in isolation but rather as part of a comprehensive trading strategy, combined with other analysis tools and risk management practices.

Adaptive Moving Average vs. Exponential Moving Average

The adaptive moving average (AMA), most commonly represented by Kaufman's Adaptive Moving Average (KAMA), differs significantly from the exponential moving average (EMA) primarily in its responsiveness to market conditions.

An EMA applies a constant smoothing constant (weighting) to recent prices, giving more emphasis to the most current data points than a simple moving average. However, this smoothing factor remains fixed regardless of whether the market is strongly trending or moving sideways. This fixed sensitivity means an EMA can suffer from significant lag in fast-moving, trending markets, or produce many false signals (whipsaws) in volatile, non-trending markets.

In contrast, the adaptive moving average dynamically adjusts its smoothing factor based on the observed volatility and directionality of the price action through its Efficiency Ratio. When the market is trending strongly, KAMA becomes more sensitive, closely following price to reduce lag. When the market is quiet or choppy, it becomes less sensitive, smoothing out price fluctuations more aggressively to filter out market noise. This adaptive nature is the key differentiator, allowing the AMA to attempt to optimize responsiveness across various market environments, whereas the EMA maintains a consistent, pre-defined level of responsiveness.

FAQs

How does an adaptive moving average account for market volatility?

An adaptive moving average, such as Kaufman's Adaptive Moving Average (KAMA), incorporates volatility by calculating an Efficiency Ratio. This ratio compares the net price change over a period to the sum of the absolute price changes over the same period. A high Efficiency Ratio indicates a strong, directional trend and low volatility relative to the trend, prompting KAMA to be more responsive. A low Efficiency Ratio suggests a choppy, less directional market, leading KAMA to smooth prices more aggressively and be less responsive to reduce market noise.

Can the adaptive moving average be used for all types of securities?

The adaptive moving average is a versatile technical analysis tool and can theoretically be applied to various financial securities, including stocks, commodities, and currencies. Its ability to adapt to different market conditions makes it suitable for diverse assets. However, its effectiveness can vary depending on the specific characteristics of the security and the market environment. Traders should optimize its parameters for each asset and always use it in conjunction with other analytical methods.

Is the adaptive moving average a leading or lagging indicator?

Like most moving average indicators, the adaptive moving average is inherently a lagging indicator. It uses historical price data to generate its values, meaning it reflects past price movements rather than predicting future ones. However, its adaptive nature aims to minimize this lag compared to traditional fixed-period moving averages, particularly during strong market trends, allowing for quicker identification of trend changes while still providing smoothing.