P1:=5; P2:=4; VARA:=LLV(LOW,P1); VARB:=HHV(HIGH,P1); K: EMA((CLOSE-VARA)/(VARB-VARA)*100,P2),COLORRED; D: EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE; {九毛八公式指标网www.9m8.cn};