Quick Answer

The Commodity Channel Index (CCI), developed by Donald Lambert in 1980, measures how far a security's typical price has deviated from its statistical average over a lookback period. It's expressed as a normalized value that commonly ranges well beyond +/-100 during strong trends, and despite its name is used across stocks, crypto, forex, and futures, not just commodities.

Direct Answer

The Commodity Channel Index is a momentum oscillator created by Donald Lambert and first published in 1980. It compares a security's current "typical price", the average of the high, low, and close for a period, against the average typical price over a chosen lookback window, then scales that difference by how much prices have typically deviated from the average over the same window.

Key Takeaways

  • CCI measures the distance between a security's typical price and its own moving average, scaled by average deviation.
  • Donald Lambert introduced CCI in 1980 for commodity futures, but it's now applied broadly across asset classes.
  • Readings above +100 are commonly read as overbought and below -100 as oversold, though the indicator can travel well beyond that band in a strong trend.
  • CCI is also used to spot divergence, when price makes a new high or low the indicator doesn't confirm.
  • A 20-period lookback is the most commonly cited default, though the calculation works over any period.
  • Like most oscillators, CCI works best combined with trend context rather than read in isolation.

What Is the Commodity Channel Index?

The Commodity Channel Index is a momentum oscillator created by Donald Lambert and first published in 1980. It compares a security's current "typical price", the average of the high, low, and close for a period, against the average typical price over a chosen lookback window, then scales that difference by how much prices have typically deviated from the average over the same window.

The result is a single number that expands and contracts with volatility: a small deviation from the average produces a value near zero, while a sharp move away from the average produces a large positive or negative reading. Unlike bounded oscillators such as RSI, which are constrained between 0 and 100, CCI is unbounded, it can move well beyond +/-100 for as long as a strong trend persists.

Although the name references commodities, CCI's underlying math has nothing commodity-specific in it. It's calculated purely from a security's own high, low, and close, which is why it's now commonly applied to individual stocks, indexes, forex pairs, and crypto assets.

How Is CCI Calculated?

CCI is built from three steps:

  1. Typical Price (TP) = (High + Low + Close) / 3, calculated for each period.
  2. Simple Moving Average of TP over the lookback period (commonly 20 periods).
  3. Mean Deviation = the average of the absolute differences between each period's TP and the SMA of TP over the same lookback window.

The final formula is:

CCI = (Typical Price − SMA of Typical Price) / (0.015 × Mean Deviation)

Lambert set the constant at 0.015 so that, by his original design, most readings fall inside a +/-100 band under typical conditions, though the exact proportion varies by security, period length, and market regime, and is not a fixed guarantee.

stock market chart trading screen Commodity Channel Index cci calculated
Photo by akbarnemati via Pixabay

Worked Example

Suppose a stock's most recent typical price is $102.40, its 20-period SMA of typical price is $100.00, and its 20-period mean deviation is $1.60. Plugging into the formula:

CCI = (102.40 − 100.00) / (0.015 × 1.60) = 2.40 / 0.024 = 100

A reading of exactly 100 sits right at the commonly cited overbought threshold, this hypothetical bar shows price sitting one full mean-deviation-scaled unit above its recent average, which is how CCI translates a raw price move into a standardized, comparable value.

How Traders Read the CCI

Overbought and oversold extremes

The most common use is reading +100 and -100 as rough overbought/oversold thresholds. A move above +100 suggests price has stretched meaningfully above its recent average; a move below -100 suggests the opposite. These are reference levels, not hard rules, during a strong trend, CCI can remain above +100 or below -100 for an extended stretch without reversing.

Divergence against price

Traders also watch for divergence: price prints a new high while CCI fails to reach a new high alongside it (or the mirror case on the downside). This is read as a sign that the momentum behind the move may be fading, even though price itself hasn't turned yet. Divergence is typically treated as a warning to watch more closely, not a standalone entry or exit signal.

Trend confirmation

Because CCI is unbounded, a sustained push beyond +100 (or -100) is sometimes read as confirmation that a trend has real strength behind it, rather than as an automatic reversal cue, the opposite of how a bounded oscillator like RSI is often used near its extremes.

Limitations and Common Mistakes

  • Treating +/-100 as a hard reversal signal, CCI is unbounded and can stay extended through an entire strong trend, so an extreme reading alone doesn't mean a turn is imminent.
  • Ignoring the surrounding trend, a CCI extreme means something different in a ranging market than in a trending one; context still does most of the interpretive work.
  • Trading divergence without confirmation, divergence can persist for a while before price actually turns, or may not resolve into a reversal at all.
  • Using a mismatched lookback, a very short period makes CCI noisy and prone to false extremes; a very long period smooths out signals traders may be trying to catch.
  • Using CCI in isolation, like most single oscillators, it's generally paired with price action, volume, or a second indicator rather than traded on its own.

