code: def BBI(Series, N1, N2, N3, N4):
      '多空指标'
  
      bbi = (MA(Series, N1) + MA(Series, N2) +
             MA(Series, N3) + MA(Series, N4)) / 4
      DICT = {'BBI': bbi}
      VAR = pd.DataFrame(DICT)
      return VAf BBI(Series, N1, N2, N3, N4):
      '多空指标'
  
      bbi = (MA(Series, N1) + MA(Series, N2) +
             MA(Series, N3) + MA(Series, N4)) / 4
      DICT = {'BBI': bbi}
      VAR = pd.DataFrame(DICT)
      return VAR
docs: 多空指标