def ckMAO(self,data,s=5,pm=False):
    """判斷正負乖離位置
       s = 取樣判斷區間
       pm = True（正）/False（負） 乖離
       return [T/F, 第幾個轉折日, 乖離值]
    """
    c = data[-s:]

    if pm:
      ckvalue = max(c)
      preckvalue = max(c) > 0
    else:
      ckvalue = min(c)
      preckvalue = max(c) < 0

    return [s - c.index(ckvalue) < 4 and c.index(ckvalue) != s-1 and preckvalue, s - c.index(ckvalue) - 1, ckvalue]