AA:=EMA(CLOSE,17);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
boll:=MA(CLOSE,25);
T1:= crOSS(C,AA) AND (C-REF(C,1))/REF(C,1)>0.05; {>0.099涨停}
T2:=EXIST(CROSS(DIF,DEA),3) AND DEA>0;
T3:=EXIST(C,BOLL);
XG:T1 AND T2 AND T3;
AA:=EMA(CLOSE,17);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
boll:=MA(CLOSE,25);
T1:= crOSS(C,AA) AND (C-REF(C,1))/REF(C,1)>0.05; {>0.099涨停}
T2:=EXIST(CROSS(DIF,DEA),3) AND DEA>0;
T3:=EXIST(C,BOLL);
XG:T1 AND T2 AND T3;