股票论坛

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

麻烦高手将飘带启明星副图公式编写一选股公式,谢谢!!

[复制链接]

指标研习组

Rank: 11Rank: 11Rank: 11Rank: 11

听众
2
跳转到指定楼层
楼主
发表于 2015-12-5 16:51 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
30爱心果
麻烦高手将下面副图公式 编写一选股公式:
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
VOLUME:=VOL,VOLSTICK;
  DD:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
  DD1:=VOL<REF(LLV(VOL,13),1);
  DD2:=VOL<REF(LLV(VOL,55),1);
  DD3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;
A:=STICKLINE(DD1,0,V,1,0),COLORGREEN;
  B:=STICKLINE(DD2,0,V,1,0),COLORMAGENTA;
绿量:=A=1 AND COUNT(OPEN<CLOSE,1);
粉量:=B=1;
A1:=CLOSE*VOL;
A2:=EMA((EXPMA(A1,3)/EXPMA(VOL,3)+EXPMA(A1,6)/EXPMA(VOL,6)+EXPMA(A1,12)/EXPMA(VOL,12)+EXPMA(A1,24)/EXPMA(VOL,24))/4,14);
飞天线:=1.15*A2,COLORRED,LINETHICK2;
强势线:=A2*1.02,COLORYELLOW,LINETHICK2;
支撑线:=MA(CLOSE,8),COLORMAGENTA,LINETHICK2;
AA:=MA((2.03*CLOSE+HIGH+LOW)/4,5);
压力线:=AA*102/100,COLORLIGREEN,LINETHICK2;
XG:=DRAWTEXT(COUNT(CROSS(飞天线,压力线),34) AND CROSS(C,强势线) {AND COUNT(C>REF(C,1)*1.096,55)>1},L*0.98,'启明星!'),COLORYELLOW;
飞天启明星: (XG=1 AND 绿量) OR (XG=1 AND 粉量);
AAA1:=MA(C,1);
AAA:=SMA(SMA(SMA(AAA1,2,1),2,1),2,1);
BBB:=MA(AAA,3);
LJL07:=(3*C+L+O+H)/6;
牛线:=(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(LJL07,4)+
15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07,8)+11*REF(LJL07,9)+
10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*REF(LJL07,14)+
5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,
COLORRED,LINETHICK2;
马线:=MA(牛线,5);
飘带启明星: (COUNT(C>REF(C,1)*1.096,55)>0 AND ((CROSS(C,AAA) AND CROSS(C,BBB) AND CROSS(C,牛线)
AND CROSS(C,马线)) OR (CROSS(C,AAA) AND CROSS(C,BBB) AND 牛线>REF(牛线,1) AND BBB>马线)
OR (CROSS(C,牛线) AND CROSS(C,马线) AND 牛线>REF(牛线,1))) AND 绿量) OR (COUNT(C>REF(C,1)*1.096,55)>0 AND ((CROSS(C,AAA) AND CROSS(C,BBB) AND CROSS(C,牛线)
AND CROSS(C,马线)) OR (CROSS(C,AAA) AND CROSS(C,BBB) AND 牛线>REF(牛线,1) AND BBB>马线)
OR (CROSS(C,牛线) AND CROSS(C,马线) AND 牛线>REF(牛线,1))) AND 粉量),COLORGREEN,LINETHICK2;

最佳答案

查看完整内容

VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); VOLUME:=VOL; DD:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01; DD1:=VOL0 AND ((CROSS(C,AAA) AND CROSS(C,BBB) AND CROSS(C,牛线) AND CROSS(C,马线)) OR (CROSS(C,AAA) AND CROSS(C,BBB) AND 牛线>REF(牛线,1) AND BBB>马线) OR (CROSS(C,牛线) AND CROSS(C,马线) AND 牛线>REF(牛线,1))) AND 绿量) OR (COUNT(C>REF(C,1)*1.096,55)>0 AND ((CROS ...

爵★★★

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

听众
5
沙发
发表于 2015-12-5 16:51 | 只看该作者

VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
VOLUME:=VOL;
  DD:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
  DD1:=VOL<REF(LLV(VOL,13),1);
  DD2:=VOL<REF(LLV(VOL,55),1);
  DD3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;
A:=STICKLINE(DD1,0,V,1,0),COLORGREEN;
  B:=STICKLINE(DD2,0,V,1,0),COLORMAGENTA;
绿量:=A=1 AND COUNT(OPEN<CLOSE,1);
粉量:=B=1;
A1:=CLOSE*VOL;
A2:=EMA((EXPMA(A1,3)/EXPMA(VOL,3)+EXPMA(A1,6)/EXPMA(VOL,6)+EXPMA(A1,12)/EXPMA(VOL,12)+EXPMA(A1,24)/EXPMA(VOL,24))/4,14);
飞天线:=1.15*A2,COLORRED,LINETHICK2;
强势线:=A2*1.02,COLORYELLOW,LINETHICK2;
支撑线:=MA(CLOSE,8),COLORMAGENTA,LINETHICK2;
AA:=MA((2.03*CLOSE+HIGH+LOW)/4,5);
压力线:=AA*102/100,COLORLIGREEN,LINETHICK2;
XG:=DRAWTEXT(COUNT(CROSS(飞天线,压力线),34) AND CROSS(C,强势线) {AND COUNT(C>REF(C,1)*1.096,55)>1},L*0.98,'启明星!'),COLORYELLOW;
飞天启明星:=(XG=1 AND 绿量) OR (XG=1 AND 粉量);
AAA1:=MA(C,1);
AAA:=SMA(SMA(SMA(AAA1,2,1),2,1),2,1);
BBB:=MA(AAA,3);
LJL07:=(3*C+L+O+H)/6;
牛线:=(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(LJL07,4)+
15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07,8)+11*REF(LJL07,9)+
10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*REF(LJL07,14)+
5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,
COLORRED,LINETHICK2;
马线:=MA(牛线,5);
飘带启明星: (COUNT(C>REF(C,1)*1.096,55)>0 AND ((CROSS(C,AAA) AND CROSS(C,BBB) AND CROSS(C,牛线)
AND CROSS(C,马线)) OR (CROSS(C,AAA) AND CROSS(C,BBB) AND 牛线>REF(牛线,1) AND BBB>马线)
OR (CROSS(C,牛线) AND CROSS(C,马线) AND 牛线>REF(牛线,1))) AND 绿量) OR (COUNT(C>REF(C,1)*1.096,55)>0 AND ((CROSS(C,AAA) AND CROSS(C,BBB) AND CROSS(C,牛线)
AND CROSS(C,马线)) OR (CROSS(C,AAA) AND CROSS(C,BBB) AND 牛线>REF(牛线,1) AND BBB>马线)
OR (CROSS(C,牛线) AND CROSS(C,马线) AND 牛线>REF(牛线,1))) AND 粉量);
回复

使用道具 举报

指标研习组

Rank: 11Rank: 11Rank: 11Rank: 11

听众
1
板凳
发表于 2016-1-3 18:59 | 只看该作者
:$:$
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 10:00 , Processed in 0.155107 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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