LogoLogo
Return to StockChartsCharts & ToolsArticlesChartSchoolYour Dashboard
  • 📋ChartSchool
  • Table of Contents
    • Overview
      • Why Analyze Securities?
      • Technical Analysis
      • Fundamental Analysis
      • Random Walk vs. Non-Random Walk
      • Asset Allocation and Diversification
      • John Murphy's 10 Laws of Technical Trading
      • John Murphy's "Charting Made Easy" eBook
      • Technical Analysis 101
        • TA 101 – Part 1
        • TA 101 – Part 2
        • TA 101 – Part 3
        • TA 101 – Part 4
        • TA 101 – Part 5
        • TA 101 – Part 6
        • TA 101 – Part 7
        • TA 101 – Part 8
        • TA 101 – Part 9
        • TA 101 – Part 10
        • TA 101 – Part 11
        • TA 101 – Part 12
        • TA 101 – Part 13
        • TA 101 – Part 14
        • TA 101 – Part 15
        • TA 101 – Part 16
        • TA 101 – Part 17
      • Irrational Exuberance
      • Cognitive Biases
      • Arthur Hill on Goals, Style and Strategy
      • Arthur Hill on Moving Average Crossovers
      • Multicollinearity
      • "The Trader's Journal" by Gatis Roze
        • Stage 1: Money Management
        • Stage 2: Business of Investing
        • Stage 3: The Investor Self
        • Stage 4: Market Analysis
        • Stage 5: Routines
        • Stage 6: Stalking Your Trade
        • Stage 7: Buying
        • Stage 8: Monitoring Your Investments
        • Stage 9: Selling
        • Stage 10: Re-Examine, Refine, Re-Enhance
        • Additional Reading
      • Bob Farrell's 10 Rules
      • Richard Rhodes' Trading Rules
      • Donchian Trading Guidelines
      • Why and How To Use Correlation
    • Chart Analysis
      • What Are Charts?
      • Support & Resistance
      • Trend Lines
      • Gaps and Gap Analysis
      • Introduction to Chart Patterns
      • Chart Patterns
        • Broadening Top or Megaphone Top
        • Double Top Reversal
        • Double Bottom Reversal
        • Head and Shoulders Top
        • Head and Shoulders Bottom
        • Falling Wedge
        • Rising Wedge
        • Rounding Bottom
        • Triple Top Reversal
        • Triple Bottom Reversal
        • Bump and Run Reversal
        • Flag, Pennant
        • Symmetrical Triangle
        • Ascending Triangle
        • Descending Triangle
        • Rectangle
        • Price Channel
        • Measured Move—Bullish
        • Measured Move—Bearish
        • Cup With Handle
      • Chart Types
        • Arms CandleVolume
        • CandleVolume
        • Elder Impulse System
        • EquiVolume
        • Heikin-Ashi Candlesticks
        • Kagi Charts
        • Renko Charts
        • Three Line Break Charts
        • MarketCarpets
        • Relative Rotation Graphs (RRG Charts)
        • Seasonality Charts
        • Yield Curve
      • Candlestick Charts
        • Introduction to Candlesticks
        • Candlesticks and Traditional Chart Analysis
        • Candlesticks and Support
        • Candlesticks and Resistance
        • Candlestick Bullish Reversal Patterns
        • Candlestick Bearish Reversal Patterns
        • Candlestick Pattern Dictionary
      • Point and Figure Charts
        • Point and Figure Basics
          • Introduction to Point & Figure Charts
          • Point & Figure Scaling and Timeframes
          • P&F Trend Lines
        • Classic Patterns
          • P&F Bullish Breakouts
          • P&F Bearish Breakdowns
          • P&F Signal Reversed
          • P&F Catapults
          • P&F Triangles
          • P&F Bull & Bear Traps
        • P&F Price Objectives
          • P&F Price Objectives: Breakout and Reversal Method
          • P&F Price Objectives: Horizontal Counts
          • P&F Price Objectives: Vertical Counts
        • Point & Figure Indicators
        • P&F Scans and Alerts
          • P&F Pattern Alerts
      • Chart Annotation Tools
        • Andrews' Pitchfork
        • Stock Market Cycles
        • Fibonacci Retracements
        • Fibonacci Arcs
        • Fibonacci Fans
        • Fibonacci Time Zones
        • Quadrant Lines
        • Raff Regression Channel
        • Speed Resistance Lines
    • Technical Indicators & Overlays
      • Introduction to Technical Indicators and Oscillators
      • Technical Indicators
        • Accumulation/Distribution Line
        • Alligator Indicator
        • Aroon
        • Aroon Oscillator
        • ATR Bands
        • ATR Trailing Stops
        • Average Directional Index (ADX)
        • Average True Range (ATR) and Average True Range Percent (ATRP)
        • Balance of Power (BOP)
        • Bollinger BandWidth
        • %B Indicator
        • Chaikin Money Flow (CMF)
        • Chaikin Oscillator
        • Chande Trend Meter (CTM)
        • CMB Composite Index
        • Commodity Channel Index (CCI)
        • ConnorsRSI
        • Coppock Curve
        • Correlation Coefficient
        • DecisionPoint Price Momentum Oscillator (PMO)
        • Detrended Price Oscillator (DPO)
        • Distance From Highs
        • Distance From Lows
        • Distance To Highs
        • Distance To Lows
        • Distance From Moving Average
        • Ease of Movement (EMV)
        • Force Index
        • Gopalakrishnan Range Index
        • High Low Bands
        • High Minus Low
        • Highest High Value
        • Linear Regression R2
        • Lowest Low Value
        • Mass Index
        • MACD (Moving Average Convergence/Divergence) Oscillator
        • MACD-Histogram
        • MACD-V
        • MACD-V Histogram
        • Median Price
        • Money Flow Index (MFI)
        • Negative Volume Index (NVI)
        • On Balance Volume (OBV)
        • Percentage Price Oscillator (PPO)
        • Percentage Volume Oscillator (PVO)
        • Performance Spread
        • Price Relative/Relative Strength
        • Pring's Know Sure Thing (KST)
        • Pring's Special K
        • Rate of Change (ROC)
        • Relative Strength Index (RSI)
        • Relative Volume (RVOL)
        • RRG Relative Strength
        • StockCharts Technical Rank
        • Slope
        • Standard Deviation (Volatility)
        • Stochastic Oscillator (Fast, Slow, and Full)
        • StochRSI
        • Traffic Light
        • TRIX
        • True Range
        • True Strength Index
        • TTM Squeeze
        • Typical Price
        • Ulcer Index
        • Ultimate Oscillator
        • Vortex Indicator
        • Weighted Close
        • Williams %R
      • Technical Overlays
        • Anchored VWAP
        • Bollinger Bands
        • Chandelier Exit
        • Double Exponential Moving Average (DEMA)
        • Hull Moving Average (HMA)
        • Ichimoku Cloud
        • Kaufman's Adaptive Moving Average (KAMA)
        • Keltner Channels
        • Linear Regression Forecast
        • Linear Regression Intercept
        • Moving Averages—Simple and Exponential
        • Moving Average Ribbon
        • Moving Average Envelopes
        • Parabolic SAR
        • Pivot Points
        • Price Channels
        • Triple Exponential Moving Average (TEMA)
        • Volume-by-Price
        • Volume-Weighted Average Price (VWAP)
        • ZigZag
    • Market Indicators
      • Introduction to Market Indicators
        • Market Indicator Dictionary
      • Advance-Decline Line
      • Advance-Decline Percent
      • Advance-Decline Volume Line
      • Advance-Decline Volume Percent
      • Arms Index (TRIN)
      • Bullish Percent Index (BPI)
      • DecisionPoint Intermediate-Term Breadth Momentum Oscillator (ITBM)
      • DecisionPoint Intermediate-Term Volume Momentum Oscillator (ITVM)
      • DecisionPoint Swenlin Trading Oscillator (STO)
      • High-Low Index
      • High-Low Percent
      • McClellan Oscillator
      • McClellan Summation Index
      • Net New 52-Week Highs
      • Percent Above Moving Average
      • Pring's Bottom Fisher
      • Pring's Diffusion Indicators
      • Pring's Inflation and Deflation Indexes
      • Pring's Net New High Indicators
      • Put/Call Ratio
      • Record High Percent
      • Volatility Indices
    • Market Analysis
      • Dow Theory
      • Sector Rotation Analysis
      • Intermarket Analysis
      • The DecisionPoint Chart Gallery
      • DecisionPoint Rydex Asset Analysis
      • Wyckoff Analysis Articles
        • Wyckoff Market Analysis
        • Wyckoff Stock Analysis
        • The Wyckoff Method: A Tutorial
      • Elliott Wave Analysis Articles
        • Introduction to Elliott Wave Theory
        • Identifying Elliott Wave Patterns
        • Guidelines for Applying Elliott Wave Theory
    • Trading Strategies & Models
      • DecisionPoint Trend Model
      • Trading Strategies
        • Bollinger Band Squeeze
        • CCI Correction
        • CVR3 VIX Market Timing
        • Faber's Sector Rotation Trading Strategy
        • Gap Trading Strategies
        • Harmonic Patterns
        • Hindenburg Omen
        • Ichimoku Cloud Trading Strategies
        • The 'Last' Stochastic Technique
        • MACD Zero-Line Crosses With Swing Points
        • Moving Average Trading Strategies
          • Finding Support and Resistance in Moving Averages
          • Guppy Multiple Moving Average: An MA Ribbon Designed to Tip the Market’s Hand
          • How To Trade Price-to-Moving Average Crossovers
          • Trading the Bounce: Finding Support and Resistance in Moving Averages
          • Trading the Death Cross
          • Trading Using the Golden Cross
          • Using the 5-8-13 EMA Crossover for Short-Term Trades
        • Moving Momentum
        • Narrow Range Day NR7
        • Percent Above 50-day SMA
        • Percent B Money Flow
        • The Pre-Holiday Effect
        • RSI(2)
        • Six-Month Cycle MACD
        • Slope Performance Trend
        • Stochastic Pop and Drop
        • Swing Charting
        • Trend Quantification and Asset Allocation
    • Index & Market Indicator Catalog
      • Advance-Decline Indicators
      • Cboe Indices and Indicators
      • CME Futures and Spot Prices
      • DecisionPoint Sentiment Indicators
      • Dow Jones Breadth Indicators
      • Dow Jones Global Indices
      • Dow Jones Select Indices
      • Dow Jones Titans Indices
      • Dow Jones US Indices
      • Economic Indicators
      • ICE Futures and Spot Prices
      • Intellidex Indices
      • MSCI Indices
      • New 52-week Highs and Lows for Exchanges
      • NYSE Arca Equity Indices
      • NYSE Equity Indices
      • Philadelphia Indices
      • S&P 500 Sector and Industry Groups
      • S&P GSCI Indices
      • StockCharts AD Percent
      • StockCharts AD Volume Percent
      • StockCharts Bullish Percent Index
      • StockCharts High-Low Index
      • StockCharts High-Low Percent
      • StockCharts Percent Above Moving Average
      • StockCharts Pseudo Symbols
      • StockCharts Record High Percent
      • StockCharts Theoretical Indices
      • US Treasury Yields
    • 📖Glossary
      • 📖Glossary - A
      • 📖Glossary - B
      • 📖Glossary - C
      • 📖Glossary - D
      • 📖Glossary - E
      • 📖Glossary - F
      • 📖Glossary - G
      • 📖Glossary - H
      • 📖Glossary - I
      • 📖Glossary - J
      • 📖Glossary - K
      • 📖Glossary - L
      • 📖Glossary - M
      • 📖Glossary - N
      • 📖Glossary - O
      • 📖Glossary - P
      • 📖Glossary - Q
      • 📖Glossary - R
      • 📖Glossary - S
      • 📖Glossary - T
      • 📖Glossary - U
      • 📖Glossary - V
      • 📖Glossary - W
      • 📖Glossary - X, Y, Z
    • Options Glossary
    • Educational Resources
