Kagels Trading
Topics

CCI Indicator: Formula, ±100 and ±200 Levels and a 33-Year Test

Contents
  1. CCI indicator in 30 seconds
  2. What is the Commodity Channel Index (CCI)?
  3. How to calculate the CCI
  4. The best CCI setting: 20 or 14 periods?
  5. Reading the CCI levels: ±100, ±200 and ±300
  6. Overbought or strong? Two readings of the CCI
  7. My test: the CCI rules on SPY, QQQ and GLD
  8. CCI divergence
  9. Combining the CCI with support and resistance
  10. A CCI strategy: the break as a filter, the pullback as the entry
  11. Advantages and disadvantages of the CCI
  12. My conclusion: the CCI as a signpost, not a trigger
  13. Frequently asked questions about the CCI indicator
  14. About the author

A CCI above +100 counts as overbought in almost every textbook. Donald Lambert, who invented the indicator, bought exactly there. That contradiction is the best way into the Commodity Channel Index. It measures how far price has moved away from its recent average, and what that means depends on whether the market is trending or going sideways.

This guide explains the formula with a worked example, the levels at ±100 and ±200, and two ways to read them. Then I put the common rules to the test on three US ETFs: SPY since 1993, QQQ since 1999 and GLD since 2004. One signal stood out in all three; the others did not. This article follows our editorial policy.

CCI indicator in 30 seconds

  • What it measures: how far the typical price is from its 20-day average, scaled by its normal deviation. There is no upper or lower limit.
  • Default 20: TradingView and StockCharts use 20 periods. Lambert’s constant of 0.015 is meant to put most readings between -100 and +100.
  • The 70 to 80 percent rule did not hold: in SPY only 54.8% of all daily readings since 1993 were between -100 and +100.
  • Two readings: above +100 means overbought to some traders and strength to others. Lambert treated it as a buy signal.
  • What my test showed: after a first close below -200, the ETFs were higher 20 sessions later in 68.2% of cases, against 60.9% for any day. The other signals were close to the base rate.

What is the Commodity Channel Index (CCI)?

The Commodity Channel Index is a momentum indicator that measures how far the typical price of a bar is from its moving average, relative to its normal deviation. A reading of 0 means price is exactly at its average. Positive readings mean price is above it, negative readings below. The further price moves away, the larger the reading.

Donald Lambert introduced the CCI in 1980 in the magazine Commodities, according to the ChartSchool of StockCharts and the TradingView indicator help. He was looking for cyclical turning points in commodity markets. Today the CCI is built into every common charting platform and runs on stocks, indices, currencies and crypto.

Unlike the RSI or the Stochastic, the CCI has no fixed range. The RSI and the Stochastic Oscillator run from 0 to 100. In SPY it reached +310 in September 1995 and -424 on August 24, 2015. That makes it more sensitive to extremes, and it is the reason the ±200 level gets its own section below.

How to calculate the CCI

The formula has three steps: the typical price, its average and its mean deviation. StockCharts and TradingView describe the same calculation:

  1. Typical price (TP) = (High + Low + Close) / 3
  2. Average: the simple moving average of the typical price over 20 periods
  3. Mean deviation: the average of the absolute distances between each of the last 20 typical prices and that average

CCI = (TP - SMA20 of TP) / (0.015 × mean deviation)

Here is the calculation for SPY on December 4, 2026. The high was 736.20, the low 725.67 and the close 728.08. That gives a typical price of 729.98. The 20-day average of the typical price was 734.34, and the mean deviation 12.06.

Step Value
Typical price (736.20 + 725.67 + 728.08) / 3 = 729.98
SMA20 of the typical price 734.34
Mean deviation 12.06
CCI (729.98 - 734.34) / (0.015 × 12.06) = -24.1

What does -24.1 say? SPY closed slightly below its recent average, well inside the normal range. Nothing extreme is happening. I calculate with unrounded values from Yahoo Finance; other data feeds can give slightly different numbers.

The constant 0.015 is Lambert’s choice, not a law. He picked it so that roughly 70 to 80 percent of readings would fall between -100 and +100, as StockCharts explains. The next sections show that this share is lower on today’s daily charts.

The best CCI setting: 20 or 14 periods?

TradingView and StockCharts both use 20 periods as the default. Some traders use 14, often by analogy with the RSI. A shorter period makes the indicator faster and more nervous, a longer one calmer.

