This script will sound an alert when a candle is outside the upper/lower bollinger band. It also looks at the candle size based on ATR to filter out some of the alerts. It may alert several times per candle if it continously ticks above/below the bollinger band and it may disappear entirely if it closes inside.
I am not a registered financial adviser/broker/anything. Use this information for entertainment/informational purposes only. Any tickers mentioned are not recommendations to buy/sell/or sell short. They are used as examples only.
Please remember that past performance may not be indicative of future results.