通達信VOLDDV主力多空指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 量能
- 畫線方法: 副圖
- 日期:2024-03-07 來源:互聯網
通達信VOLDDV主力多空指標公式:
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,3,-1),COLOR00C0C0;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:VOL,NODRAW;
主動買盤:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,NODRAW;
主動賣盤:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,NODRAW;
地量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)<LLV(IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),14)*1.001;
天量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)/REF(V,1)>=2;
STICKLINE(主動買盤>0,0,VOL,2,1),COLORWHITE;
STICKLINE(主動買盤>V/2,0,V,2,1),COLOR3232FF;
STICKLINE(主動買盤<=V/2,0,V,2,1),COLORFFFF54;
STICKLINE(主動買盤>0,0,主動買盤,2,0),COLORRED;
STICKLINE(天量,0,主動買盤,0.5,1),COLORMAGENTA;
STICKLINE(地量>0,0,主動買盤,0.5,1),COLORYELLOW;
DDV:=主動買盤+主動賣盤,;
STICKLINE(DDV>0,0,ABS(DDV/1.5),0.5,0),COLORYELLOW;
STICKLINE(DDV<0,0,ABS(DDV/1.5),0.5,0),COLORGREEN;
DV5:MA(MA(DDV,5),2),COLORWHITE,LINETHICK2;
DV15:MA(MA(DDV,15),3),COLORYELLOW,LINETHICK2;
DV35:MA(MA(DDV,35),3),COLORMAGENTA,LINETHICK2;
通達信VOLDDV主力多空指標公式實例圖解:
通達信VOLDDV主力多空指標公式