通達信量趨勢指標(biāo)公式
- 指標(biāo)類別: 通達信指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 成交量
- 畫線方法: 副圖
- 日期:2022-07-13 來源:互聯(lián)網(wǎng)
通達信量趨勢指標(biāo)公式:
量:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
買量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE<OPEN,量*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
賣量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-量*(HIGH-LOW),0-VOL/2)))*-1;
總量:買量+賣量,LINETHICK0;
凈量:買量-賣量,LINETHICK0;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
買盤:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
{賣盤:-IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLORCYAN,POINTDOT;}
賣盤:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;
震動調(diào)整:=(買盤 + 賣盤);
STICKLINE((震動調(diào)整 < 1),1,震動調(diào)整,3,0),COLOR70DB93;
買賣量差%:((買盤)+(賣盤))/100000,COLORFF00FF;
STICKLINE((買賣量差% < 0),0,買賣量差%,3,0),COLORWHITE,LINETHICK0;
{成交量}買比%:買盤/VOL*100,COLORWHITE,NODRAW;
MA5:MA(VOL,5),COLORRED;
MA35:MA(VOL,35),COLORGREEN;
DRAWTEXT(CROSS(MA5,MA35),(V *1.05),'★'),COLORRED;
MAA:=MA( CLOSE ,2) ;
STICKLINE(C>MAA,總量,1,4,1 ),COLOR00FFFF;
STICKLINE(C<MAA,總量,1,4,1 ),COLORFF00FF;
STICKLINE(凈量<0,1,總量,4,1),COLORFFFF00;
STICKLINE(C<MAA AND 凈量>0,凈量,1,4,1 ),COLOR0000FF;
STICKLINE(V>=2*REF(V,1),1,總量,4,1),COLOR0000FF;
STICKLINE(總量>1,總量,0,3,0),COLORFF3300;
STICKLINE(總量>1,總量,0,2,0),COLORFF7700;
STICKLINE(總量>1,總量,0,1,0),COLORFFAA00;
STICKLINE(總量>1,總量,0,0.1,0),COLORFFFF00;
STICKLINE(買量>0,0,買量,3,0),COLOR000099;
STICKLINE(買量>0,0,買量,2,0),COLOR0000AA;
STICKLINE(買量>0,0,買量,1,0),COLOR0000FF;
STICKLINE(買量>0,0,買量,0.1,0),COLORCC00FF;
STICKLINE(凈量>0,0,凈量,3,0),COLOR0033FF;
STICKLINE(凈量>0,0,凈量,2,0),COLOR0077FF;
STICKLINE(凈量>0,0,凈量,1,0),COLOR00BBFF;
STICKLINE(凈量>0,0,凈量,0.1,0),COLOR00FFFF;
STICKLINE(凈量<0,1,凈量,4,1),COLORFFFF00;
STICKLINE(凈量<0,0,凈量,3,0),COLOR005500;
STICKLINE(凈量<0,0,凈量,2,0),COLOR009900;
STICKLINE(凈量<0,0,凈量,1,0),COLOR00BB00;
STICKLINE(凈量<0,0,凈量,0.1,0),COLOR00FF00;
STICKLINE(C<MAA AND 凈量>0,凈量,0,3,0 ),COLOR777777;
STICKLINE(C<MAA AND 凈量>0,凈量,0,2,0 ),COLOR999999;
STICKLINE(C<MAA AND 凈量>0,凈量,0,1,0 ),COLORBBBBBB;
STICKLINE(C<MAA AND 凈量>0,凈量,0,0.1,0 ),COLORFFFFFF;
{倍量成交拐點橫線}
STICKLINE(V>=3*REF(V,1),V/3,V/3,3.9,0),COLORWHITE;
STICKLINE(V>=2*REF(V,1),V/2,V/2,3.9,0),COLORYELLOW;
MA5,COLORYELLOW ;
MA35,COLORRED;
通達信量趨勢指標(biāo)公式實例圖解:
通達信量趨勢指標(biāo)公式