Powered by GitBook
LogoLogo

ON STOCKCHARTS

  • Charts & Tools
  • Articles
  • StockCharts TV
  • ChartSchool

MEMBERS

  • Your Dashboard
  • Your ChartLists
  • Advanced Scans
  • Technical Alerts

HELP

  • Support Center
  • FAQs
  • Contact Us
  • Pricing

COMPANY

  • About Us
  • What's New
  • Careers
  • StockCharts Store

© StockCharts.com, Inc. All Rights Reserved.

On this page
  • What Is the Commodity Channel Index?
  • Calculating the CCI
  • Interpreting the CCI
  • New Trend Emerging
  • Overbought/Oversold
  • Bullish/Bearish Divergences
  • The Bottom Line
  • Using CCI with SharpCharts
  • Suggested Scans
  • CCI Oversold in Uptrend
  • CCI Overbought in Downtrend
  • Further Study

Was this helpful?

Export as PDF
  1. Table of Contents
  2. Technical Indicators & Overlays
  3. Technical Indicators

Commodity Channel Index (CCI)

PreviousCMB Composite IndexNextConnorsRSI

Last updated 10 months ago

Was this helpful?

What Is the Commodity Channel Index?

Developed by Donald Lambert and featured in Commodities magazine in 1980, the Commodity Channel Index (CCI) is a versatile indicator that can identify a new trend or warn of extreme conditions.

