连涨:=COUNT(C/REF(C,1)>1.095 AND H=C,2)=2 AND COUNT(C/REF(C,1)>1.089,4)>=3;
连涨2:=COUNT(C/REF(C,1)>1.095 AND H=C,13)=13;
VARZ1:=REF(COUNT(连涨,8)>=1,3);
VARZ2:=REF(COUNT(连涨2,6)>=1,3);
ZT1:=VARZ1 AND NOT(VARZ2) AND REF((COUNT(C<O,4)>=2 OR COUNT(C<REF(C,1),4)>=2 OR (COUNT(C<REF(C,1),4)>=1 AND COUNT(O<REF(C,1),4)>=3)) AND COUNT(O/C>1.1 AND C/REF(C,1)<0.95,4)<1 AND COUNT(C<O,4)>=1 AND ((REF(C<O,1) AND C<REF(O,1)) OR (REF(C>O,1) AND C<REF(L,2))),1) AND C/MA(C,5)>0.975 AND C>EMA(C,5) AND L<MA(C,5) AND C>O AND C/O>1.02 AND REF(C/REF(C,1)<1.095,1) AND V<HHV(V,7) AND NOT(连涨);
涨停1号:FILTER(ZT1,2),NODRAW;
STICKLINE(涨停1号,0.72,0.8,5,0),COLORYELLOW;
STICKLINE(涨停1号,0.72,0.8,3,0),COLORFF00FF;
STICKLINE(涨停1号,0.72,0.88,1,0),COLORRED;
反转选股公式如下 :
N:=24;
M5:=MA(C,5);
MN:=MA(C,N);
A1:=POW(M5,2)+POW(MN,2);
反转:CROSS(A1,MA(A1,5));