Back to Guides
Guide

What Is the Accumulation/Distribution Indicator?

The Accumulation/Distribution indicator is a running total of volume signed by where each bar closed. The formula, and three things it cannot tell you.

The Accumulation/Distribution indicator is a running total of each bar's volume, signed by where that bar closed inside its own high-to-low range. A close near the bar's high adds most of the volume, a close near the low subtracts most of it, and a close exactly in the middle adds nothing. Marc Chaikin created it.

Three things decide whether it is any use to you.

  • It cannot see a gap. Every bar is measured inside its own range, so a move that happens between two bars is invisible to the line. Two bars can show price rising 10 per cent while the line falls.
  • The level means nothing. The total starts from whatever bar your chart's history happens to begin on, so two charts of the same instrument can show A/D values nowhere near each other and both be correct. Read the slope, never the number.
  • The volume it reads is not traded size. ChartLabs bar volume is Dukascopy's indicative volume, summed over the bar. It is not a count of price updates. Treat it as a relative activity measure, not exchange volume.

Which Accumulation/Distribution is this?

Four different things share the name. This one is Chaikin's Accumulation/Distribution line, a formula using high, low, close and volume, totalled bar by bar. If you added something called Accumulation/Distribution from an indicator menu and it drew a single line in a panel under your chart, that is the one.

The others are Wyckoff's accumulation and distribution phases, a way of describing market structure with no formula and no line; the accumulation, manipulation and distribution cycle from the ICT material, again a description of phases rather than a calculation; and Williams' Accumulation/Distribution, a different indicator that uses no volume at all.

Where it sits in ChartLabs

ChartLabs has it. Open the chart's Indicators menu, go to the Standard list, and it is called Accumulation/Distribution under the Volume heading. It draws one line in its own pane below the price, and it has no settings at all, which matches the formula below.

Ours is Chaikin's line, following TA-Lib's AD. It is not Williams' Accumulation/Distribution, which is the different calculation named above and has no entry in the menu.

What is the Accumulation/Distribution formula?

Three steps. This is TradingView's version, which prints it correctly:

1. Money Flow Multiplier = ((Close - Low) - (High - Close)) / (High - Low)
2. Money Flow Volume     = Money Flow Multiplier * Period's Volume
3. ADL                   = Previous ADL + Current Money Flow Volume

Step 1 gives a number between +1 and -1. TradingView states the bound plainly: "The Money Flow Multiplier is always within a range of 1 and -1." Step 2 scales that by the bar's volume. Step 3 is a running total, which is what makes this a cumulative line rather than a per-bar reading.

Check any formula you find elsewhere against that version before you trust it, because several widely read explainers print it differently: LiteFinance groups the brackets so the division attaches to High minus Close on its own, WallStreetMojo adds a close-to-close condition the indicator does not have, Blueberry Markets' final step subtracts away the running total it has just built, and GetTogetherFinance swaps Close for Low in the second term.

MetaTrader's own help page is the one most likely to be in front of you, and it prints the line with four opening brackets and three closing ones, so the multiplication and division attach to High minus Close alone and the first term stays a raw price. On a bar with high 12, low 9, close 11 and volume 1,000, the correct contribution is +333.33 and the expression as printed gives -331.33. A bar that closed in the top third of its range comes out as distribution.

A worked example with round numbers

Numbers chosen to be easy rather than realistic, with the line starting at zero.

Bar one: high 40, low 20, close 35, volume 4,000.

  • Money Flow Multiplier = ((35 - 20) - (40 - 35)) / (40 - 20) = (15 - 5) / 20 = +0.5
  • Money Flow Volume = 0.5 x 4,000 = +2,000
  • ADL = 0 + 2,000 = 2,000

Bar two: high 38, low 28, close 30, volume 2,500.

  • Money Flow Multiplier = ((30 - 28) - (38 - 30)) / (38 - 28) = (2 - 8) / 10 = -0.6
  • Money Flow Volume = -0.6 x 2,500 = -1,500
  • ADL = 2,000 + (-1,500) = 500

The multiplier stayed inside +1 and -1 on both bars, because a close always sits somewhere inside its own bar. The line did not: it reads 2,000, then 500, in units of volume. Run the same two bars with volumes of four million and two and a half million and the line reads 2,000,000 then 500,000. The shape and the signals are the same, with numbers a thousand times larger.

Why can't it see a price gap?

Because the multiplier normalises every bar inside its own range and never looks outside it. TradingView says so: the multiplier "does not take into account the change in price range between periods. This means that if there is any type of gap in price, it won't be picked up by the ADL and therefore the line and price will become out of synch".

Two bars show what that costs you.

HighLowCloseVolumeMultiplierMoney Flow VolumeA/D line
Bar 110099991,000-1-1,000-1,000
Bar 21101091091,000-1-1,000-2,000

Both bars closed on their own low, so both score the minimum multiplier of -1 and both subtract their full volume. The close went from 99.00 to 109.00, up 10.1 per cent, and the A/D line fell to -2,000.

On those same two bars, On Balance Volume compares the second close with the first, sees 109 above 99, and adds the whole 1,000. One line goes down by a thousand and the other goes up by a thousand, on identical data. A/D asks where inside each bar the close landed. OBV asks only whether this close beat the last one. If the moves you care about happen between bars rather than inside them, the A/D line is not measuring them. MetaTrader puts the family resemblance like this: "In fact, this indicator is a variant of the more commonly used indicator On Balance Volume".

