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

2012issue C0314-22

Stacking oscillator lookbacks into a heatmap mosaic

A single-length oscillator chart shows one lookback period in detail. This archive article treats that plot as one slice of a heatmap mosaic, so shorter-period turns and longer-period persistence can be read together without first choosing one length.

  • A conventional oscillator plot is one horizontal slice of a heatmap mosaic that stacks the same model across many lookback periods.
  • Color encoding replaces a printed reading so each slice can be scanned as bullish, bearish, hot, or cold.
  • Shorter slices are meant to show a short-period lead, while longer slices are meant to supply long-period confirmation of whether a condition persists.
  • The same construction is specified for the relative strength index, the stochastic oscillator, and the commodity channel index, so a default length is an open choice rather than a unique correct setting.
Entries in this reading3 entries

One lookback is only one slice

A conventional single-length plot, such as a relative strength index line crossing a fixed threshold, shows one period in detail. It does not show how that reading behaves across a range of lookbacks. The relative strength index is treated here as a bounded oscillator whose conventional single-length plot is one slice of a multi-period heatmap.

When only one length can be plotted, a single middle-ground lookback is the usual compromise. A conventional default such as a 14-bar relative strength index lookback is treated as an open construction choice rather than a unique correct length.

Editorial interpretation: that compromise is single-period myopia. Choosing one middle-ground lookback to avoid noise hides the rest of the period range.

How the heatmap mosaic is stacked

A multi-lookback heatmap is built by computing the same technical indicator at many lookback lengths and stacking those readings as horizontal slices. The vertical axis runs from shorter periods at the bottom to longer periods at the top.

Each vertical position is a different lookback period. The same multi-lookback heatmap construction is specified for the relative strength index, the stochastic oscillator, and the commodity channel index, so each listed model is rendered as a family of period slices rather than as one default length. The commodity channel index is included as a classic oscillator in that same family.

Color encoding instead of a printed number

Numeric oscillator values are replaced by a color scale so that each slice can be scanned as bullish, bearish, hot, or cold rather than as a single printed number. That mapping is the color encoding of the heatmap mosaic.

The stochastic oscillator is constructed as a momentum measure of where the latest close sits between the highest and lowest closes over the chosen lookback. In the heatmap version it is colored green for an expected bullish state, red for an expected bearish state, and yellow when the state is indeterminate.

Short-period lead and long-period confirmation

Shorter-period slices are intended to flag a change earlier, while longer-period slices are intended to show whether the same condition persists.

The earlier color change at the bottom is the short-period lead, used as the first sign that conditions may be shifting. The slower color change at the top is long-period confirmation, used to judge whether a move is persisting rather than a brief spike.

Why the periods stay fixed

Dynamically changing the lookback to fit measured conditions is presented as an alternative that can add noise or lag. That is the adaptive-lookback tradeoff.

The construction keeps many fixed periods visible at once instead of collapsing them into one adaptive length.

A historical futures illustration

On a 15-minute stock-index futures example dated 23 to 25 October 2011, shorter-period heatmap slices changed color before the longer-period slices. Volume color was used alongside the oscillator heatmap to describe an early, then fading, then reversing swing.

Editorial interpretation: the dated example is a historical picture of short-period lead appearing first, then longer slices catching up or fading. It is not evidence of present-day performance.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
30 of 39 in the Commodity Channel Index track
201342-45 pp.Next on Commodity Channel IndexConstructing a consensus and volatility-normalized value oscillatorThe relative strength index and the stochastic oscillator are presented as classical tools for a short-term relative valuation of a price series.
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