1994issue C051-2
Constructing an eleven-period commodity channel index
Rebuild the commodity channel index as four inspectable series: typical price, a matching-window average, mean deviation, and a scaled ratio. The lookback is a free construction choice, and the 11-period worksheet is only one worked case.
- The first series is typical price, formed by adding the high, low, and close and dividing the sum by three.
- The simple moving average of typical price and the mean deviation share the same freely chosen lookback window.
- The finished commodity channel index is typical price minus its moving average, divided by mean deviation multiplied by 0.015.
- In an 11-period worksheet, typical price, the window average, mean deviation, and the index can sit in successive columns so each step stays independently inspectable.
Why rebuild the index
Editorial note: this article treats the commodity channel index as a rebuildable four-step construction rather than a finished black box. The lesson is to audit typical price, a matching-window average, mean absolute deviation, and a fixed scale factor one term at a time.
The steps below are the historical construction workflow. The 11-period case is the worked example, not a required length.
Typical price
The first constructed series is a typical price formed by adding the high, low, and close and dividing the sum by three.
Typical price is the session high, low, and close averaged together and divided by three.
A matching-window average
The second series is a simple moving average of typical price taken over the same lookback used for the rest of the construction.
That lookback window is the freely chosen number of sampling intervals used for both the average and the mean deviation. The simple moving average is the unweighted mean of typical prices over that window.
Mean deviation
Mean deviation is obtained by taking the absolute difference between the current moving average and each typical price in the window, summing those deviations, and dividing by the window length.
In other words, mean deviation is the average of the absolute gaps between each typical price in the window and the current moving-average value.
The scaled ratio
The finished index is a ratio whose numerator is current typical price minus the current moving average and whose denominator is current mean deviation multiplied by 0.015.
The scaling constant is that fixed factor 0.015 applied to mean deviation in the denominator so the finished ratio is scaled. The commodity channel index is the ratio of typical price minus its moving average to scaled mean deviation.
When an 11-period build can start
In an 11-period build, the moving average, mean deviation, and index cannot be completed until 11 typical-price observations are available.
Keep each column inspectable
A worksheet can keep typical price, the window average, mean deviation, and the index in successive columns so each construction step remains independently inspectable.
Editorial note: reading those columns in order is the practical audit. If a later column cannot be traced to the earlier ones, the finished index is no longer a transparent rebuild.
Eleven-period CCI of the Dow Jones Industrial Average

Lookback is 11 daily bars; CCI uses (typical price minus its SMA) divided by 0.015 times mean deviation. Column H is empty for the first 10 data rows.
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