以下是通达信一个极好的成交量公式,会用的如虎添翼(无源码的请下载附件导入)
极好的成交量公式,会用的如虎添翼今日:VOL,pRECIS0,VOLSTICK;
MA5:MA(VOL,5),pRECIS0;
MA10:MA(VOL,10),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,COLORFF00FF;
stickline(倍量,0,v,7,0),COLORFF00FF;
百日地量: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),0.5,0),pRECIS0,COLORBLUE;
stickline(黑阳,0,v,7,0),COLORBLUE;
红阳:IF(LOW>REF(HIGH,1) AND COUNT(OPEN<CLOSE,1),0.5,0),pRECIS0,COLORRED;
stickline(红阳,0,v,7,0),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;
VV:V,VOLSTICK;
X:=COUNT(C>REF(C,1) AND V>REF(V,1),3)=3;
DRAWICON(BACKSET(X,3),V*1.1,1);
XG:(BACKSET(X,2)*1.11);
|