Oscillator
Intermediate5 min2026-05-14Open

CCI (Commodity Channel Index)

An oscillator that measures how far the current price has strayed from its recent statistical mean. Built for commodity cycles, now used across every market.

oscillatorCCICommodity Channel Indexdivergencedeviation

Overview

The CCI (Commodity Channel Index) was published by Donald Lambert in 1980. Originally designed to capture the cyclical rhythms of commodity markets, it now appears on equities, currencies, and indices alike.

CCI quantifies how far the current typical price has drifted from its average over a recent window. Where RSI and Stochastic are pinned to a 0–100 scale, CCI has no fixed ceiling or floor. A reading beyond ±100 signals that the market has stepped outside its statistically usual range — that price is, in some meaningful sense, no longer behaving like itself.

Calculation

Formula

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

CCI = (TP − n-period SMA of TP) ÷ (0.015 × n-period mean deviation)

Mean Deviation = average of |TP − SMA| over n periods Standard parameter: n = 20

  • The numerator measures how far the current typical price has wandered from its recent centre.
  • The denominator uses mean deviation — the average size of those wanderings — not standard deviation. The distinction matters.
  • Lambert's constant 0.015 was chosen empirically so that roughly 70–80% of CCI readings fall between ±100.

In other words, ±100 is not an absolute "overheated" threshold. It is the statistical line that says: the market has stepped outside its usual range.

How to read it

How to Read

OANDA:USDJPY

CCI with the ±100 boundary as the entry point to abnormal-deviation territory
±100 is not a reversal forecast — it is the statistical line where price has stepped outside its usual range. Follow the break in a trend; fade it in a range.View OANDA:USDJPY live →

Basic interpretation around ±100

  • CCI above +100 → unusual upward deviation. Trend-followers add or hold longs; contrarians watch for exhaustion
  • CCI below −100 → unusual downward deviation. Trend-followers stay short; contrarians watch for a bounce
  • CCI at 0 → price sits at its recent mean — a neutral state

Two opposite readings of the same line

What makes CCI peculiar is that the same threshold supports opposing interpretations, depending on regime.

ApproachCross above +100Cross below −100
Trend-followingStart of a strong move, buyStart of a strong decline, sell
ContrarianOverheated, look to fadeCapitulation, look to buy the dip

Lambert himself favoured the trend-following reading — treating ±100 as the moment an unusual move begins. The contrarian reading came later, through practice.

Divergence

If price prints a higher high while CCI prints a lower high (bearish divergence), or price prints a lower low while CCI prints a higher low (bullish divergence), the same logic that applies to RSI applies here.

Period guide

PeriodCharacter
14Short-term; noisy
20Lambert's standard; well balanced
50Longer-term; fewer signals, higher conviction

Market psychology

Caveats

Related Studies

CCI (Commodity Channel Index) · Chart Psychology Lab