N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
金叉:=kdj.K>kdJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ.K;
流通市值:=CAPITAL*C/1000000;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
价格:=C;
VARAA:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S') OR DYNAINFO(4)=0 OR INBLOCK('创业板') OR INBLOCK('科创板')) OR BARSCOUNT(C)>1;
VARBB:=流通市值>0 AND 流通市值<80;
VARCC:=涨幅>9.8 AND 涨幅<10.99 AND C=H;
VARDD:=价格>2 AND 价格<22;
VAREE:=COUNT(VARCC,2)=1;
XG1:=金叉 AND VARAA AND VARBB AND VARCC AND VARDD AND VAREE;
来风:XG1;