X_1:=COUNT(CLOSE/REF(CLOSE,1) 1.095 AND HIGH=CLOSE,2)=2 AND COUNT(CLOSE/REF(CLOSE,1) 1.089,4)
X_2:=COUNT(CLOSE/REF(CLOSE,1) 1.095 AND HIGH=CLOSE,20)=20;
X_3:=REF(COUNT(X_1,8) =1,3);
X_4:=REF(COUNT(X_2,6) =1,3);
X_5:=REF(MA(CLOSE,5) MA(CLOSE,10) AND MA(CLOSE,10) MA(CLOSE,20),1);
X_6:=MA(CLOSE,10) MA(CLOSE,20) AND MA(CLOSE,20) MA(CLOSE,60) AND MA(CLOSE,60) MA(CLOSE,120);
X_7:=REF(LOW/MA(CLOSE,5) 0.99,1);
X_8:=X_5 AND X_6 AND REF(COUNT(X_7,2) =1,1);
X_9:=X_8 AND X_3 AND NOT(X_4) AND REF(COUNT(CLOSE OPEN,4) =2 OR COUNT(CLOSE REF(CLOSE,1),4) =2 OR (COUNT(CLOSE REF(CLOSE,1),4) =1 AND COUNT(OPEN REF(CLOSE,1),4) =3) AND COUNT(OPEN/CLOSE 1.1 AND CLOSE/REF(CLOSE,1) 0.95,4) 1 AND COUNT(CLOSE OPEN,4) =1 AND (REF(CLOSE OPEN,1) AND CLOSE REF(OPEN,1) OR (REF(CLOSE OPEN,1) AND CLOSE REF(CLOSE,2))),1) AND CLOSE/MA(CLOSE,5) 0.975 AND CLOSE EMA(CLOSE,5) AND LOW MA(CLOSE,5) AND CLOSE OPEN AND CLOSE/OPEN 1.02 AND REF(CLOSE/REF(CLOSE,1) 1.095,1) ANDvol HHV(VOL,7) AND NOT(X_1);
涨停2号:FILTER(X_9,2),NODRAW;
STICKLINE(涨停2号,0.72,0.8,5,0),COLORRED;
STICKLINE(涨停2号,0.72,0.8,3,0),COLORLIRED;
STICKLINE(涨停2号,0.72,0.83,1,0),COLORBLUE;