CCI Indicator: Formula, ±100 and ±200 Levels and a 33-Year Test
Contents
- CCI indicator in 30 seconds
- What is the Commodity Channel Index (CCI)?
- How to calculate the CCI
- The best CCI setting: 20 or 14 periods?
- Reading the CCI levels: ±100, ±200 and ±300
- Overbought or strong? Two readings of the CCI
- My test: the CCI rules on SPY, QQQ and GLD
- CCI divergence
- Combining the CCI with support and resistance
- A CCI strategy: the break as a filter, the pullback as the entry
- Advantages and disadvantages of the CCI
- My conclusion: the CCI as a signpost, not a trigger
- Frequently asked questions about the CCI indicator
- 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:
- Typical price (TP) = (High + Low + Close) / 3
- Average: the simple moving average of the typical price over 20 periods
- 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%.
Click to enlarge| 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.
Click to enlargeThese 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.
More Technical Indicators guides
- Judge a golden cross
Golden Cross: Definition and S&P 500 Test Results
How the 50-day and 200-day averages cross, and what 38 signals in the S&P 500 since 1950 did against the base rate and buy and hold.
- Judge a death cross
Death Cross: What 38 S&P 500 Signals Since 1950 Show
How deep the S&P 500 fell after 38 death crosses since 1950, how late the signal comes, and what shorting it on SPY did since 1993.
- Judge a Hindenburg Omen
Hindenburg Omen: What 21 Signal Clusters Since 2017 Show
How the breadth signal is calculated, why trackers disagree on its rules, and how often SPY fell 10% after 21 signal clusters since 2017.
- Use moving averages
Moving Averages: SMA, EMA and a 76-Year 200-Day Test
SMA, EMA and WMA formulas with a worked example, common periods, and what the 200-day line showed on the S&P 500 since 1950.
- Judge a pullback to the 50-day line
Does the 50-Day Moving Average Act as Support? A Test
Whether 157 touches of the 50-day average in S&P 500 uptrends since 1962 held, and whether the 50 did better than 40, 60 or an SMA50-calibrated control line.
- Trail a stop with the Supertrend
Supertrend Indicator: Settings, Strategies and an ETF Test
How the ATR-based line is calculated, common settings, five strategies, and what 654 completed flip trades in SPY, QQQ and GLD since 1993 showed.
- Read the Ichimoku Cloud
Ichimoku Cloud: The Five Lines and a US ETF Test
The five lines and the cloud, how traders read the Tenkan/Kijun cross, and what the cloud and the crosses did in SPY (since 1993), QQQ and GLD.
- Measure trend strength with the ADX
ADX Indicator: What Trend Strength Really Tells You
How +DI, −DI and the ADX are calculated, what 20 and 25 mean, and whether a high ADX meant the trend went on in SPY, QQQ and GLD.
- Read the RSI
RSI Indicator: Formula, Settings and a 75-Year Test
The RSI formula, overbought and oversold, and what RSI signals did on the S&P 500 since 1951 against the base rate.
- Compare a stock with the market
Relative Strength: Compare Stocks with the Market
The price ratio behind every relative strength line, how it differs from the RSI, a five-step watchlist and two Dow examples from one selection date.
- Read volatility with Bollinger Bands
Bollinger Bands: Settings, Squeeze and a 76-Year Test
Settings, the three typical chart situations, five strategies with rules, and what the bands and the squeeze showed on the S&P 500 since 1950.
- Trade reversals at the bands in a range
Joe Ross's Gimmee Bar: Bollinger Bands for Sideways Markets
Joe Ross's Gimmee Bar with complete long and short rules, our added stop, target and expiry rules, and one clean and one failed trade in Procter & Gamble.
- Set stops with the ATR
ATR Indicator: Average True Range for Stops and Size
True range and Wilder smoothing, stop distance and position size, and how ATR stops behaved on SPY from 1994 to 2026 against a fixed stop.
- Trade Donchian breakouts
Donchian Channel: Breakout Rules and a 20-Year ETF Test
Channel rules, the current-bar pitfall, the Turtle systems, and what 499 breakout trades in SPY, GLD and TLT from 2006 to 2026 showed.
- Read the Stochastic
Stochastic Oscillator: Settings, Signals and a 30-Year Test
The %K and %D formula, what 14, 3, 3 means, fast versus slow, and what 785 oversold signals in SPY, QQQ and GLD did against the base rate.
- Judge a divergence
Divergence Trading: Regular and Hidden Divergence Tested
Regular and hidden, bullish and bearish divergences, when they are confirmed, and what 447 RSI divergences detected in SPY, QQQ and GLD did against the base rate.
- Read the MACD
MACD Indicator: Histogram, Divergence and a 31-Year Test
Formula, histogram, crossovers and divergences, with a 31-year test on the S&P 500 and the DAX against the base rate.
- Use VWAP
VWAP Indicator: Formula, Anchored VWAP and TradingView Setup
The VWAP formula, trend day versus range day, Anchored VWAP and the right settings in TradingView.