You are here

Commodity Channel Index (CCI)

Printer-friendly versionPDF version

The Commodity Channel Index (CCI) is designed to detect beginning and ending market trends. The formula standardizes market prices to help spot market trend deviations.

Donald Lambert, the creator of this indicator, says that 70% to 80% of all price fluctuations fall within +100 and -100 as measured by the index. The calculation for CCI measures the average daily price's distance from a moving average of average daily prices.

There are basic trading rules for the CCI: buy when the CCI exceeds -100 and sell when the CCI drops below +100. In other words, a buy signal is generated when the indicator enters the channel, or exceeds -100, coming up from the bottom. A sell signal is generated when the indicator enters the channel from the top, or drops below +100.

Followers of the CCI generally look to establish long positions when the CCI exceeds the -100 level, indicating that prices are in a strong up trend. Most users of this indicator also try to look for patterns within the indicator, such as higher highs, and look for CCI movements to be confirmed by general price readings as well.

The purpose of the CCI index is to keep you out of the market during consolidation, or weak trending periods. By measuring the difference between average prices and mean average prices, this indicator attempts to isolate only strongly trending markets, similar to momentum and MACD.

When CCI is viewed in the Indicator window of Track 'n Trade 5.0, -100 is 33% of the window and +100 is 66% of the window. Guides could be set at these two points for ease in tracking CCI. You could also say that -85 would be roughly 36% and +85 would be roughly 64% of the window.

Calculation

The proper calculation of the CCI requires several steps in the proper sequence. You must first compute the typical price using the high, low, and close for the interval. Simply, take the average of the three values.

TP = (Hight + Lowt + Closet) / 3

TPt: Represents the typical price.
Hight: The highest price for this interval.
Lowt: The lowest price for this interval.
Closet: The closing price for this interval.

Next, calculate a simple moving average of the typical price for the number of periods specified.

TPAVGt = (TP1 + TP2 +... + TPn) / n

TPAVGt: The moving average of the typical price.
TPn: The typical price for the nth interval.
N: Number of intervals for the average.
Compute the mean deviation.

MDt = (|TPAVG1 - TP1| + ... + |TPAVG1 - TPn |) / n

MDT: The mean deviation for this interval.
TPn: The typical price for the nth interval.
N: Number of intervals.

Note: The symbol | | designates absolute value. Negative differences as well as positive differences are treated as positive values.

Final computation:

CCIt = (TPt - TPAVGt) / (.015 x MDT)
CCIt: The Commodity Channel Index for the current period.
TPt: The typical price for the current period.
TPAVGt: The moving average of the typical price.
.015: A constant.
MDT: The mean deviation for this period.

Indicator Window

Buy & Sell Signals using Histogram

Buy & Sell Signals using Line

 

Preferences

Right-click on the CCI button in your Indicator toolbar and select CCI Settings. The Preferences Tab will open in the Control Panel and the CCI preferences will be displayed. (Once you click on the chart, the Preference tab will go back to chart settings.)

Restore Settings: TNT Default will change your settings back to the original software settings. My Default will change current settings to your personalized default settings. Apply To All Charts will apply your selected settings on all open charts. Save As My Default will save your current personal settings.


CCI Period: The number of bars, or interval, used to calculate the study. Default is 20.

CCI: Choose the color, line style, and line thickness of your line.

Show Gradient Color: Toggle gradient color shading on or off.

Standard and choose between a line or a histogram from the dropdown menu.

W-CCI: Select to display a histogram divided in the middle and choose two colors from the dropdown menu.

View up to four Thresholds at values and colors of your choice. When calculating buy/sell signals, Threshold 1 is used as the upper threshold and Threshold 2 is used as the lower threshold (default values set at 100 and -100).

Choose when you want Buy/Sell Arrows to show and what color.