Lambert originally developed CCI to identify cyclical turns in commodities, but the indicator can be successfully applied to indices, ETFs, stocks, and other securities. In general, CCI measures the current price level relative to an average price level over a given period. CCI is relatively high when prices are far above their average, but is relatively low when prices are far below their average. In this manner, CCI can be used to identify overbought and oversold levels.

Calculating the CCI

The example below is based on a 20-period Commodity Channel Index (CCI) calculation. The number of CCI periods is also used for the calculations of the simple moving average and Mean Deviation.

CCI = (Typical Price  -  20-period SMA of TP) / (.015 x Mean Deviation)

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

Constant = .015

There are four steps to calculating the Mean Deviation: 
First, subtract the most recent 20-period average of the typical price from each period's typical price. 
Second, take the absolute values of these numbers. 
Third, sum the absolute values. 
Fourth, divide by the total number of periods (20). 

Lambert set the constant at .015 to ensure that approximately 70 to 80 percent of CCI values would fall between -100 and +100. This percentage also depends on the look-back period. A shorter CCI (10 periods) will be with a smaller percentage of values between +100 and -100. Conversely, a longer CCI (40 periods) will have a higher percentage of values between +100 and -100.

Click below for CCI calculation in an Excel Spreadsheet.

Interpreting the CCI

