NEWAI Portfolio Risk Engine is live for stress testing and hedge planningExplore engine →
📊 TECHNICAL

Kaufman's Adaptive Moving Average (KAMA)

An adaptive average introduced by Perry Kaufman that automatically speeds up in trending markets and slows down in choppy, sideways markets using an efficiency ratio.

P
Perry Kaufman
Strategy Author
Updated 15 Jul 2026
95KUses
5500Likes
0Comments
📊 Open on Chart
Live Demo — Kaufman's Adaptive Moving Average (KAMA) applied to NIFTY 50 (illustrative)
PriceEMA(9)EMA(21)SMA(20)

What is KAMA?

Introduced by Perry J. Kaufman in Smarter Trading. Unlike a fixed-period MA, KAMA continuously adjusts its own smoothing constant based on how efficiently price is moving.

Formula

ER = |Close - Close[n ago]| / Sum(|Close_i - Close_i-1|, n)
SC = [ ER*(fastSC-slowSC) + slowSC ]^2
KAMA_today = KAMA_prev + SC*(Price - KAMA_prev)

Parameters

ParameterDefaultDescription
ER Period (n)10Lookback used to measure price efficiency
Fast Period2Length behind the fastest smoothing constant
Slow Period30Length behind the slowest smoothing constant
SourceClosePrice field used

Signal Interpretation

  • KAMA hugging price with a steep slope indicates a strong, efficient trend.
  • KAMA flattening signals a low-efficiency, range-bound market.
  • Price crossing KAMA is a valid entry/exit trigger with fewer false signals in choppy conditions.
  • A rising Efficiency Ratio can hint a trend is about to accelerate.

Tips & Best Practices

  • Well suited to instruments alternating between trending and ranging phases.
  • Use the flattening behavior as a regime filter.
  • Widening the ER period smooths adaptivity; narrowing reacts faster.