On this page
Commodity Channel Index: Price Deviation Measured
The Commodity Channel Index measures how far the current typical price has strayed from its recent average, scaled so most readings sit between -100 and +100. It flags when price is pulling unusually far from equilibrium in either direction.
Key Takeaways
- CCI uses the typical price, (high + low + close) / 3, scaled by the mean absolute deviation over 20 periods, so extremes adjust with recent volatility.
- Lambert's original framework used a move above +100 as a long entry signal for a new up-cycle, not as an overbought reversal signal.
- Unlike RSI, CCI is unbounded, extreme readings of +300 or -300 occur in real markets and should not trigger reflexive reversal bets.
- CCI produces many false signals in sideways markets; combining it with a moving average trend filter reduces noise substantially.
Key Takeaways
- CCI uses the typical price, (high + low + close) / 3, scaled by the mean absolute deviation over 20 periods, so extremes adjust with recent volatility.
- Lambert's original framework used a move above +100 as a long entry signal for a new up-cycle, not as an overbought reversal signal.
- Unlike RSI, CCI is unbounded, extreme readings of +300 or -300 occur in real markets and should not trigger reflexive reversal bets.
- CCI produces many false signals in sideways markets; combining it with a moving average trend filter reduces noise substantially.
What It Is
CCI was introduced by Donald Lambert in the October 1980 issue of Commodities magazine, now called Futures. Lambert built it for commodity markets that he believed moved in cycles, but the indicator is used today on stocks, currencies, and crypto just as often.
The default lookback is 20 periods. Readings above +100 are traditionally called strong upside momentum, and readings below -100 are called strong downside momentum. The scale is technically unbounded: extreme moves can push CCI well past plus or minus 200.
The Intuition
Most oscillators compare closing price to some recent benchmark. CCI does the same, but with two refinements that make it distinctive.
First, it uses the typical price, which is the average of the high, low, and close, not just the close. That makes it more reflective of the day's actual trading range than a close-only indicator.
Second, it divides the deviation by the mean absolute deviation of the typical price, which is a measure of how volatile recent prices have been. The result is a deviation measured in "typical volatility units." A reading of +100 roughly means the typical price is the equivalent of 1 scaled mean deviation above its average.
Lambert picked his scaling constant so that most readings would land inside plus or minus 100. Anything outside that band is, by design, an unusual distance from the mean.
How It Works
The formula has three pieces:
CCI = (Typical Price - SMA of Typical Price) / (0.015 * Mean Deviation)
Where:
Typical Price = (High + Low + Close) / 3
SMA = simple moving average of Typical Price over N periods
Mean Deviation = average of |Typical Price - SMA| over N periods
N = lookback (default 20)
0.015 = Lambert's scaling constant
Lambert set the 0.015 constant specifically so that around 70 to 80 percent of CCI values on typical commodity data fell between -100 and +100. That number is not a mathematical law. It is a calibration choice Lambert made so that the plus or minus 100 band would be a useful cut-off, rather than a line that price crossed all the time.
Typical readings:
- Between -100 and +100: normal, unremarkable trading.
- Above +100: price has moved unusually far to the upside.
- Below -100: price has moved unusually far to the downside.
Worked Example
Suppose a stock has the following over the last 20 days:
- Today's Typical Price: 104
- 20-period SMA of Typical Price: 100
- 20-period Mean Absolute Deviation: 2
Plug in:
CCI = (104 - 100) / (0.015 * 2)
= 4 / 0.03
= 133.3
CCI of 133 is above +100, so the typical price is unusually stretched versus its 20-day average given how volatile the stock has been. It does not mean the stock is about to fall. Lambert's original framework actually used the move above +100 as a long entry signal, on the theory that a fresh thrust outside the band marked the start of a cyclical push, not the end.
Common Mistakes
-
Assuming a move above +100 means sell and below -100 means buy. This is the most widespread misreading of CCI, and it is the opposite of Lambert's original usage. Lambert treated a push above +100 as a sign that a strong up-cycle had started. Practitioners since have used it both ways. Whichever side you take, do not treat plus or minus 100 as a mechanical reversal line.
-
Forgetting the scale is unbounded. Unlike RSI, CCI has no ceiling or floor. Values of +300 or -300 happen in real markets. Setting fixed overbought and oversold lines and expecting them to hold works poorly on volatile instruments.
-
Ignoring the typical price. CCI uses (H+L+C)/3, not close alone. On days with wide ranges and narrow closing prints, the typical price can diverge noticeably from the close. Readers who reason about CCI as if it were a close-only indicator sometimes miss why it reacted to a given bar.
-
Using the default 20 on every timeframe. Twenty periods made sense for the daily commodity bars Lambert worked with. Short-term intraday traders often shorten the lookback to 10 or 14. Swing traders sometimes stretch it to 30 or more. The lookback sets how many bars of context the indicator considers, which should match how long you intend to hold.
-
Using CCI alone to trade choppy markets. In sideways action, CCI will whip above +100 and below -100 repeatedly without any follow-through. Combining CCI with a trend filter like a long-period moving average, or with volume confirmation, dramatically reduces that noise.
Frequently Asked Questions
Q: What is the commodity channel index in simple terms? CCI measures how far today's typical price has moved from its 20-period average, adjusted for how volatile prices have been. Most readings fall between -100 and +100; anything outside that band is considered an unusual deviation from the recent norm.
Q: How does the commodity channel index affect investment decisions? A CCI move above +100 from a neutral level can signal the start of a strong up-cycle, the original application Lambert intended. A move below -100 can mark the start of a down-cycle. Investors use it to confirm that a new directional move has genuine momentum behind it.
Q: What is a real-world example of CCI in use? A stock has been ranging for six weeks with CCI oscillating between -80 and +80. After an earnings beat, CCI pushes through +150 on rising volume. That push beyond the typical band, consistent with Lambert's cycle-entry framework, suggests the range has resolved to the upside.
Q: How can investors use the commodity channel index practically? Use it to confirm breakouts rather than as a standalone signal. A simple rule: only act when CCI breaks beyond the -100 or +100 band and a trend filter such as a rising 50-day SMA agrees with the direction, this eliminates most whipsaw signals from choppy markets.
Q: How is the commodity channel index different from RSI? RSI compares average gains to average losses on a fixed 0–100 scale. CCI measures how far the typical price has deviated from its average, adjusted by volatility, on an unbounded scale. CCI is more sensitive to range breaks; RSI is better suited to measuring sustained momentum strength.
Sources
- StockCharts ChartSchool. "Commodity Channel Index (CCI)." https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-indicators/commodity-channel-index-cci
- TradingView. "Commodity Channel Index (CCI)." https://www.tradingview.com/support/solutions/43000502001-commodity-channel-index-cci/
- Lambert, D.R. (1980). "Commodity Channel Index: Tool for Trading Cyclic Trends." Commodities magazine, October 1980. https://store.traders.com/-v01-c05-comm-pdf.html
- FTMO Academy. "CCI: Technical Indicator." https://academy.ftmo.com/lesson/cci-technical-indicator/
Disclaimer
This article is educational content only and is not financial advice. Nothing here is a recommendation to buy, sell, or hold any security. Consult a licensed advisor before making investment decisions.