indicator · own pane · open source

Accumulation/Distribution

Deepwick · @deepwickv1Updated 2 Oct 2026▲ 0 users
Running…
Loading chart…

About

Accumulation/Distribution Line cumulatively weights volume by where the close sits inside the bar's range — a classic A/D flow tracker.

  • Rising A/D = buyers absorbing supply; falling = sellers dumping.
  • Divergences between A/D and price often precede the actual turn.

Source code

//@version=5
indicator("Accumulation/Distribution", overlay=false)
mfm = close == high and close == low or high == low ? 0.0 : ((close - low) - (high - close)) / (high - low)
ad = ta.cum(mfm * volume)
p_A_D = plot(ad, "A/D", color=color.blue, linewidth=2)

Comments

No comments yet.

Sign in to comment.