Home / Glossary / Commodity Channel Index (CCI)
Technical Analysis

Commodity Channel Index (CCI)

An unbounded oscillator that measures how far the current price deviates from its recent average, flagging overbought and oversold extremes and momentum shifts.

Share

Definition

The Commodity Channel Index (CCI) is a momentum oscillator developed by Donald Lambert in 1980, originally designed for commodity markets but now widely applied to equities, indices, and currencies. It measures the difference between the current "typical price" (the average of the high, low, and close) and its simple moving average over a lookback period, then normalises that difference by the mean absolute deviation of the typical price. The result is an oscillator with no fixed upper or lower boundary — values above +100 are traditionally considered overbought and values below −100 are considered oversold, but in strong trends the CCI can sustain readings well beyond these levels for extended periods. Indian traders use CCI on NSE equities, Nifty index futures, and MCX commodity contracts.

Why it matters

CCI is particularly valued on Indian markets because it responds well to cyclical commodity price moves — crude oil, gold, and base metals traded on MCX often exhibit the kind of mean-reverting cyclicality that Lambert originally intended the indicator to capture. On NSE equities, CCI helps swing traders identify when a stock has moved too far too fast relative to its recent average, setting up a potential pullback or reversal. For F&O participants, extreme CCI readings can alert option writers to an elevated risk environment: a CCI above +200 on a stock suggests an unusually extended move where a short put or uncovered write would carry heightened risk. Divergence between CCI and price — where price makes a new high but CCI does not — is a useful early warning of trend exhaustion, analogous to RSI divergence.

Formula

Typical Price (TP) = (High + Low + Close) ÷ 3

CCI = (TP − SMA of TP over N periods) ÷ (0.015 × Mean Deviation)

Where:
SMA of TP = simple moving average of the typical price over the chosen period (default: 20 periods)
Mean Deviation = average of the absolute differences between each period's TP and the SMA of TP
0.015 = Lambert's constant, chosen so that approximately 70–80% of CCI values fall within the ±100 range under normal market conditions

The constant ensures the ±100 thresholds carry statistical meaning: readings beyond these bands represent statistically unusual deviations from the mean.

Example

Suppose Gold futures on MCX are in a hypothetical uptrend near ₹72,000 per 10 grams. A trader applies a 20-period CCI on the daily chart and observes that after a surge over three sessions, the CCI has climbed to +180. This indicates gold is trading significantly above its 20-day average — an extended reading beyond the typical +100 overbought threshold. The trader decides not to initiate a fresh long position and instead waits for the CCI to pull back below +100 on a price consolidation, treating that as a lower-risk re-entry. Meanwhile, a CCI bearish divergence — price makes a new high at ₹72,500 but the CCI peaks at +160 rather than a new high — would further confirm momentum is fading. This is a hypothetical illustration only.

Combine CCI with options flow analysis

TradePulse's live data lets you check open interest buildup alongside CCI extremes to identify high-probability reversals on Nifty and stocks.

Related