ta.wadWilliams Accumulation/Distribution
Williams Accumulation/Distribution. Measures the cumulative flow of money using true high/low concepts.
Syntax
ta.wadReturns
series float
Code Examples
//@version=6
indicator("Williams Accumulation/Distribution")
plot(ta.wad, color=color.yellow)
// the same on pine
f_wad() =>
trueHigh = math.max(high, close[1])
trueLow = math.min(low, close[1])
mom = ta.change(close)
gain = (mom > 0) ? close - trueLow : (mom < 0) ? close - trueHigh : 0
ta.cum(gain)
plot(f_wad())Trading Applications
Measure accumulation/distribution using true range concepts
Confirm trend direction with Williams A/D
Detect divergences for reversal signals
Compare with standard A/D for additional confirmation
Related Functions
Frequently Asked Questions
Generate ta.wad Code with AI
Draft Pine Script using ta.wad with Pineify's AI Coding Agent, then review the arguments and test the result on your chart. Usage depends on your plan and available credits.
Related Pine Script Functions
ta.obv - On Balance Volume
Learn about ta.obv built-in variable in Pine Script. Access On Balance Volume for volume-based trend confirmation.
ta.pvt - Price-Volume Trend
Learn about ta.pvt built-in variable in Pine Script. Access Price-Volume Trend for percentage-weighted volume analysis.
ta.accdist - Accumulation/Distribution
Learn about ta.accdist built-in variable in Pine Script. Access the Accumulation/Distribution Index for money flow analysis.
ta.wvad - Williams Variable A/D
Learn about ta.wvad built-in variable in Pine Script. Access Williams Variable Accumulation/Distribution.
ta.mfi() - Money Flow Index
Learn how to use ta.mfi() in Pine Script. Syntax, parameters, code examples for the volume-weighted RSI indicator.