股票论坛
标题:
文字红阳=1和柱体色不一致
[打印本页]
作者:
冬日阳光
时间:
2016-9-19 21:41
标题:
文字红阳=1和柱体色不一致
在一个成交量指标中,当红阳=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,'地藏天王');}
欢迎光临 股票论坛 (http://100000w.com/)
Powered by Discuz! X3.2