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.
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

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.
All readings on this track · 71 readings
- 1987How a failed rebound, weak breadth, and cycle dates broke the 1987 bull case
- 1988Diagnosing market bottoms with breadth, divergence and averages
- 1988Diagnosing index tops with breadth divergences
- 1988Record highs versus seven-day breadth and divergence
- 1989Constructing a percentage-scaled internals composite
- 1989Constructing a weekly block-tick breadth z-score
- 1989Constructing a dual-rate advance-decline oscillator
- 1989Normalize advance-decline series for a common-scale comparison
- 1990Unchanged-issue share as a narrow-breadth case study
- 1990Evaluating daily and weekly unsigned plurality breadth
- 1990Constructing paired new-high and new-low breadth indicators
- 1990Ten-day HI/LO extremes as a long-horizon breadth signal
- 1990Confirming index cycles with breadth, volume, and waves
- 1990Index cycle gates from breadth and volume
- 1990Constructing advance-decline breadth indicators
- 1990Weekly advance-decline oscillator: weight map, extremes, and spike cycle
- 1990Price-weighted construction distorts breadth, support, and trend
- 1991A peak-sequence test from the new-highs-to-advances-ratio
- 1991Fuzzy rules that turn daily market-breadth into a session consensus
- 1991From daily breadth tallies to a weighted consensus signal
- 1991Retesting market-breadth when market structure changes
- 1991Constructing TRIN as a breadth-volume ratio
- 1991Build the market clock before you read a price bar
- 1991A construction audit of the long-horizon trading index
- 1991Independent formula timers kept as a testable combination
- 1992When identical TRIN prints come from different pairings
- 1992Grade closing tick before a next-session breadth hypothesis
- 1992Noncumulative advance-decline swing confirmation
- 1992Five-day sum construction of the trading index
- 1992Daily closing-trin extremes and next-day direction
- 1992A three-layer audit: regime, breadth, and group RSI
- 1992Constructing a nine-state trend, momentum, and breadth score
- 1993Constructing a market-volume-impact rating from nested averages
- 1993When advance-decline confirmation counts the wrong universe
- 1993Constructing breadth momentum from advance-decline smoothing
- 1993Constructing a cumulative market-thrust line
- 1994Three-horizon construction of the Haurlan index
- 1994Checklist-gated session entry in 1993 index futures
- 1994Read one advance-decline pair through three windows
- 1994Constructing calibrated market-breadth summation indexes
- 1994Constructing a two-speed advance-decline oscillator and a calibrated summation
- 1995NYSE tick extremes and candlestick reversal entries
- 1995Assembling range, breadth, and a stored stop into one procedure
- 1995Restating market breadth timing rules as ratios
- 1995Constructing breadth ratio gates after lookback drawdowns
- 1995Building a short-range breadth and price oscillator
- 1996Constructing a smoothed advance-decline trend filter
- 1996Smoothed advance-decline alerts at the 1987 and 1990 turning points
- 1996Constructing breadth, RSI, and stochastic range filters
- 1996New-high and new-low counts as a breadth construction
- 1996Constructing the four-input breadth-volume ratio
- 1996Constructing the McClellan oscillator and a calibrated summation index
- 1996Declare the oscillator seed, then calibrate only the summation index
- 1997Three-gate centered strength in market-breadth construction
- 1997Daily advance-decline and new-high new-low breadth signals
- 1999Index-fund positions as a majority-vote committee
- 2000Tick, tiki and TRIN as a three-layer session confirmation stack
- 2000Constructing an advance-decline oscillator from one listed tape
- 2001Market breadth, beta, and volume-price confirmation
- 2001Regime context from relative venue volume, breadth, and intermarket spreads
- 2002When NYSE breadth misreads operating-stock participation
- 2003Two-gate breadth divergence and a trend filter for rally tops
- 2003Market internals confirm or diverge from the index
- 2004Constructing the McClellan oscillator and summation index
- 2005Intraday index-futures divergence as a three-part session hypothesis
- 2005Breadth summation levels as a short-term signal filter
- 2005Checking trend versus range with breadth and divergence
- 2011Constructing a Nasdaq hi-lo index from highs, lows, and issues traded
- 2013Cumulative advance-decline versus a one-year average
- 2013A one-year breadth average as a participation gate
- 2015Falsifying a healthy correction with breadth and support