Check the source setting, too. According to the TradingView help, the built-in CCI uses the close as its default source. Lambert’s formula and my test use the typical price, which TradingView calls hlc3. TradingView also offers a smoothing line on top of the CCI; Lawton Ho switches it off in his video, and the levels in this guide refer to the CCI itself.

The difference is smaller than many expect. I counted how often the SPY CCI stayed between -100 and +100 since 1993 with three settings: 56.9% of days with 14 periods, 54.8% with 20 and 52.1% with 40. Readings beyond ±200 were rare in all three, between 3.3% and 4.1% of days.

My recommendation: keep 20 unless you have a reason. The default makes your readings comparable with what other traders see. If you trade intraday, test a different period on your own market before you trust it.

Reading the CCI levels: ±100, ±200 and ±300

The levels are conventions, not natural limits. Lawton Ho of Verified Investing describes three of them in his video of December 5, 2026: at ±100 the overbought or oversold zone begins, from ±200 the move is extreme, and volatile single stocks also reach ±300.

Here is how often the three ETFs reached these levels. All numbers are shares of all daily readings from the first CCI value to December 4, 2026.

CCI(20), share of days SPY QQQ GLD
Between -100 and +100 54.8% 53.9% 58.1%
Beyond ±200 4.0% 3.8% 5.3%
Beyond ±300 0.2% 0.1% 0.3%

The common “70 to 80 percent between ±100” did not hold in any of the three. It was closer to 55%. So a reading above +100 is not rare: in SPY and QQQ it occurred on 29.7% of all days. A reading beyond ±200 is rare, which is why it is more interesting as a signal.

Overbought or strong? Two readings of the CCI

The same reading can mean two opposite things. Most textbooks read the CCI as an oscillator: above +100 overbought, below -100 oversold, so traders look for a reversal. Lambert read it as a trend indicator: a move above +100 showed a new uptrend, and he bought.

Which reading fits depends on the market phase. In a sideways market, price often returns to its average after an extreme reading, and the oscillator view works. In a trend the CCI can stay above +100 for weeks. If you sell short there, you are standing against the move.

Lawton Ho asks the same question in his video: does an overbought reading perhaps only show how strong a stock is? That is the right question. The indicator itself cannot answer it; the chart can. A clear trend with rising highs and lows calls for the trend reading, a range with clear edges for the oscillator reading.

My test: the CCI rules on SPY, QQQ and GLD

The CCI rules are taught everywhere and measured rarely. So I wrote down five signals and one trading rule before calculating and applied them unchanged to three ETFs: SPY (S&P 500), QQQ (Nasdaq 100) and GLD (gold), with daily bars from Yahoo Finance up to December 4, 2026. All numbers use the CCI(20) and price returns without dividends.

  • Period: from the first day with a CCI value: SPY from February 26, 1993 (8,502 trading days), QQQ from April 7, 1999 (6,960), GLD from December 16, 2004 (5,527).
  • Signals: CCI crosses above +100, crosses below -100, comes back above -100, makes a first close above +200 or a first close below -200.
  • Comparison: every trading day of the same period and ETF, with the same horizon of 20 sessions, close to close. Only windows that are complete by December 4, 2026 count.

Finding 1: most signals were close to the base rate

Four of the five signals did not show a consistent advantage in this sample. Over all three ETFs, the ETF was higher 20 sessions later on 60.9% of all trading days. After a cross above +100 it was 63.0%, after a cross below -100 61.7%, after a first close above +200 61.3%.

Bar chart of the share of CCI signals followed by a higher price 20 sessions later in SPY, QQQ and GLD pooled; crosses above +100 63.0%, crosses below -100 61.7%, first close above +200 61.3%, first close below -200 68.2%, against 60.9% for every trading dayClick to enlarge
CCI(20) signals in SPY (from February 1993), QQQ (from April 1999) and GLD (from December 2004) to December 4, 2026, pooled: share of signals followed by a higher close 20 sessions later, against every trading day of the same periods (dashed line). Price returns without dividends, complete windows only. Data: Yahoo Finance, own calculation.

Source: Own calculation, data from Yahoo Finance.

Higher 20 sessions later SPY QQQ GLD All three
Every trading day (base rate) 63.7% 62.0% 55.3% 60.9%
Crosses above +100 65.5% (370 of 565) 66.7% (270 of 405) 53.5% (162 of 303) 63.0% (802 of 1,273)
Crosses below -100 65.6% (229 of 349) 61.7% (185 of 300) 56.3% (139 of 247) 61.7% (553 of 896)
Back above -100 65.2% 61.2% 55.1% 61.1% (546 of 894)
First close above +200 64.9% (48 of 74) 61.6% (45 of 73) 58.0% (51 of 88) 61.3% (144 of 235)
First close below -200 72.2% (83 of 115) 68.1% (49 of 72) 61.8% (42 of 68) 68.2% (174 of 255)

