A:=EMA(CLOSE,12)-EMA(CLOSE,26);
A1:=EMA(A,9);MACD:=2*(A-A1);
A2:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);
A3:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;
A4:=EMA(C,30)>=REF(EMA(C,30),1) AND COUNT(EMA(C,5)>EMA(C,10) AND EMA(C,10)>EMA(C,30),1)=1;
A5:=CROSS(C,EMA(C,30)) OR C>EMA(C,30);
B1:=A2 AND A3 AND A4 AND A5;
B2:=A2 AND A3 AND A4 AND A5 AND ABS((A-A1)/C)<0.018;
B4:=A2 AND A3 AND A4 AND A5 AND MACD<0.10;
B3:=MA(C,5)<REF(MA(C,5),1);
B5:=REF(MA(C,5),4)>REF(MA(C,5),5);
B6:=(H-C)/C*100<1 AND REF((O-C)/C*100>1,1) AND KDJ.J>25;
A6:=EVERY(MA(C,10)>REF(MA(C,10),1),2)
AND L<=(REF(MA(C,10),1)-REF(MA(C,10),2))+REF(MA(C,10),1);
A6 AND (B1 OR B2 OR B4) AND B6 AND B5 AND B3;