Williams accumulation/distribution: a running total of how far each close moves beyond the true high or true low.
On a bar that closes above the previous close, ta.wad adds close minus the true low, where the true low is the lower of the bar's low and the previous close. On a bar that closes lower, it adds close minus the true high, a negative amount.
An unchanged close adds 0. Volume is not used. The line starts at the first bar.
Type
series float
Remarks
- Look for divergence with price: a new price high with a lower line suggests selling pressure under the surface.
Example
//@version=6
indicator("Williams A/D")
plot(ta.wad, "WAD", color = color.navy)See also
Runs on Sidechair