XA_4:=MA((CLOSE-LLV(LOW,XA_3))/(HHV(HIGH,XA_3)-LLV(LOW,XA_3))*100,3);
CLOSE MA(CLOSE,60) AND REF(XA_4,1) 30 AND XA_4 REF(XA_4,1) AND REF(XA_4,1) REF(XA_4,2);
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,30);
MA5:MA(CLOSE,60);
XA_1:=MA(CLOSE,120);
XA_2:=(MA(CLOSE,5)-XA_1)/XA_1;
XA_3:=IF(MA(CLOSE,5) MA(CLOSE,20),10,20);
XA_4:=MA((CLOSE-LLV(LOW,XA_3))/(HHV(HIGH,XA_3)-LLV(LOW,XA_3))*100,3);
D2:DRAWTEXT(CLOSE MA(CLOSE,60) AND REF(XA_4,1) 30 AND XA_4 REF(XA_4,1) AND REF(XA_4,1) REF(XA_4,2),LOW,1),COLORWHITE;
D3:DRAWTEXT(REF(XA_4,1) 7 AND XA_4 REF(XA_4,1) AND REF(XA_4,1) REF(XA_4,2) AND XA_2 (-0.15),LOW,1),COLORYELLOW;{www.9m8.cn 九毛八公式指标网}
D4:DRAWTEXT(CROSS(XA_4,5) AND XA_2 (-0.3),LOW,1),COLORBLUE;