XA_1:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
XA_2:=HIGH-REF(HIGH,1);
XA_3:=REF(LOW,1)-LOW;
XA_4:=EXPMEMA(IF(XA_2 0 AND XA_2 XA_3,XA_2,0),14);
XA_5:=EXPMEMA(IF(XA_3 0 AND XA_3 XA_2,XA_3,0),14);
XA_6:=XA_4*100/XA_1;
XA_7:=XA_5*100/XA_1;
XA_8:=EXPMEMA(ABS(XA_7-XA_6)/(XA_7+XA_6)*100,6);
XA_9:=XA_8-XA_6;{九毛八公式指标网www.9m8.cn}
底部:XA_9/XA_6 13.88;