Z:=(EMA(CLOSE,12) - EMA(CLOSE,26));
B:=EMA(Z,9);macd:=2*(Z-B);
AA:=CAPITAL/100<50000;
AB:=MacD<0 AND EVERY(MACD>REF(MACD,1),3);
AC:=AB OR crOSS(Z,B);AD:=MA(C,20)>REF(MA(C,20),1);
DT:=MA(AMOUNT,6)>MA(AMOUNT,12) AND MA(AMOUNT,12)>MA(AMOUNT,24);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;A9:=CROSS(K,D);
AF:= "MACD.DEA">0 AND CROSS("MACD.DIF","MACD.DEA");
AE:=COUNT(REF(NOT(DT),1) AND DT,30)>=2 AND DT AND AF;
XG:A9 AND CROSS(MACD.MACD,0)AND AC AND AD;