The Accumulation/Distribution Line: What It Adds Up and Why
The Accumulation/Distribution Line is a running total of volume, signed by where each bar closed inside its own range. It is a better idea than On Balance Volume and it contains one genuine flaw that nobody who uses it should be unaware of.
In one sentence:
It keeps a running total of trading volume, adding more when bars close near their highs and subtracting more when they close near their lows.
Accumulation/Distribution Line at a glance
| Difficulty | Intermediate, simple to read, but the formula’s blind spot needs knowing |
| Calculation | Volume × ((close − low) − (high − close)) / (high − low), accumulated over time |
| MT5 location | Ships as standard, listed as Accumulation/Distribution. Insert → Indicators → Volumes → Accumulation/Distribution |
| Settings | Almost none: only Applied Volume (Tick or Real). There is no period to tune |
| Scale | A cumulative running total. The absolute value is arbitrary and depends on where the chart history begins |
| Effectively duplicates | OBV, of which it is a refined version; overlaps MFI and the Chaikin Oscillator, which is built directly from it |
| Known flaw | Ignores gaps entirely; it can rise through a gap-down collapse |
| What kills it | Tick volume on FX, narrow-range bars, and reading its absolute level as if it meant something |
What it is and why it works
The formula has two parts and both are worth understanding before any trading advice, because everything the indicator gets right and wrong comes from them.
First, for each bar, work out where the close finished within the bar’s range. The calculation is (close − low) minus (high − close), all divided by (high − low). This is called the Close Location Value, and it produces a number between +1 and −1. A close exactly at the high scores +1. A close exactly at the low scores −1. A close in the middle scores 0. The premise is straightforward: if buyers really controlled a bar, they would not permit it to close near the low.
Second, multiply that score by the bar’s volume, and add the result to a running total. That total is the A/D Line. A bar with a close near the high and heavy volume adds a lot; a bar with a close near the high and thin volume adds a little; a bar that closes mid-range adds almost nothing regardless of how much volume it had.
Compare that with On Balance Volume, which does something cruder. OBV adds the entire bar’s volume if the close is above the previous close and subtracts all of it if the close is below, with no gradation. A bar that closes one tick higher counts exactly the same as one that closes a hundred points higher. The A/D Line is a genuine improvement on that, and if you run both you are running two versions of the same idea, one of which is strictly less informative.
Now the flaw. The Close Location Value only ever looks inside a bar. It never compares the bar to the one before it. So an instrument that gaps sharply lower and then rallies within its new, much lower range produces a strongly positive contribution to the A/D Line, even though every holder from yesterday is deeply underwater. On gapping instruments (indices, shares, anything over a weekend) the A/D Line can rise through a collapse. That is not a quirk to be managed around; it is the formula doing exactly what it was written to do, and it is why the line must not be trusted blindly across gaps.
How to trade it, step by step
- Add it and set the volume source deliberately. In MT5 go to Insert → Indicators → Volumes → Accumulation/Distribution. There is only one setting that matters: Applied Volume. On spot forex this defaults to tick volume, which counts price updates rather than traded size. Where your broker provides Real volume, use it, because that is the input the formula assumes.
- Ignore the number on the scale entirely. The A/D Line is a running total that started wherever your chart history starts, so its level is an accident of how much data your platform loaded. Only its slope and its shape relative to price carry information. If you find yourself noting a level, stop.
- Read the slope against the trend in price. Rising price with a rising A/D Line means the advance has been accompanied by bars that keep closing strongly on reasonable volume. Rising price with a flat A/D Line means price is drifting up on bars that are closing mid-range, which is a materially different situation.
- Look for divergence at swing extremes and nowhere else. The one thing this indicator does that price cannot is show you that a new high was reached without the accumulation that produced the previous one. Compare the A/D Line at the current swing extreme against its value at the previous one. Divergence anywhere other than at a comparable structural point is just two lines being different shapes.
- Manually discount any bar that gapped. Before drawing a conclusion, check whether the period you are reading contains gaps. If it does, the A/D Line has ignored them, and its reading over that stretch is unreliable in a specific and predictable direction. On instruments that gap regularly this is a routine part of using the tool, not an edge case.
- Confirm breakouts with it rather than generating entries from it. When price breaks a structural level, ask whether the A/D Line broke its own recent range at the same time. If it did, participation followed price. If the line is flat while price breaks, the move was made by fewer participants than it appears.
- Restrict it to liquid hours. Both halves of the formula degrade in thin conditions. Narrow ranges make the close location value unstable, and low volume makes each contribution negligible. Read it during the main sessions for the instrument, and disregard it overnight.
- Do not run OBV alongside it. They measure the same thing, one with gradation and one without. Choose the A/D Line for its finer weighting, or OBV for its simplicity, but running both and calling their agreement confirmation is self-deception.
Size every one of those entries with the position size calculator and check the trade is worth taking with the risk/reward calculator before you commit.
The conditions it needs
Exchange-traded instruments with real volume
This is the environment the indicator was built for. Shares, index futures and commodity futures report actual traded size, so the volume weighting means what it claims. Marc Chaikin designed the tool for equities, and it remains most trustworthy there.
Spotting accumulation during a sideways price range
Its best genuine use. When price is going nowhere but the A/D Line is steadily climbing, bars are consistently closing in the upper part of their ranges without price making progress: the classic signature of someone building a position without moving the market. That is a real observation the price chart alone does not offer.
As a source of disagreement with price-based oscillators
Nearly every oscillator on a typical chart is a function of closing price. The A/D Line uses the high, the low, the close and volume, so it can genuinely contradict them. That capacity to disagree is the whole reason to have it, and arranging your rules so you only act when it agrees with everything else discards its value.
Non-gapping, continuously traded markets
The formula’s blind spot is gaps, so it is most reliable where gaps are rare. Continuously traded FX during the week, or index CFDs read intraday within a session rather than across the overnight break, avoid the worst of the problem.
When it fails
- It is blind to gaps, and this is a genuine defect. A market that gaps down heavily and then closes near the high of its new range adds strongly to the A/D Line. The indicator can therefore climb steadily through a crash. Any conclusion drawn across a gap without adjustment is unreliable by construction.
- Tick volume undermines it on forex. Spot FX has no central exchange, so the volume input is a count of price updates from your own broker. The line still has a shape, but its magnitude is broker-specific and no comparison between instruments or brokers is valid.
- Narrow-range bars destabilise the multiplier. The close location value divides by the bar’s range. On a doji or a quiet overnight bar, a single tick difference in where the close landed can swing the multiplier from near +1 to near −1, injecting noise straight into a cumulative series that never forgets it.
- Cumulative series carry their errors forever. Because the line is a running total, one bad bar (a bad tick, a feed glitch, a thin holiday session) permanently shifts every value after it. There is no lookback window that eventually drops it out, which is a meaningful difference from almost every other indicator.
- Divergence is not a timing tool. A/D divergence can persist for weeks while price continues in the original direction. It describes the quality of participation behind a move, not when that move will end, and traders who enter against a trend on the strength of it usually do so far too early.
- Its absolute level means nothing. The value depends entirely on how far back your chart history goes. Two traders looking at the same instrument on the same day with different history depths will see completely different numbers. Any rule involving a fixed A/D level is meaningless.
Markets it is most informative on
- SPX500 (S&P 500): Deep reported volume and long accumulation phases; the market type the indicator was designed for.
- GER40 (DAX): Concentrated cash-hours participation makes the accumulation signature readable within the session.
- Gold (XAU/USD): Extended range phases where quiet accumulation ahead of a breakout is exactly what the line can show.
- Oil (WTI Crude): Real futures volume and clear participation surges around inventory data.
For different levels of experience
If you are brand new
Picture each bar as a small contest. If price finishes the bar near the top, buyers won it. If it finishes near the bottom, sellers won. The A/D Line keeps score, and it weights each result by how much trading took place; a bar with lots of activity counts for more than a quiet one.
What you do with it is simple and it is only one thing: compare the direction of the line with the direction of price. If both are rising, the advance is being supported by bars that keep closing strongly. If price is rising and the line is not, price is drifting up without that support, which is worth knowing before you buy into it.
Two warnings. Do not look at the number on the side of the pane; it is a running total with an arbitrary starting point and it means nothing. And be aware that the calculation only ever looks inside one bar at a time, so if the market jumps overnight the line completely ignores the jump. That is not a bug you can fix; it is how the formula works.
If your results are inconsistent
If you are running both OBV and the A/D Line, drop one. They implement the same concept, and OBV is the coarser implementation because it counts a one-tick up close identically to a hundred-point one. Two versions of one idea agreeing is not confluence, and the chart space is better spent on something that can actually contradict them.
The adjustment that will change your results most is learning to read the line during ranges rather than during trends. In a trend, the A/D Line rises with price and tells you very little you did not already know. In a range, where price makes no progress at all, a steadily climbing line is genuinely informative; it says bars are closing in the upper part of their ranges consistently while price stays flat. That is the situation this tool is uniquely good at describing.
And build the gap check into your routine. Scroll back through the instruments you trade, find the bars that gapped hard, and look at what the line did. Seeing it climb through a gap-down with your own eyes is the fastest way to calibrate how much to trust it.
If you are experienced
The A/D Line is a cumulative signed-volume estimator where the sign is inferred from intrabar close position. That inference is the interesting assumption. It approximates trade-signing without tick data, and its accuracy depends entirely on the close being informative about the direction of aggressor flow. At a session close with a settlement auction, reasonable. At an arbitrary bar boundary in a 24-hour market, considerably weaker, and it degrades further as bar range approaches the tick size, where the divisor makes the estimator unstable.
Two structural properties dominate its behaviour in any systematic use. It is non-stationary by construction, so the raw series cannot be used directly in anything expecting a stable distribution; differences or a rate of change are required. And because it is cumulative with no forgetting, a single erroneous or anomalous print shifts the entire subsequent series permanently, which makes data hygiene a hard prerequisite rather than a refinement.
The gap blindness is straightforwardly correctable if you are building your own version: include the open-to-previous-close move in the signing rather than restricting the numerator to the intrabar range. Doing so produces a materially different series on gapping instruments and removes the tool’s most embarrassing failure. The standard MT5 implementation does not do this, so if gap handling matters to your model you need a custom implementation rather than the shipped indicator.
Risk management for this strategy
The A/D Line produces no stop, no target and no size. It is a cumulative volume total with an arbitrary origin, so nothing about it converts into risk in currency terms. Stops come from structure and size comes from the position size calculator.
The risk it introduces is a subtle one: false confidence. Because it is built from volume, it feels like a view of what real money is doing, and that feeling encourages traders to hold losing positions longer and to size larger. On spot forex, where the volume input is a tick count, that confidence has very little behind it.
There is a specific version of this worth naming. Divergence between price and the A/D Line is frequently used as a reason to stay in a losing counter-trend position, “the accumulation is still there.” Divergence can persist for weeks. If the structural level that defined your stop has been broken, the trade is wrong regardless of what a cumulative volume line is doing.
Where Market Structure Pro fits
The A/D Line asks you to hold two things in mind at once: what price is doing, and what participation is doing underneath it. That is a genuinely useful pairing and a genuinely difficult one to weigh under pressure, particularly when the two disagree and you have already formed a view.
Market Structure Pro removes that reconciliation step. It fuses 27 tools into one verdict (TRADE, TRANSITION or NO TRADE) with a confidence percentage, an A/B/C grade and a plain-English explanation of what is supporting or limiting the read. Participation is weighted alongside structure, volatility, session and spread rather than sitting in its own pane waiting to be interpreted.
Its session awareness matters particularly for a volume-based tool. An A/D reading built from a handful of overnight ticks and one built during the London–New York overlap are not comparable, and MSP grades a setup against the conditions it is actually appearing in rather than against a generic assumption of liquidity. And because the verdict locks on the closed bar and does not repaint, the participation read you acted on is still there in the same form when you review the trade, which is the only way to find out whether you were reading it correctly.
One verdict with a confidence score, an A/B/C grade and a plain-English reason. Non-repainting, on every MT5 instrument and timeframe.
Stop guessing whether the setup is valid
Market Structure Pro reads structure, trend, momentum, levels, volatility, volume and session in one pass and gives you a single answer with the reasoning attached. Free 7-day trial, no card required.
Start free trialFrequently asked questions
What does the Accumulation/Distribution Line measure?
It keeps a running total of volume, with each bar's volume weighted by where the close finished within that bar's high-to-low range. A close near the high adds most of the volume, a close near the low subtracts most of it, and a close in the middle contributes almost nothing regardless of how heavy the volume was.
What is the difference between the A/D Line and OBV?
On Balance Volume adds or subtracts a bar's entire volume based purely on whether the close was above or below the previous close, with no gradation. The A/D Line instead weights the volume by where the close sat within the bar's own range, so a strong close counts for more than a marginal one. It is a refinement of the same idea.
Is the Accumulation/Distribution Line in MetaTrader 5?
Yes. It ships as standard under Insert, then Indicators, then the Volumes group, where it is listed as Accumulation/Distribution. It has almost no settings: the only meaningful option is whether it uses tick volume or real volume, where the broker provides the latter.
Why can the A/D Line rise while price is falling?
Usually because of gaps, which the formula ignores entirely. The close location value only compares the close to the high and low of the same bar, never to the previous bar, so a market that gaps sharply lower and then closes near the top of its new range registers as accumulation even though holders are worse off.
Is A/D Line divergence a reliable signal?
It is genuine information about participation, but it is not a timing tool. Divergence between price and the A/D Line can persist for weeks while price continues in the original direction. It is better used to question the quality of a move and tighten management than as a reason to enter against the trend.
Does the A/D Line work on forex?
Only partially, because spot forex has no central exchange and therefore no true volume figure. MetaTrader substitutes tick volume, which counts price changes rather than traded size, so the shape of the line can still be informative during liquid sessions but its magnitude is specific to your broker's feed.
What is the best setting for the Accumulation/Distribution Line?
There is no period to tune, which is unusual among indicators. The only setting is the volume source, and the correct choice is real volume wherever your broker supplies it and tick volume only where it does not. Everything else about the line is determined by the price and volume data itself.
Why does the A/D Line show a different number on two charts?
Because it is a cumulative running total that begins wherever your chart history begins. Load more history and every value shifts. The absolute level is therefore meaningless and should never appear in a trading rule; only the slope and the shape relative to price carry information.
Related reading
- On Balance Volume: The simpler ancestor of the same idea, without the intrabar weighting.
- Chaikin Oscillator: A MACD applied directly to the A/D Line: built from this indicator.
- Money Flow Index: A bounded volume-weighted oscillator that is easier to compare across instruments.
- Volume Profile Trading: Volume organised by price level rather than by time: a genuinely different view.