OPEN-SOURCE SCRIPT

VW %BB +

Updated
Volume weighted %BB Based on Closing price (green line)
%BB of 50 period ema of the 20 period volume weighted moving average at each point (blue)

difference of %BB green - %bb Blue shading around mid-band (ie width between two in band terms)

added an additional line which is the sum of the absolute distance from mid-band of the ema + top half of bandwidth difference
Release Notes
added open / close position + shading within %BB. now distance between closing / open price and 50 period ema of volume weighted average is measured in band-width and split across midband. (intepret it as distance from closing to ema but in %bb terms)
Bollinger Bands (BB)

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