What happens on a bar where the high equals the low?

The multiplier has no defined value, because the formula divides by the bar's range and that range is zero. Zero divided by zero is undefined, not zero.

That bar is real: a flat minute on a thin pair, or a session where price does not move inside the bar at all. Every explanation of the formula divides by High minus Low, and none of them says what to do when it is zero, so whatever your chart draws on such a bar is that platform's choice rather than something the formula decided. Ours takes TA-Lib's choice: a bar with no range contributes nothing, and the total carries on from where it was. On a low-volume instrument or a very short timeframe, it is worth knowing which bars those are before a strange reading sends you looking for a cause.

How do you read it: what are the signals?

Two readings, in TradingView's treatment.

Trend confirmation: the line moves in the same direction as price. TradingView calls this "the simplest benefit of using the ADL", with the line moving alongside price during a strong uptrend or downtrend and confirming it.

Divergence: price and the line head in opposite directions. In TradingView's words, "Bullish ADL Divergence is when the ADL is trending upwards while price is trending down", read as buying pressure building, and the bearish case is the mirror of it.

Does the A/D indicator have overbought and oversold levels?

No, and it cannot have them, because the output is a running total in units of volume with no upper or lower bound.

Blueberry Markets writes that "The A/D indicator signals an overbought market condition when its value goes beyond 70" and that "any values below 30 indicate an oversold market condition". Those numbers belong to bounded oscillators that live between 0 and 100. On a cumulative volume total, 70 is a value the line passes through on its way somewhere else, on one instrument, on one chart's history. On an instrument with a thousand times the volume it is indistinguishable from zero.

For the same reason it is an unbounded running total rather than an oscillator, whatever menu it sits in.

Can you use it on forex, where there is no real exchange volume?

You can plot it, as long as you know what it is counting. LiteFinance is blunt about the problem: "It does not work well in Forex since the volumes of the foreign exchange market are unknown." LiteFinance goes on to recommend currency futures instead, which is a change of instrument rather than an answer for someone trading a pair.

On MetaTrader the volume figure is an argument you pass in, iAD(symbol, period, applied_volume), where the volume "Can be any of ENUM_APPLIED_VOLUME values". So which volume the line is built from is a setting, and the same bar can produce two different A/D values depending on how it is set. On a currency pair the usual MetaTrader figure is a count of price updates rather than traded size, and that count comes from one broker's feed, not the market's.

The shape of the line can still be informative. The number is not comparable between two feeds, and it was never comparable between two instruments.

What settings does the Accumulation/Distribution indicator have?

None of its own. There is no period, no lookback and no smoothing anywhere in the formula. On a platform where the volume type is an argument, as it is on MetaTrader, that argument is the only choice the formula leaves open. In ChartLabs there is nothing to set at all.

That is why pages promising the best Accumulation/Distribution settings have nothing to offer: every bar's contribution is fixed by its own high, low, close and volume. If you want something adjustable built on this line, the adjustment lives in a different indicator, such as the Chaikin Oscillator, which takes two moving averages of this line and has periods of its own.

How do you write an A/D rule you can test?

Name the event, the direction, the bar you read it on, and what has to confirm it. The level cannot appear in the rule at all.

Testable: "the A/D line has made a higher low while price has made a lower low, read on a closed 4-hour candle, and I enter on the next candle's open." Not testable: "the A/D is high." With no bound and no fixed starting point, high has no meaning here.

Write the divergence definition down before you begin, because divergence is the signal that invites hindsight. Decide how many bars back a swing low counts, decide which bar you take the entry on, and do not change either halfway through.

Then test it the usual way: one symbol, one timeframe, one date range, one written rule fixed before the first bar, the same volume feed and the same chart history throughout, every trade recorded including the ones you nearly took, and costs applied. Because the total is cumulative, the same test run on a chart loaded with five years of history and on one loaded with five months will show different A/D values at the same bar. That does not change the slope, which is what the rule should be reading, but it does mean any value you log is comparable only inside one run.

This suits manual testing, because you have to decide on the bar whether the condition is met rather than letting a script decide afterwards. On ChartLabs you step through real historical candles one at a time and place trades by hand, with the line in the pane below. Drawings and sub-panel indicators save as you work. Per-symbol commission and slippage feed every trade's P&L, balances and analytics.

For each trade, log the date and time, symbol and timeframe, the direction, entry, stop and exit, the result in R, whether the signal was agreement with price or a divergence, the A/D value at entry, and which data source the volume came from. The A/D value is comparable only within that one symbol, that one feed and that one chart history, which is worth writing next to it so you do not compare it with anything else later.

Next step

Pick one symbol, write the rule down with its divergence definition and its confirmation bar, and step through a date range candle by candle, counting what happened. ChartLabs has a 7-day free trial, no credit card required, on one plan at $20 a month or $200 a year. Start your free trial.

Related reading: forex backtesting, how to backtest a strategy step by step, and why backtest results and live results drift apart.

Related Topics

accumulation-distributionadlvolume-indicatorsindicatorsbacktesting