Skip to main content
Track Commodity Channel Index
12 / 39
Library

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.
Entries in this reading1 entry

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

The finished 11-period commodity channel index for the Dow Jones Industrial Average, taken from column H of the sidebar spreadsheet. Typical price, its 11-day average, and mean deviation feed this scaled ratio; the oscillator is blank until the lookback is filled, then swings from deeply negative through a late-window high near +184.
The finished 11-period commodity channel index for the Dow Jones Industrial Average, taken from column H of the sidebar spreadsheet. Typical price, its 11-day average, and mean deviation feed this scaled ratio; the oscillator is blank until the lookback is filled, then swings from deeply negative through a late-window high near +184.Dow Jones Industrial Average · Daily

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.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
12 of 39 in the Commodity Channel Index track
19941-10 pp.Next on Commodity Channel IndexConfirming Elliott wave turns with channels and the commodity channel indexA complete bull-bear cycle is labeled as five impulse waves in the advance and three corrective waves in the decline, with the same grammar repeating at each smaller degree.
All readings on this track · 39 readings
  1. 1982Three gates on a 1982 pork-belly short
  2. 1982Scale-free Commodity Channel Index construction
  3. 1986Constructing a commodity channel index and a regression price channel
  4. 1987Constructing scaled OHLC matrices for study overlays
  5. 1987Constructing the commodity channel, average directional, and relative strength indexes on a shared cycle scale
  6. 1992Eleven-bar commodity channel index from typical price and mean deviation
  7. 1992Evaluating Commodity Channel Index breakout versus range rules
  8. 1992Evaluating breakout and CCI rules as complete mechanical procedures
  9. 1993Constructing stochastic, RSI and CCI inputs for forecasts
  10. 1993Nested centered channels with a commodity channel index confirmation gate
  11. 1993Listed-option timing as three separable clocks
  12. 1994Constructing an eleven-period commodity channel index
  13. 1994Confirming Elliott wave turns with channels and the commodity channel index
  14. 1995Commodity Channel Index band rules lag zero-line timing
  15. 1995Building the commodity channel index from typical price
  16. 1995Staged reversal rules with commodity channel index and average channels
  17. 1995Commodity channel index construction from typical price to a smoothed zero line
  18. 2001Reader tests for unfinished lookback oscillators
  19. 2002Constructing the commodity channel index from typical price
  20. 2003Breadth-filtered commodity channel index entry and exit rules
  21. 2003Constructing the Commodity Channel Index from typical price and scaled deviation
  22. 2003A shallow, poorly participated advance is an unconfirmed trend
  23. 2003CCI and RSI parameter defaults as scaling conventions
  24. 2003A cost and capital audit of a Commodity Channel Index trade engine
  25. 2003Commodity channel index peak divergence as an exit after twin patterns
  26. 2004Constructing the Commodity Channel Index from typical price
  27. 2004Constructing the Commodity Channel Index from typical price and mean deviation
  28. 2006Building custom indicators from the Commodity Channel Index, a least squares moving average and a rule-based entry
  29. 2012Confirming breakouts and retracements with CCI, ADX, and averages
  30. 2012Stacking oscillator lookbacks into a heatmap mosaic
  31. 2013Constructing a consensus and volatility-normalized value oscillator
  32. 2013Walk-forward system evaluation with a commodity channel index and chandelier exits
  33. 2014Dual detrended oscillators and dual Bollinger Band channels
  34. 2014RSI, CCI, and moving-average trend-filter construction
  35. 2014Dual RSI, a moving average, and CCI as a confirmation stack
  36. 2017Constructing dual-average cross and channel-index filters
  37. 2018Treat CAM as a classification layer before confirmation becomes an entry
  38. 2018Four-state slope labels gated by a moving average and a commodity channel index
  39. 2018Deviation-Scaled Moving Average construction from a two-bar difference
All 40 readings tagged Commodity Channel Index
Also on Commodity Channel Index5 readings