股票论坛

 找回密码
 免费注册
搜索
热搜: 活动 交友 discuz
查看: 2927|回复: 2
打印 上一主题 下一主题

请老师帮忙写个(涨停初现)选股公式,谢谢!!

[复制链接]

巡抚

Rank: 5Rank: 5

听众
6
跳转到指定楼层
楼主
发表于 2016-8-23 09:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
30爱心果
连涨:=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;

爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
2

爵★★★爵★★★爵★★★

沙发
发表于 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;
回复

使用道具 举报

爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
2

爵★★★爵★★★爵★★★

板凳
发表于 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);
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号

GMT+8, 2024-11-24 02:35 , Processed in 0.147415 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表