X_1:=(REF(ma(CLOSE,3),1)+ZTPRICE(REF(CLOSE,1),0.1))/2;
X_2:=X_1*0.9;
XG:MAX(CLOSE,OPEN) X_2 AND CLOSE OPEN AND OPEN/REF(CLOSE,1) 0.95 AND REF(CLOSE,1) REF(CLOSE,2) AND REF(CLOSE,1) REF(OPEN,1),COLORYELLOW,LINETHICK2;
X_1:=(REF(ma(CLOSE,3),1)+ZTPRICE(REF(CLOSE,1),0.1))/2;
X_2:=X_1*0.9;
XG:MAX(CLOSE,OPEN) X_2 AND CLOSE OPEN AND OPEN/REF(CLOSE,1) 0.95 AND REF(CLOSE,1) REF(CLOSE,2) AND REF(CLOSE,1) REF(OPEN,1),COLORYELLOW,LINETHICK2;