通达信好用VOL指标公式
2020/2/5 18:34:00
N:=5;
M:=13;
收益: FINANCE(33), POINTDOT,COLORFFCC66;量比:DYNAINFO(17),COLORYELLOW,NODRAW;
成交量:VOL,COLORRED,NODRAW;
YE:=(HIGH+LOW+CLOSE)/3;
YE1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
YE2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-YE);
YE3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
YE4:=IF(HIGH=LOW,1,YE-MIN(CLOSE,OPEN));
YE5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
YE6:=SUM((YE1*YE5),1);
YE7:=SUM((YE2*YE5),1);
YE8:=SUM((YE3*YE5),1);
YE9:=SUM((YE4*YE5),1);
STICKLINE((YE9+YE8)>0,(YE9+YE8),0,2.5,0),COLOR0000AA;
STICKLINE((YE9+YE8)>0,(YE9+YE8),0,1.7,0),COLOR0000CC;
STICKLINE((YE9+YE8)>0,(YE9+YE8),0,0.9,0),COLOR0000DD;
STICKLINE((YE9+YE8)>0,(YE9+YE8),0,0.04,0),COLOR0000FF;
{投股票网-股票公式网站 www.tou18.cn}
STICKLINE((YE6+YE7)>0,(YE6+YE7)+(YE9+YE8),(YE9+YE8),2.5,0),COLOR998855;
STICKLINE((YE6+YE7)>0,(YE6+YE7)+(YE9+YE8),(YE9+YE8),1.7,0),COLORBBAA77;
STICKLINE((YE6+YE7)>0,(YE6+YE7)+(YE9+YE8),(YE9+YE8),0.9,0),COLORDDCC99;
STICKLINE((YE6+YE7)>0,(YE6+YE7)+(YE9+YE8),(YE9+YE8),0.04,0),COLORFFEEBB;
买盘:=(YE9+YE8);
卖盘:=(YE6+YE7)*(-1);
买卖差:=(YE9+YE8)-(YE6+YE7);
成交量增减:(100*((VOL/REF(VOL,1))-1)),NODRAW;
STICKLINE(买卖差>0,0,买卖差,2.5,0),COLOR00AAAA;
STICKLINE(买卖差>0,0,买卖差,1.7,0),COLOR00CCCC;
STICKLINE(买卖差>0,0,买卖差,0.9,0),COLOR00EEEE;
STICKLINE(买卖差>0,0,买卖差,0.04,0),COLOR00FFFF;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
投 股票网 www. tou18.cn
股市公式下载推荐