OPEN-SOURCE SCRIPT

(JS) VWAP Bands

Updated
This is a pretty simple script here - I took the VWAP and combined it with Bollinger Bands.

The bands can vary a lot based on chart resolution, so I wanted to make sure the resolution could be modified so you can use the resolution you're most comfortable with, or find the most success with.

Length:
Length of bars used to calculate the bands.

Standard Deviation Band 1-3:
There's three bands all together, this option allows you to modify the number of standard deviations per band.

VWAP Period:
This modifies when you want the VWAP to begin (Session, Week, Month, Year).

Offset:
This moves the VWAP and the bands the amount of bars you select, default is of course set to zero.

Source:
This selects the source of calculation, HLC/3 is the default VWAP calculation.

This is a pretty self explanatory script, I thought being able to see the standard deviations of the VWAP could prove to be useful - hope you all like it!
Release Notes
...
bollinger_bandsBollinger Bands (BB)bollingersbandStandard DeviationVolume Indicatorvwapbands

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer