DIF:=EMA(CLOSE,6)-EMA(CLOSE,13);
DEA:=EMA(DIF,4);
macd:=(DIF-DEA)*2;
一字涨停:=C/REF(C,1)>1.0975 AND H=O;
XG:NOT(一字涨停)
AND ((MacD>0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2)) OR (DIF>0 AND DEA>0 AND crOSS(DIF,DEA)))
AND C/REF(C,1)>1.03 AND CAPITAL<10000000
AND (C-MA(C,20))/MA(C,20)<0.1;