Those Bollinger band green and red lines do repaint on the main window of the chart. I put this into an EA and sadly it loses as you get destroyed when a big trend occurs and sadly you won't know a big trend is occurring until you are already deep in the negative.
For forex, use Vegas Tunnel ( 144+169EMA ) with 13 EMA signal line. Forcast with Elliottwave count on HTF & TGT hinting with Fib Retracement + FIB Fans. If you are a fan of volume, add VSA/WeisWave & for precise timing BB Squeeze. That's a combo which will make profit always. No repainting.