1992issue C021-2
Eleven-bar commodity channel index from typical price and mean deviation
A commodity channel index is a three-part ratio: typical price, a simple-average center, and a 0.015-scaled mean-deviation term. An 11-period worksheet shows the same steps, and the lookback can be chosen by the user.
- A commodity channel index can be constructed with any lookback length the user chooses.
- Typical price is the arithmetic mean of a bar's high, low, and close, and an 11-period version then takes a simple moving average of those typical prices.
- Mean deviation averages the absolute differences between the current moving average and each typical price in the lookback.
- The index equals today's typical price minus today's moving average, divided by 0.015 times today's mean deviation.
A commodity channel index is a ratio that places typical-price distance from a moving-average baseline over a scaled mean-deviation term. A commodity channel index can be constructed with any lookback length the user chooses. Lookback is the number of observations used for both the simple moving average and the mean-deviation window.
Typical price
Each bar's typical price is the arithmetic mean of high, low, and close.
The 11-period center and mean deviation
An 11-period version next takes a simple moving average of those typical prices over the same 11 observations.
The 11-period mean deviation averages the absolute differences between the current moving average and each of the last 11 typical prices. Mean deviation is the average absolute gap between the current moving-average baseline and each typical price inside the lookback.
The scaled ratio
The index equals today's typical price minus today's moving average, divided by 0.015 times today's mean deviation. The scaling constant is the 0.015 factor applied to mean deviation in the denominator of the ratio.
An 11-period worksheet
The same 11-period construction can be arranged as a worksheet that produces a commodity channel index series on the Dow Jones Industrial Average.
Eleven-period CCI on the Dow Jones Industrial Average

The worksheet uses an 11-day lookback on typical price, so CCI is blank until 18 January 1993. The mean-deviation term is scaled by Lambert’s 0.015 constant.
All readings on this track · 39 readings
- 1982Three gates on a 1982 pork-belly short
- 1982Scale-free Commodity Channel Index construction
- 1986Constructing a commodity channel index and a regression price channel
- 1987Constructing scaled OHLC matrices for study overlays
- 1987Constructing the commodity channel, average directional, and relative strength indexes on a shared cycle scale
- 1992Eleven-bar commodity channel index from typical price and mean deviation
- 1992Evaluating Commodity Channel Index breakout versus range rules
- 1992Evaluating breakout and CCI rules as complete mechanical procedures
- 1993Constructing stochastic, RSI and CCI inputs for forecasts
- 1993Nested centered channels with a commodity channel index confirmation gate
- 1993Listed-option timing as three separable clocks
- 1994Constructing an eleven-period commodity channel index
- 1994Confirming Elliott wave turns with channels and the commodity channel index
- 1995Commodity Channel Index band rules lag zero-line timing
- 1995Building the commodity channel index from typical price
- 1995Staged reversal rules with commodity channel index and average channels
- 1995Commodity channel index construction from typical price to a smoothed zero line
- 2001Reader tests for unfinished lookback oscillators
- 2002Constructing the commodity channel index from typical price
- 2003Breadth-filtered commodity channel index entry and exit rules
- 2003Constructing the Commodity Channel Index from typical price and scaled deviation
- 2003A shallow, poorly participated advance is an unconfirmed trend
- 2003CCI and RSI parameter defaults as scaling conventions
- 2003A cost and capital audit of a Commodity Channel Index trade engine
- 2003Commodity channel index peak divergence as an exit after twin patterns
- 2004Constructing the Commodity Channel Index from typical price
- 2004Constructing the Commodity Channel Index from typical price and mean deviation
- 2006Building custom indicators from the Commodity Channel Index, a least squares moving average and a rule-based entry
- 2012Confirming breakouts and retracements with CCI, ADX, and averages
- 2012Stacking oscillator lookbacks into a heatmap mosaic
- 2013Constructing a consensus and volatility-normalized value oscillator
- 2013Walk-forward system evaluation with a commodity channel index and chandelier exits
- 2014Dual detrended oscillators and dual Bollinger Band channels
- 2014RSI, CCI, and moving-average trend-filter construction
- 2014Dual RSI, a moving average, and CCI as a confirmation stack
- 2017Constructing dual-average cross and channel-index filters
- 2018Treat CAM as a classification layer before confirmation becomes an entry
- 2018Four-state slope labels gated by a moving average and a commodity channel index
- 2018Deviation-Scaled Moving Average construction from a two-bar difference