The cross above +100 was neither a clear buy nor a clear sell signal. In SPY and QQQ it was a few points above the base rate, in GLD below it. That fits Lambert’s idea better than the textbook one: after the “overbought” signal, the ETFs did not fall more often than usual.

Finding 2: the first close below -200 stood out

After a first close below -200, the ETFs were higher 20 sessions later in 68.2% of 255 cases. That is 7.3 points above the base rate, and the signal was above its base rate in each of the three ETFs. The mean change was +1.85%, against +0.85% for any day.

A single example shows why this is a hint and not a rule. In early 2025 SPY made three first closes below -200 within five weeks. After the first two, it was lower 20 sessions later. After the third, on April 3, it first fell another 7.5% to a close of 496.48 before recovering.

SPY daily bars from January to May 2025 with the CCI(20) below and lines at ±100 and ±200; first closes below -200 on February 27 at 585.05 and March 4 at 576.86 were followed by lower prices 20 sessions later, the one on April 3 at 536.70 by a higher priceClick to enlarge
SPY daily bars, January to May 2025, with the CCI(20) below (dashed lines at ±100, dotted at ±200). The CCI made a first close below -200 three times. After February 27 (585.05) and March 4 (576.86), SPY was lower 20 sessions later. After April 3 (536.70) it first fell to a close of 496.48 on April 8, then stood at 566.76 on May 2. Data: Yahoo Finance, own calculation.

Source: Data from Yahoo Finance, chart by Kagels Trading.

These numbers have limits. The 20-session windows overlap, so signals that follow each other closely are not independent; the three ETFs often move together, too. I did not run a significance test, and with 68 to 115 signals per ETF the sample is small. The test covers price data only, without costs, spreads, taxes or stops. It is a hypothetical model calculation on ETF prices, not a trading result.

Finding 3: Lambert’s rule as a long-only model

I also calculated Lambert’s rule as a long-only trade model. Buy at the close of the day the CCI crosses above +100, sell at the close of the first day it is back at or below +100, no costs. Signal and fill use the same close, which is an idealised assumption: the signal is only known once that close is in. Over 1,273 trades in the three ETFs, only 40.8% ended with a gain. The mean was +0.13% per trade.

Lambert rule, CCI(20) SPY QQQ GLD
Trades 565 405 303
Winning trades 38.8% 44.4% 39.6%
Mean per trade -0.01% +0.21% +0.29%
Median per trade -0.22% -0.24% -0.29%

A median below zero means the typical trade lost a little. A few large winners pulled the pooled mean up to +0.13%. Whether that is an edge this calculation cannot say: there is no matching benchmark for these short holding periods, the short side was not tested, and costs and spreads would reduce the small average. Traders who use Lambert’s idea today use it as a filter and look for the entry later, as in the strategy below.

CCI divergence

A CCI divergence appears when price makes a new high or low and the CCI does not follow.

  • Bearish divergence: price rises to a higher high, the CCI makes a lower high. The rise is losing momentum.
  • Bullish divergence: price falls to a lower low, the CCI makes a higher low. Selling pressure is easing.

In his video, Lawton Ho shows a rise of about 46 percent almost in a straight line while the CCI was already falling. His reading: a correction is coming. He adds that overbought does not mean price has to fall. A divergence says that momentum is fading, not when price turns.

StockCharts therefore suggests a confirmation: with a bullish divergence, wait until the CCI rises above the zero line. How to draw divergences cleanly and what RSI divergences in SPY, QQQ and GLD did against the base rate is shown in our guide to divergence trading. The MACD guide covers the same pattern with a slower indicator.

Combining the CCI with support and resistance

The CCI becomes useful when it shows up at a level on the chart. That is the most important message of the video, and it matches my experience as a price action trader. An extreme reading in the middle of nowhere says little. The same reading at a resistance level says a lot.

  • Short idea: price rises into resistance, such as an old high or an open gap, with the CCI at +150 to +200.
  • Long idea: price falls into support, such as a clear swing low, with the CCI below -100.
  • No trade: the CCI is extreme, but there is no level in sight. Then you wait.