CCI measures the difference between a security's price change and its average price change. High positive readings indicate that prices are well above their average—a show of strength. Low negative readings indicate that prices are well below their average—a show of weakness.

The CCI can be used as a coincident or leading indicator.

  • As a coincident indicator. When CCI surges above +100, it reflects strong price action that can signal the start of an uptrend. When CCI plunges below -100, it reflects weak price action that can signal the start of a downtrend.

New Trend Emerging

As noted above, most CCI movement occurs between -100 and +100. A move that exceeds this range shows unusual strength or weakness that can foreshadow an extended move. Think of these levels as bullish or bearish filters. Technically, CCI favors the bulls when positive and the bears when negative. However, using simple zero-line crossovers can result in many whipsaws. Although entry points will lag more, requiring a move above +100 for a bullish signal and a move below -100 for a bearish signal reduces whipsaws.

The chart below shows Caterpillar (CAT) with 20-day CCI. There were four trend signals within a seven-month period. Obviously, a 20-day CCI is not suited for long-term signals; chartists should use weekly or monthly charts for those. The stock peaked on Jan 11, 2010 and turned down. CCI moved below -100 on January 22 (eight days later) to signal the start of an extended move. The stock bottomed on February 8 and CCI moved above +100 on February 17 (six days later) to signal the start of an extended advance. CCI doesn't catch the exact top or bottom, but it can help filter out insignificant moves and focus on the larger trend.

CCI triggered a bullish signal when CAT surged above 60 in June. Some traders may have considered the stock overbought and the reward-to-risk ratio unfavorable at these levels. With the bullish signal in force, the focus would have been on bullish setups with a good reward-to-risk ratio. Notice that the stock retraced around 62% of the prior advance and formed a falling flag by the end of June. The subsequent surge above the flag trend line provided another bullish signal with CCI still in bull mode.

Overbought/Oversold

Identifying overbought and oversold levels can be tricky with the Commodity Channel Index (CCI), or any other momentum oscillator for that matter. First, CCI is an unbound oscillator. Theoretically, there are no upside or downside limits. This makes an overbought or oversold assessment subjective. Second, securities can continue moving higher after an indicator becomes overbought. Likewise, securities can continue moving lower after an indicator becomes oversold.

The definition of overbought or oversold varies for the Commodity Channel Index (CCI). ±100 may work in a trading range, but more extreme levels are needed for other situations. ±200 is a much harder level to reach and more representative of a true extreme. Selection of overbought/oversold levels also depends on the volatility of the underlying security. The CCI range for an index ETF, such as SPY, will usually be smaller than for most stocks, such as Google.

The chart below shows Google (GOOG) with CCI(20). Horizontal lines at ±200 were added using the advanced indicators options. From early February to early October (2010), Google exceeded ±200 at least five times. The red dotted lines show when CCI moved back below +200 and the green dotted lines show when CCI moved back above -200. It is important to wait for these crosses to reduce whipsaws should the trend extend. Such a system is not foolproof, however. Notice how Google kept on moving higher even after CCI became overbought in mid-September and moved below -200.

Bullish/Bearish Divergences

