【资料名称】:绝版量柱(指标 副图 通达信 贴图)介绍【资料描述】:
绝版量柱(指标 副图 通达信 贴图)
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;
gd42563
【下载地址隐藏】: 点:回复可见地址