2004issue C101-3
Constructing the Commodity Channel Index from typical price and mean deviation
The Commodity Channel Index is finished once typical price, its simple average, mean deviation, and the 0.015 scaling constant are locked. Editorial reading: the same plus-or-minus 100 channel rails can then be wired as a breakout timer, a reversal hook, or an oscillator fade.
- Assemble typical price, a simple average, mean deviation, and the 0.015 scaling constant before any crossing rule is attached.
- The scaling constant is applied so that about 70 to 80 percent of readings stay between the +100 and -100 channel rails.
- The finished series can be read as a breakout sequence, a reversal hook after the index has already left the channel, or a divergence and oscillator gauge.
- After the original cycle-timing setting receded, the same construction was reused as a trend and momentum gauge of deviation from a moving average.
Finish the scale before the rule
The Commodity Channel Index is built from a typical price equal to the high, low, and close divided by three, then an n-period simple average of those typical prices. Mean deviation of the same typical-price window is the scaling base.
Editorial reading: lock that typical-price average, the mean-deviation scale, and the channel mapping before any crossing rule is attached. The series has to exist as a scaled deviation from its average before it can be treated as a timer, a hook, or a fade.
Typical price, mean deviation, and the scaling constant
Typical price is the bar average formed from high, low, and close. The lookback then takes a simple average of those typical prices.
Mean deviation is the average absolute gap between each typical price in the lookback and their simple mean. The index equals current typical price minus that average, divided by 0.015 times the mean deviation.
The 0.015 factor is the scaling constant. It is applied so that about 70 to 80 percent of readings stay between the +100 and -100 channel rails.
Cycle lookback when the series is a timer
When the series is used as a cycle timer, the cycle lookback is kept shorter than one third of the cycle length.
How the same channel rails get wired
One documented rule treats a break above +100 as a long signal and a later downward crossing as the exit, with the mirror sequence at -100 for shorts.
A later rule variation generates a long only after the index has gone below -100 and then turns up, and a short after it has gone above +100 and then turns down. Editorial note: that later sequence is a reversal hook, a turn back toward the channel after the index has already left it.
The same series can be read as a divergence detector when price makes a new extreme and the index does not, or as an overbought or oversold oscillator outside the plus-or-minus 100 band.
Reuse after cycle timing receded
After the original cycle-timing setting receded, the same construction was reused as a trend and momentum gauge of deviation from a moving average, analogous to a price channel. Editorial reading: the typical-price average and mean-deviation scale stay in place while the job assigned to the channel rails changes.
20-period CCI on July 2004 crude with the ±100 rails

The plot is eSignal CCI(20, C) on the daily close of CL N4. Lambert’s sidebar instead uses typical price (H+L+C)/3, mean deviation, and a 0.015 multiplier so that about 70–80 percent of values stay inside ±100. Dates between the weekly axis ticks are approximate; readings other than the stated +163.72 and the printed −153.3 are digitized to the nearest five index points.
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