How many stocks are joining the rally? The Advance/Decline Line
Short answerThe Advance/Decline Line (A/D line) answers this by counting. Each day it counts the members of a defined universe, such as all New York Stock Exchange (NYSE) issues or one index's members, that closed higher, subtracts those that closed lower, and adds the result to a running total. An index and A/D line rising together mean most members are taking part. When the index makes new highs while the A/D line falls, fewer stocks carry the gains: in this lesson's synthetic 100-stock example, the index rises 13.8% as the A/D line falls from 567 to −506. Such a divergence can last for months, so it warns about participation without timing a top.
Reading breadth beside the index keeps you from assuming that a rising index weighted by market value means most of its stocks are rising: a few very large companies can carry it while most members fall. The A/D Volume Line does the same job with the shares traded instead of the number of issues.
Valmy noteValmy's v1 strategy language includes the simple moving average and no other indicator, so the Advance/Decline Line and the Advance/Decline Volume Line are taught here for reading charts (as of 26 November 2026).
Scope note: Valmy v1 does not offer company shares, and its strategies evaluate one instrument at a time. Breadth studies need counts across many instruments, so this lesson helps you read breadth charts that others publish and question how any crypto version was built.
What market breadth measures, and why the universe matters#
Market breadth measures how many members of a defined group take part in a move. A member is an advance on a day when it closes above its previous close, a decline when it closes below, and unchanged when the two closes are equal. The defined group is the universe: for example, every issue listed on one exchange, or the members of one index. A breadth number is only as meaningful as its universe, so always ask what is being counted, who decides membership, and when a "day" ends.
Three choices change the answer.
Exchange universes include more than operating companies#
An exchange-wide A/D count gives one vote to every listed issue that traded, and an issue is not the same as a company. One company can have several listed issues, and a listed fund is not an operating company at all. StockCharts' ChartSchool says common stocks make up the majority of exchange breadth counts and names preferred stocks, closed-end funds and American depositary receipts (ADRs) among the other issue types. Prices of preferred stocks and bond funds tend to fall when interest rates rise, so a rate increase can pull an exchange-wide A/D line down while operating companies do well.
A small invented example shows the difference. Suppose an exchange lists four issues: Class A and Class B common shares of one operating company, the same company's preferred stock, and a closed-end fund that holds bonds. On a day when interest rates jump, the company reports strong results and both share classes close higher, while the preferred stock and the bond fund close lower.
- Counted by operating company, there is one member, the company, and it advanced: net advances +1. The fund is left out because it is an investment company, which pools investors' money in securities, not an operating company.
- Counted by exchange issue, there are four members: two advances (the share classes) and two declines (the preferred stock and the fund), so net advances are 2 − 2 = 0.
The company's common shares rose either way, but the issue count records an even split, because half of its members were responding to interest rates. Across thousands of issues, the same effect can bend an exchange-wide A/D line. In a 2011 article, Carl Swenlin of DecisionPoint put the NYSE at about 3,500 issues of every type, against about 1,800 common stocks in the NYSE Composite Index. Some data providers therefore publish common-stock-only breadth series, which leave out preferred stocks and funds; read the method to see whether a company with two share classes counts once or twice. Analysts disagree about which version is more useful, so check which one a chart uses.
Index universes change over time#
An index has a membership list that its provider revises. Companies are added and removed, often after a long rise or a long fall. This creates two problems. First, a running total keeps every past day's count even after the members behind it are gone. ChartSchool describes a long-term downward bias in the Nasdaq A/D line, which it links to the exchange's looser listing standards and to delisted companies whose earlier declines stay in the total. Second, if you rebuild a past A/D line from today's members, you leave out the companies that were removed, many of them after falling. That is survivorship bias, and it makes past breadth look healthier than it was.
Equal counts versus market-value weights#
Each member counts once in an A/D line, whatever its size. Many stock indexes weight members by market value instead, so their largest members move them most. The two can tell different stories, and that gap is the point of the indicator. In the synthetic universe used below, the five largest of 100 stocks made up 58.3% of the index's value on day 0, so those five could lift the index while most of the other 95 fell.
Crypto has no official breadth universe#
Stock market breadth counts come from a defined list: an exchange's listed issues or an index's members. Crypto markets have no equivalent. Anyone who builds a crypto A/D line must choose:
- A list. For example, the top 50 tokens by market value on a chosen date. Rankings change, and tokens that collapse or are delisted drop out, which creates the same survivorship problem as an index.
- Prices from where. The same token trades on many venues against different quote currencies, and their closes differ slightly. Stablecoins should be left out, since they are designed not to move.
- When a day ends. Crypto trades around the clock, so a "daily" change depends on the cutoff. Binance's spot API returns daily candles in UTC by default, with an optional time-zone setting, while its 24-hour ticker uses a rolling 24-hour window. Two dashboards can therefore show different counts for the same day.
These inputs are often unavailable or non-standard, so treat a crypto breadth chart as one analyst's construction and read its method before its conclusion.
Advance/Decline Line: a running count of rising minus falling issues#
The Advance/Decline Line is a running total of net advances, the number of advancing issues minus the number of declining issues, for one universe and one value per day. Its only input is each member's close compared with its previous close; volume and the size of each move are ignored, and unchanged issues add nothing. Its unit is issues. It has no lookback period: it accumulates from whatever start date and start value the chart provider chose, so the level means nothing on its own, and only its direction and its comparison with the index carry information. The settings that matter are the universe, the start date and the time that defines the daily close. The sources checked for this lesson do not credit the A/D line to a single creator.
Calculating the Advance/Decline Line step by step#
Each day, subtract declines from advances and add the result to the previous day's line. The table uses six consecutive days from the synthetic 100-stock universe charted in the next section (synthetic data). On day 60 the A/D line stood at 445 and the index closed at 1,070.85.
| Day | Advances | Declines | Unchanged | Net advances | A/D line | Index close |
|---|---|---|---|---|---|---|
| 60 | 445 | 1,070.85 | ||||
| 61 | 35 | 65 | 0 | −30 | 415 | 1,071.79 |
| 62 | 55 | 43 | 2 | +12 | 427 | 1,083.35 |
| 63 | 19 | 81 | 0 | −62 | 365 | 1,076.36 |
| 64 | 37 | 61 | 2 | −24 | 341 | 1,074.92 |
| 65 | 49 | 51 | 0 | −2 | 339 | 1,076.74 |
| 66 | 39 | 61 | 0 | −22 | 317 | 1,078.18 |
Working through it by hand:
- Day 61: 35 − 65 = −30, so the line moves from 445 to 445 − 30 = 415.
- Day 62: 55 − 43 = +12, so 415 + 12 = 427. The 2 unchanged issues are ignored.
- Day 63: 19 − 81 = −62, so 427 − 62 = 365.
- Days 64 to 66: −24, −2 and −22 take the line to 341, 339 and 317.
Advances, declines and unchanged issues add up to 100 every day, which is a quick check that no member was missed. Over the six days the A/D line fell 128 while the index rose 0.68%, from 1,070.85 to 1,078.18. More members fell than rose on five of the six days, yet the index closed higher than it started. That is a small version of the pattern the chart below shows over months.
Reading the Advance/Decline Line on a chart#
Read the A/D line against the index it describes. Both rising, or both making new highs, is confirmation: the rally is broad. The index making a new high while the A/D line makes a lower high is a bearish divergence: fewer members are carrying the move. The reverse, an index making a new low while the A/D line holds above its earlier low, is a bullish divergence. Figure 1 shows a synthetic universe of 100 stocks that was designed to produce a long bearish divergence.
- A, day 52: confirmation. From day 0 to day 52 the index rose to 1,060.6 and the A/D line rose to 567. Most members were rising with the index.
- B, day 138: divergence. The index reached 1,206.7, 13.8% above its level on day 52. The A/D line had fallen to −506 and had been below its day-0 level since day 78. Between day 52 and day 138, all five of the largest stocks rose, while 86 of the other 95 closed lower. The index was being carried by its heaviest members.
- C, day 168: the index follows. The index fell 12.8% from its high to 1,052.0, slightly below its level at the breadth peak (−0.8%). The A/D line kept falling, to −1,079.
The divergence was a correct warning here, but it lasted 86 trading days, more than four months, from the breadth peak to the index high. A reader who sold at the first sign of it gave up the 13.8% rise before the decline arrived. There is also a competing reading of point B: strong gains in a few very large companies can be justified by their own results, and breadth can recover later. A divergence says the rally depends on fewer stocks. It does not say when, or whether, the index will fall.
When the Advance/Decline Line misleads#
The most common failure is a divergence that persists. A divergence shows that participation is narrowing, and narrow rallies can run for a long time. In the example below, the A/D line peaked on day 28, yet the index rose another 25.9% over the next 122 trading days. It uses a second synthetic universe of 100 stocks, designed so that the five largest members keep rising for the whole period while most members drift lower.
The A/D line peaked at 404 on day 28 with the index at 1,059.1. The index then rose 25.9% to 1,333.7 on day 150, while the A/D line fell to −74. After day 28 the index never closed more than 1.0% below its day-28 level, and on day 168 it was still 21.0% higher. A trader who sold on the divergence and waited for it to "work" would have watched the index rise for half a year.
Real markets have produced both outcomes. StockCharts' ChartSchool describes a 2007 case in which the NYSE A/D line peaked in early June while the NYSE Composite made new highs in July, a divergence followed by the 2008 bear market. It also describes the Nasdaq A/D line falling from 2010 to 2012 while the Nasdaq rose, which it attributes to the universe's downward bias rather than to weak participation. Other ways the line misleads:
- The universe drifts. Interest-rate-sensitive issues in an exchange-wide count, or delisted members whose past declines stay in the total, can bend the line for reasons that have nothing to do with the stocks you care about.
- Different start dates, different levels. Two charts of the same universe can show different values because they started counting on different days. Compare shapes and turning points, not levels.
- Small universes are noisy. In a 30-stock index, one day's net advances can swing by most of the membership on a single news item.
- Counts ignore size of moves. A member that rises 0.1% counts the same as one that rises 10%.
Advance/Decline Volume Line: the same count weighted by shares traded#
The Advance/Decline Volume Line is a running total of net up volume: the shares traded in advancing issues (up volume) minus the shares traded in declining issues (down volume), for one universe and one value per day. Its inputs are each member's close compared with its previous close, and its volume for the day. Volume in unchanged issues is left out. Its unit is shares, usually millions, and like the A/D line it has no lookback, so its level depends on where the count started and only its direction carries information. It answers a slightly different question: are the shares being traded mostly in rising stocks or in falling ones? Heavily traded members count for more. The sources checked for this lesson do not credit it to a single creator.
Calculating the Advance/Decline Volume Line step by step#
Each day, subtract down volume from up volume and add the result to the previous day's line. The table uses the same six days and the same synthetic universe as the A/D line example above. Volume is in millions of shares, and on day 60 the line stood at 861.8.
| Day | Up volume | Down volume | Net up volume | A/D Volume Line |
|---|---|---|---|---|
| 60 | 861.8 | |||
| 61 | 109.1 | 125.3 | −16.2 | 845.6 |
| 62 | 156.0 | 57.0 | +99.0 | 944.6 |
| 63 | 57.5 | 151.1 | −93.6 | 851.0 |
| 64 | 93.5 | 117.7 | −24.2 | 826.8 |
| 65 | 89.9 | 111.0 | −21.1 | 805.7 |
| 66 | 93.6 | 147.0 | −53.4 | 752.3 |
By hand: on day 61, 109.1 − 125.3 = −16.2, so the line moves from 861.8 to 845.6. On day 62, 156.0 − 57.0 = +99.0, so it rises to 944.6. Days 63 to 66 subtract 93.6, 24.2, 21.1 and 53.4, ending at 752.3. Day 62 is the interesting one: 55 issues rose and 43 fell, a modest margin, but the rising issues traded almost three times as many shares (156.0 million against 57.0 million). The volume line rose 99.0 that day, while the A/D line rose only 12.
Reading the Advance/Decline Volume Line on a chart#
Read the volume line the same way as the A/D line: rising with the index is confirmation, and failing to follow the index to new highs is a divergence. When the two breadth lines disagree, the gap tells you that the heavily traded stocks are behaving differently from the typical member. In this synthetic universe the five largest stocks trade about 17 million shares a day each, against about 1.4 million for each of the others, so together they account for 39% of all volume.
- A, day 55: peak. The volume line peaked at 993.2 million shares, three days after the A/D line's peak.
- B, day 80: first warning. It fell to 2.5, almost back to its starting level, during a dip in the index.
- C, day 138: partial confirmation. As the index made its high, the volume line had recovered to 760.2, 77% of its peak. The A/D line, by contrast, was at −506, far below its peak of 567. The heavy-volume leaders were rising, so the volume line looked much healthier than the count.
- D, day 168: collapse. Once the leaders stopped rising, the volume line fell to −834.6.
One reading of point C is that buying was concentrated in a few large, heavily traded names, which is the same narrow rally the A/D line showed, seen from a different angle. A trader who looked only at the volume line would have seen a rally that was holding up.
When the Advance/Decline Volume Line misleads#
The volume line can be dominated by a few heavily traded stocks. On day 112 of the synthetic universe, 49 issues rose and 50 fell, so the A/D line slipped by 1. Yet the volume line rose 100.8 million shares, because up volume was 173.7 million and down volume 72.9 million. Four of the five leaders rose that day, and they alone traded 105.8 million shares, 61% of all up volume. The count said "evenly split", and the volume said "strong buying", but the buying was in four stocks.
Other ways it misleads:
- Shares are not dollars. Volume counts shares, so a low-priced stock carries more weight than its dollar trading suggests. A $5 stock trading 20 million shares ($100 million) adds ten times as much to up volume as a $200 stock trading 2 million shares ($400 million), although four times as much money changed hands in the second.
- Volume spikes have many causes. A heavy-volume day in one member, for example on company news, moves the line whether or not it says anything about the broad market.
- Crypto volume needs care. A token's volume is reported in its own units on each venue. Adding up volume in base units across different tokens is meaningless, so a crypto version needs a common unit, such as the quote currency, and a choice of venues, and it will miss trading elsewhere.
Check your understanding: the Advance/Decline Line and its volume version#
Question. A universe has 500 stocks, and its A/D line stands at 1,200 at the start of the week. Its cap-weighted index rises a little every day for five days. The daily counts and volumes (millions of shares) are:
| Day | Advances | Declines | Unchanged | Up volume | Down volume |
|---|---|---|---|---|---|
| 1 | 310 | 180 | 10 | 620 | 300 |
| 2 | 260 | 230 | 10 | 540 | 410 |
| 3 | 200 | 290 | 10 | 520 | 450 |
| 4 | 150 | 340 | 10 | 480 | 470 |
| 5 | 240 | 250 | 10 | 500 | 430 |
- What is the A/D line at the end of each day?
- Starting the A/D Volume Line at 0, what is it at the end of each day?
- What do the two lines suggest together, and what would you check before drawing a conclusion?
Show the answers
Answer.
- Net advances are +130, +30, −90, −190 and −10, so the A/D line goes 1,330, 1,360, 1,270, 1,080 and 1,070. It finished 130 lower than it started, and on day 4 decliners outnumbered advancers by about 2.27 to 1, even though the index rose every day.
- Net up volume is +320, +130, +70, +10 and +70, so the volume line goes 320, 450, 520, 530 and 600. It rose every day.
- The index and the volume line rose while most members fell after day 2. One reading: a few heavily traded stocks, probably large index members, are carrying the market, a narrow rally. That is a reason to watch, not proof of a top; as Figure 2 showed, a divergence can persist for months. Before concluding, check what the universe contains (for example, interest-rate-sensitive issues in an exchange-wide count), whether membership changed, and which stocks traded the extra volume.
Related lessons#
- Before this lesson: What does volume add to a price chart?
- Next: Is a rally broad or narrow? Stocks above their moving average and new highs minus new lows and What do the McClellan Oscillator and the Arms Index (TRIN) show?
- See also: How fast is price moving, and is it beating the market?, which compares one stock with its benchmark, What do I own when I buy a share through a broker? and When can I trade, and what happens to prices outside market hours?