A1:=(EMA(CLOSE,12)/EMA(CLOSE,26)-1)*1000;
A2:=(EMA(INDEXC,12)/EMA(INDEXC,26)-1)*1000;
个股趋势线:=EMA(A1,5);
大盘趋势线:=EMA(A2,5);
A13:=SMA((CLOSE-REF(CLOSE,1))*vol,3,1)/10000;
A14:=EMA(A13,12)-EMA(A13,26);
A15:=EMA(A14,9);
A16:=(A14-A15)*2;
XG:crOSS(EMA(A1,5),EMA(A2,5)) AND EMA(A1,5)<A16 AND A16-REF(A16,1)<3;