去停牌:=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 去停牌 ;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)< 1.01) AND (VAR3AA>0),91,0);
大胆搏:=FILTER((VAR4AA>90),45);
最强火:=CROSS(MACD1,0) AND AAA AND 涨买入 AND C>=HM ;
DRAWTEXT(最强火,0.78,'●最强点火'), COLORRED;
DRAWICON(最强火,最强火,9);
强火1:MACDH AND AAA AND 涨买入;
DRAWTEXT(强火1,0.58,'●强火'), COLORRED;
DRAWICON(强火1,强火1,9);
强火2:小牛涨大 AND MACDH AND 涨买入;
DRAWTEXT(强火2,0.48,'●早盘强火'), COLORRED;
DRAWICON(强火2,强火2,9);
强火3:大胆搏 AND 点火 AND 涨买入 OR (大胆搏 AND 点火 AND 小牛涨大);
DRAWTEXT(强火3,0.38,'●盘中强火'), COLORRED;
DRAWICON(强火3,强火3,9)