Working Money magazine.  The investors' magazine.


Article Archive | Search | Subscribe/Renew | Login | Free Trial | Reader Service



Commodity Channel Index

02/05/02 01:44:17 PM PST
by Amy Wu

Is a new trend beginning?

The consensus is that the markets have hit a bottom and are starting to show signs of recovery. To find out whether this is true, you can apply the commodity channel index (CCI), an indicator useful for determining the beginning and end of a trend.

Introduced by Donald Lambert in 1980, the commodity channel index is a price momentum indicator that measures the degree of variance of a security price from its statistical mean. Although originally developed for trading commodities, the CCI can be used just as easily on stocks or any other type of security.


The CCI is relatively simple to calculate, requiring five easy steps.

1 Add each period's high, low, and close and divide this sum by 3. (Here, you are looking at the mean price for each day, instead of the usual practice of using just the closing price.)

2 Calculate an n-period simple moving average (SMA) of the mean prices computed in step 1.

3 Subtract the SMA from each mean price for all the n-periods.

4 Calculate the mean deviation: Take the absolute values of the differences found in step 3, and average them.

5 Take the differences found in step 3, respecting sign this time, and divide them by 0.015 times the mean deviation. These values will form the CCI.

The parameter you select for the lookback period can vary. Most technical analysis software includes the CCI as a built-in indicator and gives you the flexibility to change the lookback period. You don't want to use too short a period, since that will cause whipsaws. However, using a period that is too long will result in missed signals.


The CCI basically looks at prices relative to the average price. If the CCI of a security is high, prices are higher relative to the average price. Likewise, if the CCI of a security is low, prices are lower relative to the average price.

Usually, the CCI falls within the +/-100 range. Whenever the index moves beyond this range it suggests that the movements are no longer random, creating trading opportunities. Hence, if the CCI rises above +100 it means that you should consider going long, and when it falls below +100 you should exit your position. Conversely, when the CCI falls below -100 it means you should consider shorting a position, and when it moves above the -100 point you should cover your short.

Figure 1 displays the CCI, using a 20-period parameter applied to the Standard & Poor's 500 index. The CCI is hovering over the +100 level — an indication that the downward direction the markets have been in since the spring of 2000 may be reversing. This is a positive sign indeed and one that we can only hope will continue to stay at this level for a while longer.

Figure 1: Commodity channel index. It looks like the start of a new upward trend.


The CCI is a useful indicator for detecting the start and end of a trend, but beyond that, its usefulness is limited. Once you know a trend has begun, it's necessary for you to apply an indicator that works well during trends. But at times of uncertainty the CCI can prove helpful, especially when applied to the broader indexes.

Amy Wu is a student at Princeton University.

MetaStock (Equis International); ESignal (data)

Current and past articles from Working Money, The Investors' Magazine, can be found at

Amy Wu

Amy Wu is a student at Princeton University, majoring in economics and financial engineering.

Title: Editorial, Intern
Company: Technical Analysis, Inc.
Address: 4757 California AVE SW
Seattle, WA 98116
Phone # for sales: 206-938-0570
Fax: 206-938-1307
E-mail address:

Traders' Resource Links
Charting the Stock Market: The Wyckoff Method -- Books -- Online Trading Services Advantage -- Online Trading Services
Technical Analysis of Stocks & Commodities -- Publications and Newsletters
Working Money, at -- Publications and Newsletters Advantage -- Publications and Newsletters
Professional Traders Starter Kit -- Software

Comments or Questions? Article Usefulness
5 (most useful)
1 (least useful)


S&C Subscription/Renewal

Request Information From Our Sponsors 

DEPARTMENTS: Advertising | Editorial | Circulation | Contact Us | BY PHONE: (206) 938-0570

PTSK — The Professional Traders' Starter Kit
Home — S&C Magazine | Working Money Magazine | Advantage | Online Store | Traders’ Resource
Add a Product to Traders’ Resource | Message Boards | Subscribe/Renew | Free Trial Issue | Article Code | Search

Copyright © 1982–2021 Technical Analysis, Inc. All rights reserved. Read our disclaimer & privacy statement.