dif:=Ema(C,13)-ema(C,30);
DEA:=EMA(DIF,9);
MacD:=2*(DIF-DEA);
C1:=REF(C,1);
ZT:=(C1-C)/C1>=0.03 AND C<O;
(((EXIST(ZT,14) OR (HHV(REF(C,1),4)-LLV(REF(C,1),4))/REF(C,1)<0.04) AND
((C>O AND (O=L OR (C-O)>=10*(O-L)
AND (C-O)>=(H-C)) OR ((C=H OR (C-O)>=10*(H=C)) AND (C-O)>=(O-L)))
AND (C>REF(HHV(H,14),1)))) AND (macd>0 AND COUNT(crOSS("MACD.MACD",0),16)>=1) AND (MACD/DEA>=0.3 OR MACD>=DEA))
AND C/REF(C,1)>1.03;