This script points out the positions a lagging span leaves a Bollinger Band.
This script does not plot a lagging span but moves the Bollinger Band forward.
You can find profit opportunities by combining this script and risk management.
Bollinger Bands is a popular indicator.
It contains a moving average, an upper band and a lower band.