2004issue C071-2
Volume-flow slope divergence, then separate on-balance-volume and crossover rules
This archive article puts a volume-flow series and the close on the same slope-percentage scale so disagreement can be coded. An on-balance-volume break-from-base and a two-average cross are then kept as separate, rejectable long-only rules rather than one blended overlay.
- Divergence is a signed, smoothed gap between a scaled volume-flow slope and a same-window price slope, used as a coded long-only timing condition rather than a visual pattern.
- A series that can cross zero first receives a positive-offset, because the slope-ratio construction is restricted to indicators that stay away from zero.
- A short volume-flow sign rule, a fading-divergence rule, a break-from-base, and a moving-average-crossover are stated as separate long-only tests.
- The same break-from-base is restated with on-balance volume so its short-window slope and moving-average position can be rejected on their own.
A common slope-percentage scale
Volume-flow, in this archive workflow, is a bounded volume-weighted oscillator built from typical-price change, a volatility cutoff, and a capped volume term, then exponentially smoothed. A linear-regression-slope is the fitted slope of a series over a chosen window, scaled by the absolute level of that series at the start of the window so two different series can be compared.
A divergence series is defined as the difference between a linear-regression slope of a positively shifted volume-flow series and the same-length linear-regression slope of the close, each scaled by the absolute level of that series at the start of the lookback and then smoothed with a 3-period exponential average. Divergence is used here as a signed gap and a coded long-only timing condition, not as a visual chart pattern.
The divergence lookback is exposed as an adjustable input with a stated range of 2 to 200 bars and a default of 120 bars.
Why a positive-offset comes first
The slope-ratio construction is restricted to indicators that stay away from zero. A series that can cross zero is first offset by the absolute value of its lowest reading plus 10 so that it remains positive. That positive-offset is what lets volume-flow sit on the same scaled-slope footing as the close before the two slopes are subtracted.
Four long-only rules kept apart
One long-only volume-flow rule uses a 26-period construction. It enters when a 7-period exponential average of that series is above zero and exits when that average is below zero.
A second long-only rule uses a 130-period volume-flow construction. It enters when the prior smoothed divergence reading is above 100, the current reading has declined from that prior value, and the volume-flow slope is positive. It exits if divergence is negative or the volume-flow slope is negative.
A third rule is a break-from-base. It enters long when volume flow is above -2, its 20-bar linear-regression slope is above 0.1, the series is above its 40-period exponential average, and the 30-bar price slope is positive but smaller than 0.6 percent of the close from 30 bars earlier. It exits if volume flow falls below -2 or that 20-bar slope is below -0.8. The joint condition requires a volume series to turn up from a shallow slope while the price slope stays modestly positive.
A fourth long-only rule is a moving-average-crossover. It enters when a shorter exponential average of the 130-period volume-flow series crosses above a longer one and exits on the opposite cross. The optimized short and long lengths given are 11 and 25.
The same base-break on on-balance volume
The same base-break entry is restated with on-balance volume: a 20-bar on-balance-volume slope above 0.1, on-balance volume above its 40-period exponential average, and the same 30-bar price-slope bounds. The exit is a 20-bar on-balance-volume slope below -0.8. On-balance volume is used here only through its short-window slope and its position versus a moving average.
What the workflow does not merge
Editorial note: the sign rule, the fading-divergence rule, the break-from-base, the on-balance-volume restatement, and the two-average cross remain separate tests. Each long-only rule can be accepted or rejected on its own stated conditions without treating them as a single overlay.
All readings on this track · 61 readings
- 1988Cumulative volume trend and 200-session polarity
- 1988Three clocks when cumulative volume led price
- 1988Payoff index checkpoints for open interest and divergence
- 1988Relative strength, stochastics, and on-balance volume as a turning-point stack
- 1988Signing volume by open interest change
- 1988Case study: weekly on-balance volume with trendlines and a 21-period average
- 1988Combining weekly and daily MACD divergences with on-balance volume
- 1988Restoring the original tests for market breadth, on-balance volume, and trendlines
- 1989Evaluating volume-weighted breadth extremes
- 1989Demand oscillator construction with a momentum overlay
- 1989Constructing a volume percentage ratio from advance-decline flow
- 1990Constructing net positive volume as On-balance volume
- 1990Buying-share scale with on-balance volume
- 1990Friday-filtered on-balance confirmation lines
- 1991Constructing rate-market volume breadth from on-balance volume
- 1991Building a breadth composite from on-balance volume breakouts
- 1992Constructing a rate-complex volume-breadth index
- 1992Constructing a breadth index from on-balance volume
- 1992Constructing signed market thrust from issue volume
- 1992Constructing indicator phase across averages, volume and bands
- 1993Force on-balance volume to agree with itself at slower horizons
- 1993Three transforms of market thrust from breadth and volume
- 1994Constructing a tick-line momentum oscillator
- 1994Constructing a smoothed on-balance tick momentum oscillator
- 1994Histogram confirmation and a second-series veto for MACD-family alerts
- 1994Constructing a 40-period envelope on on-balance volume
- 1996Constructing a matched percent-B volume disparity
- 1997Constructing calendar regime overlays and volume-weighted rules
- 1997Constructing market thrust from breadth and volume
- 1997Constructing on-balance volume as a signed running total
- 1997A three-layer construction for a signed volume-force oscillator
- 1997Constructing a range-sum volume-force oscillator
- 1999On-balance volume confirmation, price-indicator divergence, and bounded exits
- 2000A daily long-only confirmation stack on the tether line
- 2000A three-filter tether and volume trend system
- 2003Constructing finite volume elements as a finite-period money-flow filter
- 2003Constructing on-balance volume from signed session volume
- 2003On-balance volume as a market-breadth participation ledger
- 2003Construct a volatility-adjusted on-balance volume filter before confirming a breakout
- 2004Opening and midday ranges as an on-balance-volume breakout case
- 2004Constructing a volatility-gated volume-flow measure
- 2004Constructing a volume-flow series from on-balance volume
- 2004Volume-flow indicator construction from on-balance volume
- 2004Volume-flow slope divergence, then separate on-balance-volume and crossover rules
- 2004Volume flow and band construction as one inspectable problem
- 2004Auditing advance-decline confirmation for scale, horizon, and composition
- 2005Bounded market breadth from the Arms index to BRIN
- 2006Overnight-hold entry and exit construction
- 2007Evaluating Volume-price confirmation versus On-balance volume and MACD
- 2009Volume confirmation versus a price advance
- 2010Typeahead retrieval of a moving average, on-balance volume, and a stochastic oscillator
- 2010Modified volume-price trend and log-price scale alignment
- 2010Constructing liquidity accelerometers from advance-decline averages
- 2012Failed short cycles as breadth and volume tests
- 2016Earnings straddles, implied volatility, and money-flow filters
- 2017A volume residual filter and a price projection matrix
- 2019Volume-volatility parabola and signed-volume momentum
- 2019Separating on-balance volume into breadth and volume
- 2020Constructing the obvm signal line
- 2020Constructing smoothed on-balance volume with a signal line
- 2020Keep neutrality as a first-class input in three-state market data