Williams variable accumulation/distribution: the bar's close-to-open move as a share of its range, times volume.
ta.wvad is (close - open) / (high - low) * volume for the current bar. It is positive on bullish bars and negative on bearish ones, larger when the body fills more of the range.
Unlike the cumulative volume lines, this variable is not a running total, so each bar stands alone. Sum it with math.sum or ta.cum to accumulate.
Type
series float
Remarks
- A bar with zero range gives na.
Example
//@version=6
indicator("WVAD")
plot(ta.wvad, "WVAD", color = color.new(color.blue, 60), style = plot.style_columns)
plot(math.sum(ta.wvad, 14), "14-bar sum", color = color.orange)See also
Runs on Sidechair