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

1982issue C051-5

Scale-free Commodity Channel Index construction

Editorial reading: the Commodity Channel Index is a scaling construction. Once a cycle length is assumed, typical price, a simple moving-average benchmark, and a mean-deviation divisor convert session ticks into a channel that can be compared across contracts.

  • The Commodity Channel Index is a timing tool for markets already treated as seasonal or cyclical. It does not estimate cycle length.
  • Each session is reduced to a typical price. A simple moving average and a mean-deviation divisor then scale the gap so that 70 percent to 80 percent of random fluctuations fall inside a plus-or-minus 100 channel.
  • Data-base length is the critical construction choice: a short window treats ordinary daily fluctuation as cycle turns, a long window delays breakout recognition, and the window should stay shorter than one third of the assumed cycle.
  • In the published construction, a reading above +100 marks a long setup and a return below +100 closes that long, with a symmetric pair of rules at -100. The thresholds can be changed.
Entries in this reading3 entries

Construction as a scaling problem

Editorial reading: oscillator construction here is a scaling problem. Once a cycle length is assumed, typical price, a simple moving-average benchmark, and an adaptive variability divisor convert raw ticks into a channel that can be compared across contracts.

The Commodity Channel Index is built as a timing tool for markets already treated as seasonal or cyclical. It does not estimate cycle length.

Typical price as the session input

Each session is reduced to a typical price equal to one-third of the high, low, and close. Typical price is the ordered price input to the channel index.

A simple moving-average benchmark

Current price is compared with a simple moving average rather than an exponentially smoothed average so the benchmark updates and distant history does not dominate present patterns. A moving average of those typical prices is then formed over N sessions.

Why the divisor has to adapt

A daily-limit divisor is rejected because an equal-sized price move does not always have the same significance. The divisor must stay small in quiet oscillation and grow when a breakout appears.

Mean deviation is the selected divisor after alternative divisors were tested. It is the average absolute gap between recent typical prices and their moving average, used as a variability divisor that widens when prices break out. A mean absolute deviation of those typical prices is formed over the same N sessions. The daily calculation is described as impractical to perform by hand.

Scaling the gap into a channel

The index equals the gap between today's typical price and that moving average, divided by 0.015 times the mean deviation, so that 70 percent to 80 percent of random fluctuations fall inside a plus-or-minus 100 channel.

Published setup rules

In the published construction, a reading above +100 marks a long setup and a return below +100 closes that long, with a symmetric pair of rules at -100. The thresholds can be changed.

Data-base length is the critical choice

Lookback length is the critical construction choice. Data-base length is the number of sessions in the moving average and mean-deviation windows. A short data base treats ordinary daily fluctuation as cycle turns, while a long data base delays breakout recognition.

On a theoretical perfectly cyclic contract, a 10-day data base detected cycle tops well but breakout detection weakened on short cycles. Tests with 5-, 15-, and 20-day bases suggested the data base should stay shorter than one third of the assumed cycle length.

A 20-session data base was adopted as the standard program length, with allowable windows from 5 to 25 sessions, after a 5-session window was judged more exposed to whipsaws despite stronger theoretical detection on the cyclic test series.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
2 of 39 in the Commodity Channel Index track
19861-11 pp.Next on Commodity Channel IndexConstructing a commodity channel index and a regression price channelThe commodity channel index starts from typical price, uses a dominant-cycle moving average and mean deviation, and scales the current gap so that most readings fall inside a plus-or-minus 100 band.
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