去st:=NAMELIKE('ST')=0 AND NAMELIKE('*ST')=0 AND NAMELIKE('SST')=0 AND NAMELIKE('S*ST')=0;
去除停牌:=DYNAINFO(4)>0;
去除创业板:=IF(CODELIKE('300') OR CODELIKE('301') ,0,1) ;
去除科创板:=IF(CODELIKE('688'),0,1);
去:=去ST AND 去除停牌 AND 去除创业板 AND 去除科创板;
主力攻击线:=(ma(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,9))/3,COLORWHITE;
主力控盘线:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,15)+MA(CLOSE,20)+MA(CLOSE,25)+MA(CLOSE,30))/6,COLORYELLOW,LINETHICK2;
涨幅:=CLOSE/REF(CLOSE,1)-1;
涨停:=涨幅>=0.09 AND CLOSE=HIGH;
实体:=CLOSE>LOW;
成交额:=AMOUNT>=REF(HHV(AMOUNT,10),1);
乖离率:=(CLOSE/主力攻击线-1)*100;
均线金叉:=BArslAST(crOSS(主力攻击线,主力控盘线))<=8 AND 乖离率<=10 AND 主力攻击线>主力控盘线 AND C>主力攻击线 ;
趋势板:=涨停=1 AND 实体=1 AND COUNT(涨停,13)=1 AND 均线金叉=1 AND 成交额=1;
黄钻:去=1 AND 趋势板=1;