通達信主圖成交量圖指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 成交量
- 畫線方法: 主圖
- 日期:2022-03-30 來源:互聯(lián)網(wǎng)
通達信主圖成交量圖指標公式:
GH:=58;GF:=48;
萬手:VOL/10000,LINETHICK0,NODRAW;
BB:=VOL/((H-L)*2-ABS(C-O));
主動買:=IF(C>O,BB*(H-L),IF(C<O,BB*((H-O)+(C-L)),V/2));
主買:主動買/10000,COLORRED,NODRAW;
主動賣:=IF(C>O,0-BB*((H-C)+(O-L)),IF(C<O,0-BB*(H-L),0-VOL/2));
主賣:-主動賣/10000,COLORGREEN,NODRAW;
差額:(主動買+主動賣)/10000,COLORFFFF00,NODRAW;
AAA:=CONST(LLV(L,GH))*0.85;
AV:=(V/((EMA(VOL,250)/EMA(C,250))*GF));
TC:=C/AV;TH:=H/AV;TL:=L/AV;TO:=O/AV;
ZB:=AV/((TH-TL)*2-ABS(TC-TO));
ZM:=IF(TC>TO,ZB*(TH-TL),IF(TC<TO,ZB*((TH-TO)+(TC-TL)),AV/2));
ZP:=IF(TC>TO,0-ZB*((TH-TC)+(TO-TL)),IF(TC<TO,0-ZB*(TH-TL),0-AV/2));
AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,AV*240/FROMOPEN,DRAWNULL);
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA+AAA,0+AAA,2,0),COLOR0055FF;{預測VOL}
STICKLINE(ZM>0,AAA,ZM+AAA,0.5,0),COLORYELLOW;
STICKLINE(ZP<0,AV+AAA,ZM+AAA,0.5,0),COLORAAAA00;
MA5:MA(C,5),COLORFFFFFF,LINETHICK1;
MA10:MA(C,10),COLORFF00FF,LINETHICK1;
MA20:MA(C,20),COLOR00FFFF,LINETHICK1;
通達信主圖成交量圖指標公式實例圖解:
通達信主圖成交量圖指標公式