股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [大智慧] 「指标」分时里把DDX与VOL挂在一起比较(大智慧 源码)


        [-----复制链接-----]

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-3-22 20:09:40
    【资料名称】:分时里把DDX与VOL挂在一起比较(大智慧 源码)介绍
    【资料描述】:

    分时里把DDX与VOL挂在一起比较(大智慧 源码)

    把VOL与DDX>0,DDX<0,DDX=0用不同颜色区分开,可以看清该成交量与DDX的比较
    DRAWRECTREL(-1,0,1000,1000,RGB(0,20,0)),color00FF00,LINETHICK2,LAYER7;;0,DOTLINE;
    vol,STICK,colorff0099,linethick3;;;
    DDX:(ORDERVOL(1,2)-ORDERVOL(2,2)),LINETHICK0;
    S大单:SUM(DDX,0),COLOR0000FF,LINETHICK2,LAYER1;
    STICKLINE(DDX>0,0,DDX,4,0),COLOR0000ff,LINETHICK2,LAYER1; {DDX>0}
    STICKLINE(DDX<0,DDX,0,4,0),COLOR00ff00,LINETHICK2,LAYER1; {DDX<0}
    STICKLINE(DDX=0,-V,0,1,0),COLOR00FFFF,LINETHICK2,LAYER1; {DDX=0}
    S特大单:SUM((ORDERVOL(1,3)-ORDERVOL(2,3)),0),COLORff9900,LINETHICK3,LAYER1;
    drawtextabs(400,0,'大单差(>10W)与VOL'),COLOR00ffFF,LINETHICK4;
    VERTLINE(BARSTATUS=2,2),COLOR0077FF,LAYER0;
    {横柱图: 龙虎看盘}
    TS2:=sum(ordervol(2,3)*100,0);
    DS2:=sum((ordervol(2,2)-ordervol(2,3))*100,0);
    ZS2:=sum((ordervol(2,1)-ordervol(2,2))*100,0);
    {SS2:=sum((1-ordervol(2,1))*100,0);}
    TB2:=sum(ordervol(1,3)*100,0);
    DB2:=sum((ordervol(1,2)-ordervol(1,3))*100,0);
    ZB2:=sum((ordervol(1,1)-ordervol(1,2))*100,0);
    {SB2:=sum((1-ordervol(1,1))*100,0);}
    ZLB:=(TB2+DB2);
    ZLS:=(TS2+DS2);
    ZLH:=ZLB+ZLS;
    ZLB1:=ZLB/ZLH;
    ZLS1:=ZLS/ZLH;
    买卖比:ZLB/ZLS;
    DRAWRECTABS(70+ZLS1*100,2,70+(ZLS1+ZLB1)/2*100,40,RGB(255,0,255)),COLOR005500,LAYER0;
    DRAWRECTABS(70,11,70+ZLS1*100,28,RGB(0,55,0)),COLOR005500,LAYER0;
    DRAWRECTABS(70,13,70+ZLS1*100,26,RGB(0,150,0)),COLOR00BB00,LAYER0;
    DRAWRECTABS(70,14,70+ZLS1*100,25,RGB(0,255,0)),COLOR00FF00,LAYER0;
    DRAWRECTABS(70+ZLS1*100,11,70+(ZLS1+ZLB1)*100,28,RGB(55,0,0)),COLOR000055,LAYER0;
    DRAWRECTABS(70+ZLS1*100,13,70+(ZLS1+ZLB1)*100,26,RGB(150,0,0)),COLOR0000BB,LAYER0;
    DRAWRECTABS(70+ZLS1*100,14,70+(ZLS1+ZLB1)*100,25,RGB(255,0,0)),COLOR0000FF,LAYER0;
    DRAWTEXTABS(30,30,'DDX[卖:买] '+numtostrn(ZLS1*100,1)+':'+NUMTOSTRN(ZLB1*100,1) ),color00FFFF,LINETHICK4,LAYER0;




    gd9286


    【下载地址隐藏】:                    点:回复可见地址
    游客,如果您要查看本帖隐藏内容请回复






    上一篇:「指标」超赢分时走势主图(原创、不限时,源码公开)
    下一篇:「指标」本人用极品VOL成交量源码(能改成通达信的更好)
    回复

    举报

    QQ|

    GMT+8, 2024-11-11 01:28

    快速回复 返回顶部 返回列表