BK:=IF(INBLOCK('科创板') OR INBLOCK('创业板'),0.2,IF(INBLOCK('ST板块'),0.05,0.1));
涨停: C=ZTPRICE(REF(C,1),BK) AND H=C,NODRAW,COLORFFFFFF;
前一涨停:BARSLAST(REF(涨停,1))+1,NODRAW,COLORFFFFFF;
整理幅度:(HHV(C,4)-LLV(C,4))/LLV(C,4)*100,NODRAW,COLORFFFFFF;
目标:C>=O AND vol<REF(VOL,1) AND 整理幅度<7 AND REF(涨停,4) AND LLV(C,4)>REF(O,4)AND SUM(涨停,4)=0,NODRAW,COLORFFFFFF;
涨幅:=(C-REF(C,1))/REF(C,1)*100,NODRAW,COLORFFFFFF;
选股:REF(目标,1) AND VOL>REF(VOL,1) AND 涨幅>2 ,COLORMAGENTA;
前一选股:BARSLAST(REF(选股,1))+1,NODRAW,COLORFFFFFF;
DRAWICON(选股,0.5,1);