Divergences signal a potential reversal point because directional momentum does not confirm price. A bullish divergence occurs when the underlying security makes a lower low and CCI forms a higher low, which shows less downside momentum. A bearish divergence forms when the security records a higher high and CCI forms a lower high, which shows less upside momentum. Before getting too excited about divergences as great reversal indicators, note that divergences can be misleading in a strong trend. A strong uptrend can show numerous bearish divergences before a top actually materializes. Conversely, bullish divergences often appear in extended downtrends.

Confirmation holds the key to divergences. While divergences reflect a change in momentum that can foreshadow a trend reversal, chartists should set a confirmation point for CCI or the price chart. A bearish divergence can be confirmed with a break below zero in CCI or a support break on the price chart. Conversely, a bullish divergence can be confirmed with a break above zero in CCI or a resistance break on the price chart.

The chart below shows United Parcel Service (UPS) with 40-day CCI. A longer timeframe, 40 versus 20, was used to reduce volatility. There are three sizable divergences over a seven-month period, which is relatively few for seven months.

  • First, UPS raced to new highs in early May, but CCI failed to exceed its March high and formed a bearish divergence. A support break on the price chart and CCI move into negative territory confirm this divergence a few days later.

  • Second, a bullish divergence formed in early July as the stock moved to a lower low, but CCI formed a higher low. This divergence was confirmed with a CCI break into positive territory. Also notice that UPS filled the late June gap with a surge in early July.

  • Third, a bearish divergence formed in early September and was confirmed when CCI dipped into negative territory. Despite a CCI confirmation, price never broke support and the divergence did not result in a trend reversal. Not all divergences produce good signals.

The Bottom Line

Using CCI with SharpCharts

CCI is available as a SharpCharts indicator that can be placed above, below or behind the price plot of the underlying security. Placing CCI directly behind the price makes it easy to compare indicator movements with price movements. The default setting is 20 periods, but this can be adjusted to suit analysis needs. A shorter timeframe makes the indicator more sensitive, while a longer timeframe makes it less sensitive. Members can click the green arrow next to “advanced options” to add horizontal lines to mark overbought or oversold levels. Two lines can be added by separating the numbers with a comma (200,-200).



Suggested Scans

CCI Oversold in Uptrend

This scan reveals stocks that are in an uptrend with oversold CCI turning up. First, stocks must be above their 200-day moving average to be in an overall uptrend. Second, CCI must cross above -200 to show the indicator rising from oversold levels.

[type = stock] AND [country = US] 
AND [Daily SMA(20,Daily Volume) > 40000] 
AND [Daily SMA(60,Daily Close) > 20] 

AND [Daily Close > Daily SMA(200,Daily Close)] 
AND [Daily CCI(20) crosses -200]

CCI Overbought in Downtrend

This scan reveals stocks that are in a downtrend with overbought CCI turning down. First, stocks must be below their 200-day moving average to be in an overall downtrend. Second, CCI must cross below +200 to show the indicator falling from overbought levels.

[type = stock] AND [country = US] 
AND [Daily SMA(20,Daily Volume) > 40000] 
AND [Daily SMA(60,Daily Close) > 20] 

AND [Daily Close < Daily SMA(200,Daily Close)] 
AND [200 crosses Daily CCI(20)]

Further Study

As a . Use the CCI to identify overbought or oversold conditions that may foreshadow a mean reversion. Bullish and bearish divergences can be used to detect early momentum shifts and anticipate trend reversals.

CCI is a versatile momentum oscillator that can be used to identify overbought/oversold levels or trend reversals. The indicator becomes overbought or oversold when it reaches a relative extreme. That extreme depends on the characteristics of the underlying security and the historical range for CCI. Volatile securities are likely to require greater extremes than docile securities. Trend changes can be identified when CCI crosses a specific threshold between zero and 100. Regardless of how CCI is used, chartists should use CCI in conjunction with other indicators or price analysis. Another momentum oscillator would be redundant, but or the can add value to CCI signals.

.

For more details on the syntax to use for CCI scans, please see our in the Support Center.

John Murphy's has a chapter devoted to momentum oscillators and their various uses. Murphy covers the pros and cons as well as some examples specific to the Commodity Channel Index.

Martin Pring's presents the basics of momentum indicators by covering divergences, crossovers, and other signals.

more volatile
On Balance Volume (OBV)
Accumulation Distribution Line
Technical Analysis of the Financial Markets
Technical Analysis Explained
Click here for a live example
Scanning Indicator Reference
leading indicator
62KB
cs-cci.xls
CCI- Spreadsheet
CCI - Chart 1
CCI - Chart 2
CCI - Chart 3
CCI - Chart 4
CCI - Chart 5
CCI - SharpCharts