Accumulation/Distribution Line (A/D) explained

By Oalgo · Last reviewed

The Accumulation/Distribution line (A/D line) is a running total of volume, where each candle adds or subtracts a share of its volume depending on where it closes inside its high-to-low range. A close near the high adds most of the volume, and a close near the low subtracts most of it. It has no setting.

Chart: example prices, then the amount each candle adds to the A/D line as bars above and below zero, and below that the A/D line itself, which is the running total of those bars.PriceAdded by each candle0A/D line
Example prices and volumes, made up for this page. The A/D line starts with the first candle's own amount.

How is the A/D line calculated?

#
  • For each candle, work out the multiplier: ((close − low) − (high − close)) ÷ (high − low). It is +1 when the close is at the high, 0 in the middle of the range and −1 at the low. A candle with no range (high = low) counts as 0.
  • Multiply the multiplier by the candle's volume. That is what the candle adds to the line.
  • A/D line = the running total of what every candle has added so far.
  • The first candle adds its own amount, so the line starts there and not at 0.

What does a worked example look like?

#
CandleHighLowCloseVolumeMultiplierAddsA/D line
1110100108100+0.6+6060
2112104106200−0.5−100−40
310910310950+1+5010
41081081083000 (no range)010

Candle 4 had the most volume of the four, but it has no range, so it adds nothing. The A/D number itself means little, because it depends on where the series starts. What counts is the direction of the line and whether it agrees with price.

How do you read the A/D line?

#
What you seeWhat it suggests
A/D rising along with priceCandles have mostly closed in the upper part of their ranges, with volume behind them.
A/D falling along with priceCandles have mostly closed in the lower part of their ranges, with volume behind them.
Price makes a new high but A/D does notCloses sat lower in their ranges than at the earlier high. Often called a divergence.
A/D rising while price is flatCandles are closing in the upper part of their ranges even though price is not moving up. Often called accumulation.
A/D falling while price is flatCandles are closing in the lower part of their ranges even though price is not moving down. Often called distribution.

A/D looks only inside each candle. A candle that closes at its high adds its full volume even if it opened far below the close of the candle before, because the gap is ignored.

How is the A/D line different from OBV and Chaikin Money Flow?

#
A/D lineOBVCMF
How a candle's volume is countedA share of it, set by where the close sits in the rangeAll of it, added or subtracted by whether the close is above or below the last closeA share of it, the same as the A/D line
What is drawnA running totalA running totalThe total over 20 candles divided by the volume of those 20 candles
ScaleOpen, depends on where it startsOpen, depends on where it starts−1 to +1
SettingNoneNone (its optional EMA line has 14)20 candles

OBV and Chaikin Money Flow have their own pages. CMF uses the same multiplier as the A/D line, but looks at a 20-candle window instead of a running total.

How do people use the A/D line in rules?

#
  • The A/D line higher than it was a set number of candles ago, as a check that volume agrees with a rise in price.
  • A new highest A/D of the last N candles at the same time as a new price high.
  • Price making a new high while the A/D line is lower than at the earlier high, often called a divergence.
  • The A/D line next to a trend indicator, so that two conditions must agree.

What can the A/D line not tell you?

#

The A/D line only knows where the close sits inside its candle and how much volume the candle had. It cannot tell who was buying or selling, and it ignores any gap from the candle before. One candle with very large volume can move the line a lot. Test any rule on past prices with a backtest, then forward test it.

In Oalgo you can tell Oalgo AI your A/D line rule in your own words, check the rule it builds, and test it. After testing, if you choose, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.

Read next