Notice

Report a bug to support@oyticker.com to win a free 1 month Plus Subscription

From the Oyticker team
Indicators · Momentum

Commodity Channel Index (CCI)

The CCI measures how far the typical price is from its moving average, in units of the usual distance between the two (the mean deviation). Around zero, price is near its average; beyond +100 or −100 it is unusually far from it.

What it's for
  • Spot when price moves unusually far from its average.
  • Tell a trending phase (readings held beyond ±100) from a quiet one.
  • Compare the momentum of successive swings.
Pane
Its own pane, unbounded
Settings
Length, source
Default
20, typical price (hlc3)

Calculation

tp   = (high + low + close) / 3
CCI  = (tp − SMA(tp, n)) / (0.015 · mean absolute deviation of tp from that SMA)

Donald Lambert chose the 0.015 constant so that most readings fall between −100 and +100.

How to read it

  • Beyond +100 price is unusually far above its average: in a trend, that is what strength looks like, and it can last.
  • Back inside ±100 after a stay beyond it, the move has lost that unusual pace.
  • Around zero price is close to its average: there is no stretch to read.
CCI above +100 during an advance and back between −100 and +100 when prices move sideways
During the advance the CCI stays above +100 for many bars. Once prices move sideways it comes back between −100 and +100: the same level of price, but no longer far from its average.

Add it in Oyticker

  1. Click Indicators, choose CCI.
  2. In its row of the legend, click the Settings button to set its length and the price it reads.

Limits

  • Unbounded: there is no maximum, and extreme readings can be followed by more extreme ones.
  • It is sensitive to the length: a short one gives many excursions beyond ±100.
  • It measures distance from an average, which lags.

Charts in this guide use simulated prices generated for illustration; levels and outcomes shown are examples, not observations of a real market. For information only, not investment advice.