买卖成交量指标(大智慧)

[复制链接]
查看213 | 回复0 | 2021-8-21 14:02:44 | 显示全部楼层 |阅读模式

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:vol,pointdot;
主动买盘: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)),color00ff00,pointdot;
stickline(VOL>0,vol,0,4,1),colorwhite;
stickline(主动买盘>0,0,主动买盘,4,0),colorred;
stickline(主动卖盘<0,0,主动卖盘,4,0),color00ff00;

202108211318.gif

202108211318.gif

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则