最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信绝版量柱指标公式

    正文概述    2024-04-13 15:36:40  

    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;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信绝版量柱指标公式 加入收藏