Indicators
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.















