What is the Commodity Channel Index? Definition, Formula, and Example
The Commodity Channel Index (CCI) is an unbounded momentum oscillator that measures how far an asset's price has deviated from its statistical average, with readings above +100 marking overbought and below −100 marking oversold.
The Commodity Channel Index (CCI) is a momentum oscillator measuring how far an asset's price has deviated from its statistical average over a defined lookback window. Donald Lambert introduced it in 1980 in *Commodities* magazine to identify cyclical turns in commodity futures, but traders apply it across equities, FX, and crypto. CCI is unbounded — readings routinely run to ±300 or beyond — though the ±100 thresholds anchor the most common signal logic: above +100 is overbought, below −100 is oversold.
How the CCI Is Calculated
The standard 20-period CCI uses three inputs:
CCI = (Typical Price − SMA(TP, 20)) / (0.015 × Mean Absolute Deviation)
Where:
- Typical Price (TP) = (High + Low + Close) / 3
- SMA(TP, 20) = 20-period simple moving average of Typical Price
- Mean Absolute Deviation = mean of |TP − SMA(TP, 20)| across the same 20 periods
- 0.015 is Lambert's scaling constant, calibrated so roughly 70-80% of readings fall inside ±100
The lookback period is adjustable. A 14-period CCI fires faster signals; a 50-period CCI smooths to filter noise. Lambert's original work recommended dividing one-third of the dominant market cycle to set the lookback.
Worked Example: NVDA
Take NVIDIA NVDA over a 20-day window in early 2024. Assume the 20-day SMA of typical price is $720, the current bar's typical price is $790, and the mean absolute deviation across the window is $28.
CCI = ($790 − $720) / (0.015 × $28) = $70 / $0.42 = +166.7
A reading of +167 is firmly in overbought territory. But NVDA in early 2024 sustained CCI readings above +100 for weeks as the trend extended — a textbook reminder that overbought ≠ short signal in a momentum regime. The actionable mean-reversion signal came when CCI dropped back below +100 in March 2024, marking the start of a multi-week consolidation before the next leg up.
When Traders Use the CCI
Three primary use cases:
- Trend confirmation: sustained CCI > +100 confirms strong upside momentum; CCI < −100 confirms downside momentum. Trend traders enter aligned with the breach, not against it.
- Mean-reversion entries: when CCI exits an extreme zone and crosses back through ±100, contrarian traders fade the exhausted move.
- Divergence: price prints a new high while CCI fails to confirm — a classic exhaustion signal that often precedes intermediate-term tops and bottoms.
Multi-timeframe CCI stacking — using a higher-timeframe CCI above zero as a filter for lower-timeframe long entries — is common in systematic trend strategies.
Limitations and Misconceptions
CCI is unbounded, so an extreme reading does not imply imminent reversal. Strong trends sustain CCI above +200 for months — fading them is a fast way to lose money. The 0.015 scaling constant is empirical, not derived; it was fit to 1980-era commodity data and works less cleanly on highly volatile equities. CCI uses simple moving averages, so it lags actual price turns; EMA-based variants react faster but trade off stability. And because typical price ignores the open, CCI underweights gap behavior — relevant for single-name equities with frequent overnight moves.