缩倍数:=0.8;
不停牌:=DYNAINFO(4)>0;
除去次新股:=(C-REF(C,10))/REF(C,10)<0.3;
过滤:=不停牌 AND 除去次新股;
涨停板:=REF(C,1)/REF(C,2)>1.09;
昨天缩:=REF(V,1)<(REF(V,2))*缩倍数;
今天缩:=V<(REF(V,1))*缩倍数;
EE:=C>LLV(L,涨停板);
BB:=MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1);
XG:昨天缩 AND 今天缩 AND 过滤 AND COUNT(涨停板,5)>=1 AND EE AND BB;
T_20:=(C/REF(CLOSE,1)-1)*100;
STICKLINE(REF(XG,1) AND T_20>=1.01,0,1,2,0),COLORRED;
STICKLINE(REF(XG,1),0,1,2,0),COLORGREEN;
STICKLINE(REF(XG,1) AND T_20>=1.01,0,1,2,0),COLORRED;
DRAWNUMBER(REF(XG,1),2,T_20),COLORRED;
T_21:=(C/REF(CLOSE,1)-1)*100;
DRAWNUMBER(REF(XG,1),-0.5,T_21),COLORWHITE;