code: def boll(self, n, dev, array=False):
          
          mid = self.sma(n, array)
          std = self.std(n, array)
  
          up = mid + std * dev
          down = mid - std * dev
  
          return up, down
docs: 布林通道