indicator · own pane · open source

Accumulation/Distribution indicator

Accumulation/Distribution is a free open-source indicator by @deepwick. Accumulation/Distribution Line cumulatively weights volume by where the close sits inside… Deepwick Script runs a subset of Pine Script.

Deepwick · @deepwickv1Updated 3 Nov 2026▲ 0 users
Running…
Loading chart…

What Accumulation/Distribution does

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

Deepwick Script, a subset of Pine Script · read-only

//@version=6
indicator("Accumulation/Distribution", overlay=false)
colorLine = input.color("color.blue", "Color  Line")
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=colorLine, linewidth=2)

Comments

No comments yet.

Sign in to comment.