Commodity Channel Index (CCI)¶
OVERVIEW¶
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.
| Reading | Interpretation |
|---|---|
| Above +100 | Overbought |
| Below −100 | Oversold |
| Between ±100 | Neutral / no signal |
CALCULATION¶
The standard 20-period CCI formula:
| Component | Definition |
|---|---|
| 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 | Lambert's scaling constant — calibrated so roughly 70-80% of readings fall inside ±100 |
Tip
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.
USE CASES¶
Three primary use cases:
| Use Case | Signal Logic |
|---|---|
| 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. |
Tip
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.
WORKED EXAMPLE¶
Using NVIDIA (NVDA) over a 20-day window in early 2024:
| Input | Value |
|---|---|
| 20-day SMA of Typical Price | $720 |
| Current bar Typical Price | $790 |
| Mean Absolute Deviation | $28 |
Note
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.
LIMITATIONS¶
| Limitation | Detail |
|---|---|
| Unbounded scale | Extreme readings do not imply imminent reversal. Strong trends can sustain CCI above +200 for months — fading them is a fast way to lose money. |
| Empirical scaling constant | The 0.015 constant is not derived; it was fit to 1980-era commodity data and works less cleanly on highly volatile equities. |
| Lag | CCI uses simple moving averages. EMA-based variants react faster but trade off stability. |
| Gap blindness | Typical price ignores the open, so CCI underweights gap behavior — relevant for single-name equities with frequent overnight moves. |
KEYBOARD SHORTCUTS¶
| Action | Shortcut |
|---|---|
| Add CCI to active chart | Shift + C |
| Open CCI settings panel | Ctrl + Shift + C |
| Toggle CCI visibility | Alt + H |
| Adjust lookback period up | ] |
| Adjust lookback period down | [ |