vwma
Volume-weighted moving average
Reference/Moving averages/Function
vwma(length)
Weights close by volume over length bars. Uses the chart’s volume — not a custom series.
Parameters
| Name | Type | Description |
|---|---|---|
length | int default 14 | Lookback in bars. Default 14. |
Return value
series
Example
line = vwma(14) plot line as "Volume-weighted moving average"