Living With an Unbounded Oscillator

The uncomfortable fact about CCI is that the same reading supports two opposite conclusions. A push above +100 is read by one group of traders as stretched and due to mean-revert, and by another as confirmation that a trend has real force behind it. Neither reading is wrong in general. Which one applies depends on whether the market is ranging or trending, which means the regime call comes first and the CCI reading second, not the other way around.

Detailed financial trading screen with colorful charts and data representing market fluctuations.
Photo by Rômulo Queiroz via Pexels

The mistake this invites is skipping that order and treating +100 and -100 as thresholds with built-in meaning. They are not thresholds. Lambert chose the 0.015 constant so that most readings would fall inside that band under ordinary conditions, and the proportion that actually does varies by security, lookback and volatility regime. Because CCI is unbounded, it can travel far past either level and stay there for as long as the move lasts.

Two checks before using a reading. Confirm the lookback suits what you are trying to see, since a short period produces frequent false extremes and a long one smooths away the very moves you were watching for. And if you are reading divergence, confirm price actually turned before treating it as anything other than a reason to watch more closely.

CCI is calculated entirely from a security own high, low and close. The name is a historical artefact of its 1980 debut on commodity futures; nothing in the maths is commodity-specific, and equally nothing in the maths knows about volume, liquidity or the news that produced the deviation it is measuring.

CCI FAQs

Is the CCI only used for commodities?

No. Despite the name, the Commodity Channel Index was later adopted across stocks, indexes, forex, and crypto. Donald Lambert originally designed it for commodity futures in 1980, but the calculation applies to any security with high, low, and close prices.

What counts as overbought or oversold on the CCI?

Readings above +100 are commonly treated as overbought and readings below -100 as oversold, since Lambert designed the +/-100 band to contain most typical price action. There is no universal exchange-defined threshold, and CCI can move well beyond +/-100 during a strong trend without immediately reversing.

Can the CCI stay above +100 for a long time?

Yes. During a strong, sustained trend the CCI can remain above +100 or below -100 for an extended stretch. Reading an extreme value as an automatic reversal signal, without checking the surrounding trend, is a common mistake.

What is CCI divergence?

Divergence occurs when price makes a new high or low but the CCI does not confirm it with a corresponding new extreme. Traders watch this as a sign that the momentum behind a price move may be weakening, though divergence alone is not a standalone trade signal.

What is the standard lookback period for CCI?

20 periods is the most commonly cited default lookback for CCI on most charting platforms, though the indicator can be calculated over any period a trader chooses. A shorter period makes the CCI more sensitive to recent price changes; a longer period smooths it out.

Why does the CCI formula include a constant of 0.015?

It is a scaling factor Donald Lambert chose so that a large majority of readings would fall inside the range from minus one hundred to plus one hundred. Without it the output would be a raw ratio on an unfamiliar scale. The constant does no analytical work: it exists to make the numbers land where the interpretive convention expects them, which is why it is a convention rather than a derived value.

Why does CCI use mean deviation rather than standard deviation?

Mean absolute deviation averages the distances from the mean without squaring them, so a single extreme observation contributes in proportion to its size rather than to its square. That makes the denominator steadier after an outlier session than a standard deviation would be. It is a different measure of spread, not a simplification, and it is part of why CCI readings behave differently from a z-score of the same data.

Can CCI be used for divergence the way a bounded oscillator can?

Mechanically yes, and the comparison behaves differently because CCI has no ceiling. A bounded oscillator compresses near its limit, which manufactures divergences at extremes. CCI can keep making higher highs alongside price indefinitely, so a divergence on CCI reflects an actual slowing rather than a scale artefact. The tradeoff is that there is no reference level at which to start looking.

Does the CCI lookback change what counts as an extreme reading?

Yes, and substantially. A shorter lookback computes the deviation over fewer bars, so the denominator is smaller and readings travel further beyond plus or minus one hundred. A longer lookback produces a steadier series that reaches those levels less often. The conventional thresholds were framed against a particular period, so quoting them alongside a different setting is comparing two different scales.

References

Disclaimer

This page is for educational purposes only and does not constitute personalized investment advice. The Commodity Channel Index is one technical tool among many, does not guarantee future results, and should not be used as the sole basis for a trading decision. Past indicator behavior does not predict future price movement.