Skip to main content
Studies · Momentum

Commodity Channel Index (CCI)

commodityChannelIndex · Lambert's CCI — typical price in mean absolute deviations

Drawn in its own panelReads high, low, closeGuide lines at -100, 100
Hover the chart to read values · practice data: a seeded random walk with no overnight gaps

What it measures

How far the typical price (high + low + close) ÷ 3 is from its moving average, measured in mean absolute deviations and scaled so that most readings fall between −100 and +100.

How traders use it

  • Breakouts: a move above +100 can mark the start of a strong uptrend, below −100 a downtrend.
  • Mean reversion: extreme readings (beyond ±200) are candidates to fade in a range.
  • Zero-line crossings and divergence.

Parameters

NameValueDefaultAllowedWhat it does
period20≥ 1
usual 10–50
Window for the moving average and the deviation.