first implementation of bollinger bands without tests