Skip to main content
Track Market breadth
69 / 71
Library

2013issue C0449-56

Cumulative advance-decline versus a one-year average

A charted construction pairs a cumulative advance-decline series with a one-year simple moving average of that same series. This article treats the long-or-flat crossover as a portable research object: freeze the scaled ratio and the above-or-below-average state, then name lookback length, accumulation start, and issue-count feeds before any test is treated as specified.

  • The charted object is a cumulative advance-decline series read against a one-year breadth moving average of that same series.
  • Coded rules follow a long-or-flat crossover: they are long while the series is above its average and flat when it is below, with no short side.
  • Each bar of the running total needs aligned issue-count feeds, a scaled advance-decline percent change, and a chosen accumulation start.
  • Lookbacks presented as a one-year average include 252, 254, 256, and 260 bars, and changing that length changes the intended horizon.
Entries in this reading3 entries

A paired series and a state threshold

A charted construction pairs a cumulative percent advance-decline series with a one-year simple moving average of that same series. The cumulative advance-decline series is a running total of a scaled daily ratio that compares advancing issues with declining issues. The breadth moving average is a simple average of that series over a stated lookback length, and it is the threshold that marks a long or flat state.

Cumulative advance-decline versus its 254-bar average

The filter stays long the Dow while the cumulative advance-decline line holds above its 254-session average and goes flat on a cross back under. Both series were read from the lower pane of the NeuroShell sample, which prints a 0–100,000 scale across 1995–2013.
The filter stays long the Dow while the cumulative advance-decline line holds above its 254-session average and goes flat on a cross back under. Both series were read from the lower pane of the NeuroShell sample, which prints a 0–100,000 scale across 1995–2013.Dow Jones Industrial Average · Daily · 1995-01-01T00:00:00.000Z to 2013-12-31T00:00:00.000Z

NeuroShell labels the smoother as a 254-bar average of the cumulative advance-decline line. Other implementations in the same tips unit use 252, 256, or 260 bars as a one-year stand-in. Readings are approximate: the pane is short relative to a 100,000-unit scale, so values are given to the nearest thousand.

How the cumulative series is computed

On each bar the increment is an advance-decline percent change: the session difference between advancing and declining counts, divided by their combined total, then multiplied by a fixed scale factor. Computing that running total requires separate issue-count feeds for advancing issues and declining issues, aligned bar-for-bar with the market being timed. Those stream numbers can be specified.

One script scales the daily advance-decline percent change by 1,000, adds the scaled value only when it is not missing, and averages the resulting cumulative series over a default length of 252 bars.

The same scaled daily advancer-decliner percent change that some short-horizon breadth oscillators double-smooth is here accumulated first and then passed through a one-year simple moving average.

The long-or-flat crossover

One coded strategy enters long when the cumulative series crosses above its moving average and exits the long, without opening a short, when the series crosses back below. One script places a buy when the cumulative series is above its average and a sell-to-close when the series is below its average.

One mechanical procedure stays long while the cumulative line is above its moving average and exits when the line is below. Users can set the averaging length and the share of equity per trade. One sensitivity run steps that length from 50 to 300 bars in increments of 5.

What has to be named first

A cumulative series can take different later values depending on the bar chosen as the accumulation start. That path dependence is one reason an alternative implementation averages a built-in advance-decline line instead.

Coded lookbacks presented as a one-year average of the cumulative series include 252, 254, 256, and 260 bars. The same breadth formula can be built on a custom portfolio rather than a single exchange-wide list, and changing the simple-moving-average period changes the intended horizon.

