BZ:=INBLOCK('北证A股') OR INBLOCK('北京A股')=0;
st:=INBLOCK('ST板块')=0;{去ST}
KC:=IF(CODELIKE('68'),0,1);
QQ:=BZ AND ST AND KC ;
R:=COST(85);
KCB:=IF(CODELIKE('68') OR CODELIKE('30'),1,0);
ZF:=IF(KCB=1,1.195,1.092);
ZT:=H>REF(C,1)*ZF AND C>=H;
Q:=COST(99);
XG:=(Q-R)/R,COLORYELLOW;
XG1:=1/XG,COLORYELLOW;
QD:=REF(HHV(XG1,60),1);
GD:=CROSS(XG1,QD) AND XG1>REF(XG1,1) AND COUNT(XG1<QD,15)>10 AND C>=EMA(COST(99),10) AND EVERY(ZT,2);
Y2:=REF(XG1,1)=REF(HHV(XG1,20),1) AND REF(XG1,1)>XG1 AND ( EVERY(ZT,2) OR C>=EMA(COST(99),10));
Y3:=REF(XG1,1)=REF(LLV(XG1,60),1) AND REF(XG1,1)<XG1 AND ( EVERY(ZT,2) OR C>=EMA(COST(99),10));
连板牛:ZT AND ( GD OR Y2 OR Y3) AND NOT (EVERY(ZT,3)) AND FINANCE(46)*C/100000000<150 AND QQ AND NOT (C>50) AND C< LLV(L,120)*3;