股票论坛

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

文字红阳=1和柱体色不一致

[复制链接]

爵★★★

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

听众
2
跳转到指定楼层
楼主
发表于 2016-9-19 21:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在一个成交量指标中,当红阳=1时,柱体显示倍量的洋红色,红色显示不出,请老师指导,如何纠正




今日:VOL,pRECIS0,VOLSTICK;

MA5:MA(VOL,5),pRECIS0;

MA20:MA(VOL,20),pRECIS0;

MA120:MA(VOL,120),pRECIS0;

倍量:(VOL/REF(VOL,1)>2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>2),pRECIS0,COLORMAGENTA;

stickline(倍量,0,v,7,0),COLORMAGENTA;

百日地量:LLV(VOL,100)=VOL,COLORwhite,pRECIS0;

stickline(百日地量,0,v,7,0),COLORwhite,pRECIS0;

三十地量:LLV(VOL,30)=VOL,pRECIS0,COLORFFDE00;

stickline(三十地量,0,v,7,0),COLOR003300;

倍缩量:VOL/REF(VOL,1)<0.5,COLORyellow,pRECIS0;

stickline(倍缩量,0,v,7,0),COLORyellow;

缩量涨:COUNT(C>REF(C,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2,pRECIS0,COLORgreen;

stickline(缩量涨,0,v,7,0),COLORgreen;

黑阳: IF(LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1),1.0,0),pRECIS0,COLORBLUE;

stickline(黑阳,0,v,7,0),COLORBLUE;

红阳:IF(LOW>REF(HIGH,1) AND COUNT(OPEN<CLOSE,1),1.0,0),pRECIS0,COLORRED;


stickline(红阳,1,v,7,1),COLORRED
{VOL:VOL#VOLUMN;
LASBAR:=BARSTATUS==2;
VOLX:IF(LASBAR,DYNAINFO(17)*DYNAINFO(38),0),linethick0;
STICKLINE(LASBAR,0,VOLX,7.5,1),COLORYELLOW,layer7;
地藏王: 倍缩量<ref(vol,1) AND ref(vol,1)<MA5,COLORWHITE,STICK,LINETHICK5;
IF(倍缩量+地藏王=2 ,500000 ,0 ),COLORWHITE,STICK,LINETHICK5;
DRAWTEXT(倍缩量+地藏王=2,2500000,'地藏天王');}
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

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

GMT+8, 2024-12-5 03:52 , Processed in 0.133739 second(s), 19 queries .

Powered by Discuz! X3.2

© 2004-2014 早晨网股票论坛欢迎您!..

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