The Commodity Channel Index, developed by Donald Lambert, is a complex indicator that follows trends. Commodity Channel Index is designed to detect beginning and ending market trends. This study measures the distance between the share prices and their Moving Average, and thus allows a measurement for the trend strength and/or intensity.
The Commodity Channel Index is calculated as the difference between the mean price of a share and the average of the means over a chosen period. This difference is then compared with the average difference over the time period. For better comparison, the result is not to be understood as a barrier, but rather as an orientation point which is often overridden by peaks.
Pane: Bottom
Formula
The formula consists of several steps, listed below.
You must first compute a typical price, using the high, low, and close for the interval. It is the simple arithmetic average of the three values.
TPt = (Ht + Lt + Ct ) / 3
TPt = Typical price
A Simple Moving Average of the typical price for the number of periods specified is calculated.
TPAVGt = (TP1 + TP2 +...+TPn) / n
TPAVGt = The Moving Average of the typical price
TPn = Typical price for the nth interval
The mean deviation is computed next.
MDt = (|TP1 - TPAVG1|+...+|TPn - TPAVGn|) / n
MDt = The mean deviation for a specified interval
TPAVGn = the Moving Average of the typical price for the nth interval
TPn = The typical price for the nth interval
n = the number of intervals for the average
The symbol "|" designates an absolute value. In mathematical terms, an absolute value is the value of a number without regard to its sign, i.e., the absolute value of -2 is 2; the absolute value of 2 is 2.
The computation for the final CCI is
CCIt = (TPt - TPAVGt ) / (0.015 x MDt )
TPt = The typical price for the current period
0.015 = Constant
TPAVGt = The Moving Average of the typical price
MDt = The mean deviation for the specified period
Properties
High: The Symbol field on which the study will be calculated. The application uses the Aspect "High".
Low: The Symbol field on which the study will be calculated. The application uses the Aspect "Low".
Close: The Symbol field on which the study will be calculated. The application uses the Aspect "Close".
Period: The number of bars in a chart. If the chart displays daily data, then period denotes days; in weekly charts, the period will stand for weeks, and so on. The application uses a default of 20, with 14 being another common setting.
Interpretation
This index, as suggested by its name, was designed for the futures market but is today also used for shares. The CCI is designed to detect beginning and ending market trends. This indicator measures the distance between the share prices and their Moving Average and thus allows a measurement for the trend strength and/or intensity. According to the developer, Lambert, values of +100 to –100 point to a market with no trends and thus do not supply any trade indicators. Also, according to Lambert, 70% to 80% or all price fluctuations fall within +100 and –100 as measured by the index. Buying and selling signals only occur when the +100 line (buy) and the –100 (sell) are crossed.
The trading rules for the CCI are as follows:
Establish a long position when the CCI exceeds +100.
Liquidate when the index drops below +100.
For a short position, you use the –100 value as your reference point. Any value less than –100, e.g. 125, suggests a short position, while a rise to –85 tells you to liquidate your short position.
Literature
Lambert, Donald R. Commodity Channel Index, Commodities magazine. October, 1980.
Colby, Robert F., Myers, Thomas. A. The Encyclopedia of Technical Market Indicators. Dow Jones – Irwin. Homewood, IL. 1988.
Lebeau, Charles, and Lucas, David. Technical Trader’s Guide to Computer Analysis of the Futures Market. Homewood, IL: Business One Irwin, 1991.
Jobman, Darrel R. The Handbook of Technical Analysis. Irwin Professional Publishing. 1995.
Commodity Channel Index: Tool for Trading Cyclic Trends. Commodities. October, 1980, pp.40. (now Futures)
Murphy, John J. Technical Analysis of the Futures Markets.
Wilder, J. Welles. New Concepts in Technical Trading Systems. Greensboro, NC: Trend Research, 1978.