Bollinger Bands

How to use rolling-average bands to set bounds on a KPI