Editorial: Until lookback length, accumulation start, and issue-count feeds are stated, including whether the list is exchange-wide or a custom portfolio, the long-or-flat crossover is not a fully specified research object.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
69 of 71 in the Market breadth track
201330-32 pp.Next on Market breadthA one-year breadth average as a participation gateThe case study builds a participation procedure from a one-year moving average of a cumulative advance-decline line.
All readings on this track · 71 readings
  1. 1987How a failed rebound, weak breadth, and cycle dates broke the 1987 bull case
  2. 1988Diagnosing market bottoms with breadth, divergence and averages
  3. 1988Diagnosing index tops with breadth divergences
  4. 1988Record highs versus seven-day breadth and divergence
  5. 1989Constructing a percentage-scaled internals composite
  6. 1989Constructing a weekly block-tick breadth z-score
  7. 1989Constructing a dual-rate advance-decline oscillator
  8. 1989Normalize advance-decline series for a common-scale comparison
  9. 1990Unchanged-issue share as a narrow-breadth case study
  10. 1990Evaluating daily and weekly unsigned plurality breadth
  11. 1990Constructing paired new-high and new-low breadth indicators
  12. 1990Ten-day HI/LO extremes as a long-horizon breadth signal
  13. 1990Confirming index cycles with breadth, volume, and waves
  14. 1990Index cycle gates from breadth and volume
  15. 1990Constructing advance-decline breadth indicators
  16. 1990Weekly advance-decline oscillator: weight map, extremes, and spike cycle
  17. 1990Price-weighted construction distorts breadth, support, and trend
  18. 1991A peak-sequence test from the new-highs-to-advances-ratio
  19. 1991Fuzzy rules that turn daily market-breadth into a session consensus
  20. 1991From daily breadth tallies to a weighted consensus signal
  21. 1991Retesting market-breadth when market structure changes
  22. 1991Constructing TRIN as a breadth-volume ratio
  23. 1991Build the market clock before you read a price bar
  24. 1991A construction audit of the long-horizon trading index
  25. 1991Independent formula timers kept as a testable combination
  26. 1992When identical TRIN prints come from different pairings
  27. 1992Grade closing tick before a next-session breadth hypothesis
  28. 1992Noncumulative advance-decline swing confirmation
  29. 1992Five-day sum construction of the trading index
  30. 1992Daily closing-trin extremes and next-day direction
  31. 1992A three-layer audit: regime, breadth, and group RSI
  32. 1992Constructing a nine-state trend, momentum, and breadth score
  33. 1993Constructing a market-volume-impact rating from nested averages
  34. 1993When advance-decline confirmation counts the wrong universe
  35. 1993Constructing breadth momentum from advance-decline smoothing
  36. 1993Constructing a cumulative market-thrust line
  37. 1994Three-horizon construction of the Haurlan index
  38. 1994Checklist-gated session entry in 1993 index futures
  39. 1994Read one advance-decline pair through three windows
  40. 1994Constructing calibrated market-breadth summation indexes
  41. 1994Constructing a two-speed advance-decline oscillator and a calibrated summation
  42. 1995NYSE tick extremes and candlestick reversal entries
  43. 1995Assembling range, breadth, and a stored stop into one procedure
  44. 1995Restating market breadth timing rules as ratios
  45. 1995Constructing breadth ratio gates after lookback drawdowns
  46. 1995Building a short-range breadth and price oscillator
  47. 1996Constructing a smoothed advance-decline trend filter
  48. 1996Smoothed advance-decline alerts at the 1987 and 1990 turning points
  49. 1996Constructing breadth, RSI, and stochastic range filters
  50. 1996New-high and new-low counts as a breadth construction
  51. 1996Constructing the four-input breadth-volume ratio
  52. 1996Constructing the McClellan oscillator and a calibrated summation index
  53. 1996Declare the oscillator seed, then calibrate only the summation index
  54. 1997Three-gate centered strength in market-breadth construction
  55. 1997Daily advance-decline and new-high new-low breadth signals
  56. 1999Index-fund positions as a majority-vote committee
  57. 2000Tick, tiki and TRIN as a three-layer session confirmation stack
  58. 2000Constructing an advance-decline oscillator from one listed tape
  59. 2001Market breadth, beta, and volume-price confirmation
  60. 2001Regime context from relative venue volume, breadth, and intermarket spreads
  61. 2002When NYSE breadth misreads operating-stock participation
  62. 2003Two-gate breadth divergence and a trend filter for rally tops
  63. 2003Market internals confirm or diverge from the index
  64. 2004Constructing the McClellan oscillator and summation index
  65. 2005Intraday index-futures divergence as a three-part session hypothesis
  66. 2005Breadth summation levels as a short-term signal filter
  67. 2005Checking trend versus range with breadth and divergence
  68. 2011Constructing a Nasdaq hi-lo index from highs, lows, and issues traded
  69. 2013Cumulative advance-decline versus a one-year average
  70. 2013A one-year breadth average as a participation gate
  71. 2015Falsifying a healthy correction with breadth and support
All 120 readings tagged Market breadth
Also on Market breadth5 readings