以下是同花顺星辰量能公式
同花顺星辰量能公式
源码
倍量:((VOL/REF(VOL,1)>2 AND COUNT(CLOSE>=REF(CLOSE,1),1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>2)),STICK,colorblue,LINETHICK3;
DRAWTEXT(倍量,0.80,’倍’),colorblue;
高倍量:V=HHV(V,55) AND V/REF(VOL,1)>=3 AND C>REF(C,1),colorred,LINETHICK1;
DRAWTEXT(高倍量,0.95,’高’),colorred;
百日地量:(LLV(VOL,100)=VOL),STICK,colorred,LINETHICK3;
DRAWTEXT(百日地量,0.8,’地’),colorred;
梯量柱(3天):(COUNT(VOL>REF(VOL,1),3)=3 AND COUNT(CLOSE>OPEN,3)=3),colorgreen,STICK,LINETHICK1;
DRAWTEXT(梯量柱(3天),0.65,’梯’),colorgreen;
平量柱:(V/REF(V,1)>0.97 AND V/REF(V,1)<1.05 AND COUNT(CLOSE>OPEN,2)=2),STICK,LINETHICK2;
DRAWTEXT(平量柱,0.55,’平’),colorwhite;
倍缩量:(COUNT((VOL/REF(VOL,1)<=0.5),1)=1 AND COUNT(CLOSE>OPEN,1)=1),STICK,COLORFF00FF,LINETHICK1;
DRAWTEXT(倍缩量,0.45,’倍缩’),COLORFF00FF;
缩量涨:(COUNT(C>REF(C,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2),coloryellow,STICK,LINETHICK1;
DRAWTEXT(缩量涨,0.3,’缩涨’),coloryellow;
红太阳:(IF(LOW>REF(HIGH,1) AND COUNT(OPEN<CLOSE,1),0.5,0)),STICK,colorred,LINETHICK5;
DRAWTEXT(红太阳,0.15,’红’),colorred;
黑太阳:(IF(LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1),0.5,0)),STICK,colorwhite,LINETHICK5;
DRAWTEXT(黑太阳,0.15,’黑’),colorwhite;
评论(0)