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

2017issue C0360-66

Constructing dual-average cross and channel-index filters

Write a dual-average cross as named lookbacks, an exact cross condition, and a stated exit. Keep the opposite cross as a bookkeeping twin, and hold a channel-style oscillator to the same written contract.

  • Name the short leg as a 50-bar average and the long leg as a 200-bar average before stating a cross.
  • Assemble the death-cross rule as the exact reverse of the golden-cross rule, and state a two-point stop as the buy-back.
  • Treat golden-cross and death-cross events as alternating marks in one series, and record them in a spreadsheet that can be checked bar by bar.
  • Editorial reading: hold a channel-style oscillator to the same contract of named lookback, exact condition, and stated exit.
Entries in this reading2 entries

Name the average legs and the cross

A moving average is a smoothed series of ordered prices over a stated bar count, used as the short and long legs of an explicit crossover rule. In this construction the short leg is a 50-bar average and the long leg is a 200-bar average.

A golden-cross is a construction in which a shorter-period average moves from below to above a longer-period average. A death-cross is the mirror construction, in which the shorter-period average moves from above to below the longer-period average. The death-cross rule is assembled as the exact reverse of the golden-cross rule.

State the exit beside the signal

Under the death-cross construction, the short average crossing below the long average is the sell condition, and a two-point stop is the stated buy-back condition. A two-point stop is a fixed-distance exit that can be compared with an average-based stop on the same trade path.

On one illustrated path, a two-point trailing stop triggered on 12/13/2016 while a 50-day moving-average stop would have triggered on 01/12/2017.

Keep the opposite cross as a twin

Golden-cross and death-cross events are treated as alternating signals in the same series, so death-cross marks sit between golden-cross marks in the sample list. The worked example enumerates six golden-cross events across a nine-year window. The transaction list used for the worked example contained five or six death-cross signals.

The construction is recorded as a spreadsheet of example transactions so each cross and stop can be inspected bar by bar.

Apply the same contract to a channel-style oscillator

A commodity-channel-index is a channel-style oscillator built from ordered price observations over a stated lookback and sampling interval, framed as an inspectable forecast-style filter. Editorial reading: write that oscillator the same way the dual-average rule is written, with a named lookback, an exact channel condition, and a stated exit, before any later comparison.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
36 of 39 in the Commodity Channel Index track
201850-56 pp.Next on Commodity Channel IndexTreat CAM as a classification layer before confirmation becomes an entryCAM is a four-state bar classifier built only from whether ADX and MACD are rising or falling on the latest bar.
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