N:=14;
INDEX:=cci(N);
C买:=crOSS(INDEX,-100);
DIF:=EMA(CLOSE,6)-EMA(CLOSE,13);
DEA:=EMA(DIF,4);
P1:=(C-MA(C,10))/MA(C,10)*100;
P2:=(C-MA(C,20))/MA(C,20)*100;
XG:P1>REF(P1,1) AND P2>REF(P2,1) AND C买 AND CROSS(DIF,DEA)
AND CAPITAL<15000000 AND AMO>100000000 AND REF(C,1)<REF(C,2);