绝版量柱(指标 副图 通达信 贴图)

[复制链接]
查看27 | 回复0 | 2022-7-11 11:24:14 | 显示全部楼层 |阅读模式
VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));
买卖差:=(买盘 + 卖盘); DT:=买盘;
KT:=卖盘;
买量20:=SUM(DT,20);
卖量20:=SUM(KT,20);
进出量20:=买量20+卖量20;
STICKLINE(进出量20>=0,0,进出量20,3,1),COLORRED;
STICKLINE(进出量20<0,0,进出量20,3,1),COLORFFFF00; 买量10:=SUM(DT,10);
卖量10:=SUM(KT,10);
进出量10:=买量10+卖量10,COLORRED,LINETHICK2;
STICKLINE(进出量10>=0,0,进出量10,1.8,1),COLORRED;
STICKLINE(进出量10<0,0,进出量10,1.8,1),COLORFFFF00; 买量5:=SUM(DT,5);
卖量5:=SUM(KT,5);
进出量5:=买量5+卖量5,COLORYELLOW,LINETHICK2;
STICKLINE(进出量5>=0,0,进出量5,1,1),COLORRED;
STICKLINE(进出量5<0,0,进出量5,1,1),COLORFFFF00; 买量:=SUM(DT,1);
卖量:=SUM(KT,1);
进出量:=买量+卖量;
STICKLINE(进出量>=0,0,进出量,0.5,0),COLORYELLOW;
STICKLINE(进出量<0,0,进出量,0.5,0),COLORGREEN;

201694845143275.png

201694845143275.png

 
 

20169485931839.rar

2.36 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

20169485931839.rar

回复

使用道具 举报

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

本版积分规则