Skip to Content

VWAP

VWAP (Volume Weighted Average Price) is the average price at which volume has traded since the start of the day, week or month. The standard deviation bands around it show how far the price has moved away from this average.

The indicator is drawn over the price chart.

How it is calculated

  1. From the start of the period, bar prices are accumulated with a weight equal to the bar’s volume: VWAP = Σ(price × volume) / Σ(volume). The bar price is set by Source. Bars without volume do not affect the value.
  2. σ is the standard deviation of bar prices from VWAP since the start of the period, also weighted by volume.
  3. The bands: VWAP ± StdDev × σ. There can be up to three pairs of bands — one for each of StdDev 1–StdDev 3 whose value is greater than 0. All of them are drawn with the Deviation bands line.

When a new period starts, the calculation starts over, and the lines break at the period boundary. The week starts on Monday. With the All bars period, VWAP is calculated over all bars of the chart without a reset.

The VWAP lines are not taken into account by the chart’s automatic vertical scaling: a band far from the price may end up beyond the edge of the area.

Parameters

ParameterDescriptionDefault
Anchor periodSince when VWAP is accumulated: Day, Week, Month or All bars.Day
SourceThe bar price: Close — the close, Median — (High + Low) / 2, Typical — (High + Low + Close) / 3.Typical
StdDev 1The σ multiplier for the first pair of bands; 0 hides the pair.1
StdDev 2The σ multiplier for the second pair of bands; 0 hides the pair.2
StdDev 3The σ multiplier for the third pair of bands; 0 hides the pair.0

Plots

ParameterDescriptionDefault
VWAPThe VWAP line.Orange, solid, width 1
Deviation bandsAll standard deviation bands.Blue, solid, width 1

Style

The lines have the Plot (show the line), Label (show the last value on the right scale), Color, Width (1–5) and Style (Solid, Dashes, Dots) fields.

How to add an indicator to the chart is described in Adding an indicator; parameters are changed in the indicator manager.

Last updated on