code: def QA_indicator_MIKE(DataFrame, N=12):
      
      HIGH = DataFrame.high
      LOW = DataFrame.low
      CLOSE = DataFrame.close
  
      TYP = (HIGH+LOW+CLOSE)/3
      LL = LLV(LOW, N)
      HH = HHV(HIGH, N)
  
      WR = TYP+(TYP-LL)
      MR = TYP+(HH-LL)
      SR = 2*HH-LL
      WS = TYP-(HH-TYP)
      MS = TYP-(HH-LL)
      SS = 2*LL-HH
      return pd.DataFrame({
          'WR': WR, 'MR': MR, 'SR': SR,
          'WS': WS, 'MS': MS, 'SS': SS
      })
docs: MIKE指标
      指标说明
      MIKE是另外一种形式的路径指标。
      买卖原则
      1  WEAK-S，MEDIUM-S，STRONG-S三条线代表初级、中级、强力支撑。
      2  WEAK-R，MEDIUM-R，STRONG-R三条线代表初级、中级、强力压力。