VolumePine Script v6Built-in Variable

ta.accdistAccumulation/Distribution Index

Accumulation/distribution index. Measures the cumulative flow of money into and out of a security.

Syntax

Syntax
ta.accdist

Returns

series float

Code Examples

Pine Script v6 Example
//@version=6
indicator("Accumulation/Distribution")
plot(ta.accdist, color=color.yellow)

Trading Applications

Confirm price trends with volume flow

Detect divergences between price and accumulation

Identify institutional buying/selling pressure

Use as a leading indicator for price reversals

Related Functions

Frequently Asked Questions

ta.accdist is the Accumulation/Distribution line: a cumulative volume-based measure that weights volume by where the close sits within the bar range, then sums over time.

Rising A/D with rising price suggests confirming volume flow. If price rises but A/D falls (or the reverse), traders watch for possible weakness or hidden strength.

OBV adds or subtracts full volume by the sign of the close change. A/D scales volume by the close location in the high-low range (money flow multiplier), so they can diverge in detail.

Generate ta.accdist Code with AI

Skip the manual coding. Use Pineify's AI Coding Agent to generate Pine Script code using ta.accdist and other built-in functions instantly.