Advance/Decline Breadth
5 algorithms in Market Breadth and Internals · 5 with asserted arithmetic.
In this family#
-
Net Advances verified
Advances minus declines for a session. The simplest breadth measure and the input to most of the others — its value is that it counts companies rather than weighting them, so it says what *most* of the market did.
calculateNetAdvances(request) -
Advance/Decline Ratio verified
Advances divided by declines. Scale-free where net advances is not, so readings stay comparable as the universe grows — the reason a raw A/D count from the 1960s cannot be compared with one from today.
calculateAdvanceDeclineRatio(snapshot) -
Cumulative Advance/Decline Line verified
Runs net advances into a cumulative line. Its level is arbitrary; the information is in the shape, and specifically in divergence — when the index makes a high the line does not, participation is narrowing.
calculateCumulativeAdvanceDeclineLine(contract, events, knowledgeCutoff) -
Normalized Advance/Decline Line verified
Divides net advances by the number of issues traded before accumulating, which keeps the line comparable across decades as listing counts change.
calculateNormalizedAdLine(records, options) -
Absolute Breadth Index verified
The absolute difference between advances and declines — direction discarded on purpose. It measures how *decisive* a session was, not which way, so it reads as an activity or conviction gauge rather than a directional signal.
evaluateAbsoluteBreadthIndex(request)
What they share#
Every topic here is a record-transform</code> or <code>snapshot-evaluate, so once you have
called one the rest follow the same shape. Import paths differ only in the final segment:
import { calculateNetAdvances } from "fintech-algorithms/market-breadth-and-internals/advance-decline-breadth/net-advances";
import { calculateAdvanceDeclineRatio } from "fintech-algorithms/market-breadth-and-internals/advance-decline-breadth/advance-decline-ratio";Read them in the order above — the sequence is pedagogical, not alphabetical.
Where this sits#
Market Breadth and Internals collects 28 algorithms across 5 families. For the concept behind this family rather than the call signatures, see the concept guides.