在线检测未来函数

通达信VOL组合指标公式

来源:Internet,编辑:股旁网,2010-12-27

{注意:净买以万为单位}
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MAVOL5:MA(VOLUME,5);
MAVOL10:MA(VOLUME,10);
虚换手:VVOL/FINANCE(7)*10000;
{股旁网-股票公式网站 www.gupAng.com}
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,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT;
STICKLINE(主买>0,0,主买,2,0),COLORRED;
STICKLINE(主卖>0,0,主卖,0.5,0),COLORBLUE;
净买:(主买-主卖)/10000;
虚量:VVOL/10000;

通达信VOL组合指标公式

 

相关文章