code: def QA_indicator_CHO(DataFrame, N1=10, N2=20, M=6):
      
      HIGH = DataFrame.high
      LOW = DataFrame.low
      CLOSE = DataFrame.close
      VOL = DataFrame.volume
      MID = SUM(VOL*(2*CLOSE-HIGH-LOW)/(HIGH+LOW), 0)
      CHO = MA(MID, N1)-MA(MID, N2)
      MACHO = MA(CHO, M)
      return pd.DataFrame({
          'CHO': CHO, 'MACHO': MACHO
      })
docs: 佳庆指标 CHO