Ho shows a stock that closes a gap with a CCI near +200 and then falls for several days. At the next swing low the CCI stood at about -170, and price bounced. How to find such zones is explained in our guide to support and resistance. I have not tested this combination; whether a move actually turns there is shown by the bar, not by the indicator.

A CCI strategy: the break as a filter, the pullback as the entry

The idea of combining Lambert’s break with a later entry comes from Galen Woods. In his article Day Trading Forex with CCI Indicator on Trading Setups Review, he uses a CCI(14) on 30-minute forex charts. After the CCI crosses above +100, he waits for a pullback and enters only when price turns up again; a CCI below -100 cancels the setup. The short side is the mirror image.

In Galen’s idea, the break only marks the direction. The pullback is meant to allow a better entry price and a defined stop. Whether it improves the results was not part of my test: I only measured the bare break, and I have not tested Galen’s rules myself. How to trade pullbacks in a trend in general is covered in our guide to pullback trading.

Advantages and disadvantages of the CCI

Each point in this list goes back to the test or to the way the formula works. The CCI describes the distance from the average correctly; problems start when that description is read as a forecast.

What speaks for the CCI

  • No fixed range: it shows how extreme a move is, not just that it is extreme.
  • Both readings possible: trend traders and range traders can use the same indicator.
  • One signal stood out in the test: after a first close below -200, the ETFs were higher more often than on an average day, in all three.
  • Free and everywhere: it is built into every common platform.

What speaks against the CCI

  • The 70 to 80 percent rule did not hold: only about 55% of daily readings were between ±100.
  • Most signals were close to the base rate: the crosses at ±100 and above +200 showed no consistent advantage.
  • Lambert’s rule alone, long only: 40.8% winning trades over 1,273 trades, median slightly below zero.
  • Two readings, one decision: you have to decide from the chart whether +100 means strength or exhaustion.

My conclusion: the CCI as a signpost, not a trigger

The Commodity Channel Index answers one question well: how far has price moved from its recent average, compared with its normal swings? That is useful information. The common crossover rules built on it did not show a consistent advantage in my test.

Two numbers are worth remembering. Only about 55% of daily readings were between ±100, so a reading above +100 is common and not an alarm. And a first close below -200 was followed by a higher price in 68.2% of 255 cases, against 60.9% for any day; a hint worth watching, not a system.

That gives a clear division of labour. The direction comes from the price chart, the levels from support and resistance, and the CCI shows how stretched the move is when price gets there. The risk is set by your rules, not by the reading. If you already read the market structure and want a simple extra measure of extremes, the CCI is a free and easy tool.

This article is market analysis, not investment advice. Trading can lead to the loss of the capital you use, and past results of a rule test do not show future results.

Frequently asked questions about the CCI indicator

What is the CCI indicator?

The Commodity Channel Index (CCI) is a momentum indicator that measures how far the typical price is from its moving average, relative to its mean deviation. Donald Lambert introduced it in 1980. Readings above +100 are often called overbought, below -100 oversold, but the CCI has no fixed upper or lower limit.

What is the best setting for the CCI?

The default in TradingView and StockCharts is 20 periods. Some traders use 14 for a faster indicator. In SPY since 1993, the share of readings between ±100 was 56.9% with 14 periods and 54.8% with 20, so the difference is small. Keep 20 unless a test on your own market says otherwise.

Is a CCI above +100 a buy or a sell signal?

Neither on its own. Lambert bought there, most textbooks call it overbought. In my test, a cross above +100 was followed by a higher price 20 sessions later in 63.0% of cases, against 60.9% for any day, and Lambert’s rule alone won only 40.8% of trades.

What does a CCI below -200 mean?

It means price is far below its recent average, an extreme the CCI reached on only about 2% of all days in SPY, QQQ and GLD. In my test, a first close below -200 was followed by a higher price 20 sessions later in 68.2% of 255 cases in SPY, QQQ and GLD, against 60.9% for any day. Prices often fell further first, as SPY did in April 2025.

What is the difference between the CCI and the RSI?

The RSI compares the size of gains and losses and runs from 0 to 100; the CCI measures the distance from an average and has no limits. The CCI therefore shows how extreme a move is, the RSI only that it is in its upper or lower zone. Our RSI guide has its own test on the S&P 500.

Can I trade the CCI on its own?

Not on the evidence of my test. Four of five signals were close to the base rate, and the bare Lambert rule, tested long only, won only 40.8% of trades with a slightly negative median. The CCI works best as a measure of extremes at levels you have already found on the chart.

This English edition is based on our German edition on kagels-trading.de and has been adapted for international readers.

← All articles