VolumePine Script v6Built-in Variable

ta.wvadWilliams Variable Accumulation/Distribution

Williams Variable Accumulation/Distribution. Measures the relationship between price range and volume.

Syntax

Syntax
ta.wvad

Returns

series float

Code Examples

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

// the same on pine
f_wvad() =>
    (close - open) / (high - low) * volume

plot(f_wvad())

Trading Applications

Measure buying/selling pressure relative to price range

Identify volume-weighted directional bias

Confirm breakouts with WVAD direction

Use as a component in custom volume analysis

Related Functions

Frequently Asked Questions

ta.wvad is Williams Variable A/D: a per-bar measure combining the candle body direction and size versus total range, scaled by volume.

A common form is (close − open) / (high − low) × volume on each bar, reflecting how much of the bar range is directional body movement, weighted by volume.

ta.wad is a cumulative Williams A/D line. ta.wvad is typically a non-cumulative bar-by-bar variable series; they answer different analytical questions.

Generate ta.wvad Code with AI

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