N:=30;
停牌:=DYNAINFO(13)>0;
ASS:=(C-REF(C,1))/REF(C,1)*100;
BSS:=IF(ABS(ASS)>6,1,0);
CCSS:=COUNT(BSS,60)<1;
ST:=NOT(CCSS);
QD:=停牌 AND ST;
AHC1:=CLOSE*VOL;
AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA(AHC1,24)/EXPMA(VOL,24))/4,13);
SUP:=1.06*AHC2;
SDN:=AHC2*0.94;
AHC3:=EXPMA(CLOSE,9);
LUP:=EXPMA(AHC3*1.14,5);
LDN:=EXPMA(AHC3*0.86,5);
SZJD:=(ATAN(SUP/(REF(SUP,1)-1)*100)*180/3.1416)>N;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
(CLOSE>SUP AND CLOSE<=SUP*1.019) AND REF(CLOSE>OPEN,1) AND SZJD AND J>K AND K>D AND QD;