The main point of this script is to give bollinger bands with a vwma basis rather than a sma basis. It is important to note that the default setting is to average the opening price rather than closing price of previous candles (just my personal preference). Also by default this script shows bands based on one, two and three standard deviations from the vwma basis. Play with the settings and change them to what you like.