股票论坛

标题: 请老师帮忙写个(涨停初现)选股公式,谢谢!! [打印本页]

作者: 夜谈天方    时间: 2016-8-23 09:54
标题: 请老师帮忙写个(涨停初现)选股公式,谢谢!!
连涨:=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(连涨);
涨停初现:FILTER(ZT1,2),NODRAW;
STICKLINE(涨停初现,0.72,0.8,5,0),COLORYELLOW;
STICKLINE(涨停初现,0.72,0.8,3,0),COLORFF00FF;
STICKLINE(涨停初现,0.72,0.88,1,0),COLORRED;

作者: (百川)    时间: 2016-8-23 12:03
{涨停初现副图}

连涨:=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(连涨);
涨停初现:FILTER(ZT1,2),COLORYELLOW;
DRAWTEXT(涨停初现,(FILTER(ZT1,2))*0.18,'涨停初现'),COLORYELLOW;
作者: (百川)    时间: 2016-8-23 12:04
{涨停初现预警}

连涨:=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(连涨);
涨停初现:FILTER(ZT1,2);





欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2