Why Accumulation/Distribution can rise after a gap down

Why Accumulation/Distribution can rise after a gap down

Draw the two reference frames

Imagine a market that closed at 110 yesterday. Today its high is 100, its low is 90 and it closes at 99. A close-to-close comparison measures a loss of 11. Accumulation/Distribution asks where 99 lies inside today's range. Both descriptions fit this candle. On paper, mark yesterday's close outside the range before calculating either series.

Calculate one contribution

The close is 9 units above the low and 1 below the high. Subtract the second distance from the first, then divide by the range of 10. The resulting multiplier is 0.8. With a volume of 50, the contribution is positive 40. If yesterday's cumulative reading was 200, today's is 240. The raw multiplier is bounded by the two ends of a valid candle; the cumulative line has no such bounds.

ΔAD = volume × ((close − low) − (high − close)) / (high − low)

Try the mirror candle

Keep the high, low and volume unchanged and move the close to 91. The distances swap, producing a contribution of negative 40. At a close of 95 the two distances cancel. A midpoint close can therefore produce a flat A/D line on a bar with considerable activity. It is the weighting of volume that vanished. The actual volume observation remains 50.

Compare feeds without matching starting levels

In MT5 select the same volume type on both charts. Take consecutive closed-bar readings from the Data Window and subtract the earlier reading from the later one. If the increments match but the line levels differ by a constant, shift both series to zero at the first common timestamp. A shorter history can change the starting level. If the increments themselves differ, compare high, low, close and volume on the first mismatched bar.

Write a rule for a flat range

With high equal to low there is no closing-location fraction to calculate. Mark the observation explicitly before aggregating. For a worksheet that carries the previous line forward, record a zero increment and a separate flat-range flag. An uninterrupted plotted line then remains distinguishable from a run of candles that actually closed at their midpoints.

Practice files

These CSV files contain synthetic teaching data, not market observations or investment results.

Download the CSV

Sources and further reading

Back to top

MQLume Bespoke

Built around your ambition.

Explore bespoke services →

Have something more specific in mind?

Ask us about advanced custom development. Share your requirements through private support or email; we will discuss the scope and quote separately.

100% committed to following up on your delivery and support requests.

Free downloads. Real source files.

FREE

Lizard [MQLume]

MQL5 / MT5Version v2.21

Free editable gold breakout project with six independently selectable cores, session filters and flexible position sizing.

US$149.00FREE
FREE

Scraper Gold [MQLume]

MQL5 / MT5Version v3.80

Free editable source with compiled EX5: four gold breakout engines with independent profiles, sizing, direction and exits.

US$95.00FREE
FREE

EA Black Dragon [MQLume]

MQL5 / MT5Version v13.0

Trend-based entries with optional grid additions, side controls and virtual exits.

US$30.00FREE
FREE

Hamster Scalping [MQLume]

MQL5 / MT5Version v21.0

RSI entries with two ATR filters, configurable sessions and optional grid management.

US$30.00FREE
MQLume

More to explore. A community to share it with.

Stay close to MQLume, wherever you like to learn.

YouTube

See our EAs in action. Explore backtests, walkthroughs and practical guides.

Watch on YouTube

Telegram

Meet other EA users, share ideas and keep up with what’s new.

Join the community Follow official updates

Cart

One personal-use licence per project. Each project can be added once.

Your cart is waiting for its first passenger.

Choose an EA or source edition to get started.

Continue shopping