去停牌:=DYNAINFO(13)>0;
DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5);
A1:=DIFF>DEA;
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
A2:=K>D;
LC:=REF(CLOSE,1);
rsi1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(Abs(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
A3:=RSI1>RSI2;
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
Lwr1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
A4:=LWR1>LWR2;
bbi:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
A5:=CLOSE>BBI;
mtm:=CLOSE-REF(CLOSE,1);
mms:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
A6:=MMS>MMM;
涨买入:=(A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0;
上涨:=A1 AND A2 AND A3 AND A4 AND A5 AND A6;
HM:=MA(HIGH,30)*(1+15/100);
M1:=MA(C,5);
M2:=MA(C,10);
M3:=MA(C,20);
M4:=MA(C,60);
AAA:=(C>M1)AND(M1>M2)AND(M2>M3);
DIFF1:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA1 := EMA(DIFF1,9);
macd1 := 2*(DIFF1-DEA1);
MacDH:=crOSS(MACD1,0);
DIFF22:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA22:=EMA(DIFF22,9);
JJ :=(C*3+H+L+O)/6;
SK := EMA(JJ,13) - EMA(JJ,21);
SD := EMA(SK,3);
SP := EMA(SK,10);
AAA1:=EMA(C,7)-EMA(C,21);
B1:=EMA((0.668*REF (AAA1,1)+0.333*AAA1),1);
X1:=V/SUM(V,13);
X2:=DMA(C,X1);
X3:=(C-X2)/X2*40;
L2:=MA(AMOUNT/(100*V),13);
CYS13:= (C-L2)/L2*100;
XDFHTH:=REF(AAA1,1)<=REF(B1,1) ;
点火:=cys13>4.5 AND DIFF22>DEA22 AND C>=EMA(C,5) AND AAA1-B1>0;
MA5:=MA(C,5);
压力:=HHV(MA5,60);
小牛涨大:=O>REF(C,1)*1.02 AND C>O AND C>=压力 AND 压力>=REF(C,1) AND MA5>REF(MA5,1) AND 去停牌 ;
强火2:=小牛涨大 AND MACDH AND 涨买入;
早盘强火:强火2;