DRAWTEXT_FIX(1,0.1,0,0,GNBLOCK),COLORBLUE;
DRAWTEXT_FIX(1,0,0,0,HYBLOCK),COLORRED;
X_1:=3;
X_2:=IF(CODELIKE(2) AND DATE 1200823 OR CODELIKE(3),1,0);
X_3:=CLOSE =ZTPRICE(REF(CLOSE,1),IF(X_2 0,0.2,0.1));
X_4:=MA(CLOSE,10)*(1+IF(X_2=1,20,10)/100);
X_5:=MA(MA(LOW,X_1),X_1);
X_6:=HHV(X_5,5);
XJL:EMA(CLOSE,6)-EMA(CLOSE,13),COLORBLUE,LINETHICK2;
X_7:=REF(HHV(XJL,X_1),1);
X_8:=ABS(ATAN((XJL/REF(XJL,1)-1)*100)*180/3.141593);
NOTEXT1:IF(XJL EMA(X_7,1),XJL,DRAWNULL),COLOR000099,LINETHICK2;
NOTEXT2:IF(XJL EMA(X_7,1) AND X_5 =REF(X_6,1) AND CLOSE =X_4 AND X_3,XJL,DRAWNULL),COLORMAGENTA,LINETHICK3;
BY:REF(XJL EMA(X_7,1) AND X_5 =REF(X_6,1) AND CLOSE =X_4 AND X_3,1)*(OPEN REF(CLOSE,1)*1.029)*(OPEN REF(CLOSE,1)*1.069),NODRAW;
DRAWICON(XJL X_7 AND X_8 72 AND X_3,XJL,1);
DRAWICON(BY,X_7,1);{九毛八公式指标网www.9m8.cn}
DRAWICON(XJL EMA(X_7,1) AND X_5 =REF(X_6,1) AND CLOSE =X_4 AND X_3,XJL*0.9,29);
DRAWICON(CROSS(X_7,XJL) AND REF(X_3,1),XJL*1.1,2);