The Commodity Channel Index (CCI) was introduced by Donald Lambert in 1980 to spot cyclical turns in commodities, but today it is applied to shares, currencies and indices too.
CCI measures how far the current typical price is from its moving average, relative to the average deviation. Unlike RSI or the stochastic oscillator, it has no upper or lower limit. Lambert scaled it so that most values fall between −100 and +100.
- Price (sample data)
- CCI (20)
Calculated on an illustrative price series, not real market data. Dashed lines mark −100, 0 and +100.
How it is calculated
CCI = (TP − SMAn(TP)) ÷ (0.015 × MD)
- TP
- typical price = (high + low + close) ÷ 3
- SMAn
- simple moving average of the typical price over n periods (usually 20)
- MD
- mean absolute deviation of the typical price from that average
- 0.015
- Lambert’s constant, chosen so most readings fall between −100 and +100
How traders read it
- Strong moves: readings above +100 suggest unusually strong upward momentum; below −100, strong downward momentum. Some traders treat these as trend signals, others as stretched conditions.
- Zero line: CCI above zero means price is above its average.
- Divergence: as with other oscillators, divergences between CCI and price can warn of fading momentum.
Common settings
- 20 periods is the most common setting; Lambert’s original work used shorter cycles.
- Some traders use ±200 to look for more extreme readings.
Limitations
Because CCI is unbounded, there is no fixed “overbought” level, and extreme readings can keep extending. The same reading can mean a trend breakout to one trader and an overstretched market to another, so clear rules are essential.
Works well with
A trend filter such as ADX to decide whether to read ±100 as a breakout or as stretched, and volume for confirmation.
Worked example
Worked example
Today’s typical price, (high + low + close) ÷ 3, is 102. The 20-day average of typical prices is 100, and the mean deviation of typical prices from that average is 1.5.
CCI = (102 − 100) ÷ (0.015 × 1.5) = 2 ÷ 0.0225 ≈ 88.9. The price is above its average by a little less than the amount the constant was chosen to mark as unusual.
Lambert chose the constant 0.015 so that most readings would fall between −100 and +100. A reading above +100 means the price is unusually far above its average relative to how much it normally varies.
Reading the levels
CCI has no fixed upper or lower limit, unlike RSI. Readings beyond ±100 are common in trends, and readings beyond ±200 are less common. Some traders treat a move above +100 as a sign that a new upward move has started; others treat extreme readings as stretched conditions that may fade. Which reading is useful depends on whether the market is trending or ranging.
Divergences, where the price makes a new high but CCI does not, are watched in the same way as with other oscillators: as a sign that momentum is weakening, not as a signal on their own.
Common mistakes
- Treating ±100 as hard overbought and oversold lines.
- Comparing readings across assets with very different volatility.
- Forgetting that CCI uses mean deviation, not standard deviation, so it reacts differently to spikes than Bollinger-based tools.
Frequently asked questions
Is CCI only for commodities?
No. It was introduced for commodities, but it can be applied to any asset with price data, including shares, indices and currencies.
Related
More momentum oscillators
- Relative Strength Index (RSI)
- Stochastic Oscillator
- Williams %R
- Commodity Channel Index (CCI)
- Rate of Change (ROC)
Indicators describe what prices have done; none of them predicts what prices will do. Charts use an illustrative price series, not real market data. This page is education, not investment advice.