Accelerator Bands

71
hi,
This is a script for Accelerator Bands, but I'm not sure I've got it right. It doesn't seem to be working. Can you see why?
Thanks
Tony

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.