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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」叠加于主图上的指标


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

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-3-1 14:16:42
    【资料名称】:叠加于主图上的指标介绍
    【资料描述】:

    叠加于主图上的指标

    把每月首个交易日在主图上标注

     

    DRAWRECTREL(350,0,542,115,RGB(72,61,139));
    DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
    M:=1;

    年:=YEAR,NODRAW;月:=MONTH,NODRAW;日:=DAY,NODRAW;
    星期:=WEEKDAY,NODRAW;
    DA:=DATE,NODRAW;
    S:=DATETODAY(DA),NODRAW;
    前M日:REF(日,M),NODRAW;
    K:=PERIOD=3 OR PERIOD=4 OR PERIOD=5 OR PERIOD=6;

    D:=CURRBARSCOUNT;
    DRAWNUMBER_FIX(D=M AND K=1,0.39,0.01,1,YEAR)COLORYELLOW;
    DRAWTEXT_FIX(D=M AND K=1,0.395,0.01,0,'年')COLORGREEN;
    DRAWNUMBER_FIX(D=M AND K=1,0.42,0.01,1,MONTH)COLORYELLOW;
    DRAWTEXT_FIX(D=M AND K=1,0.43,0.01,0,'月')COLORGREEN;
    DRAWNUMBER_FIX(D=M AND K=1,0.46,0.01,1,DAY)COLORYELLOW;
    DRAWTEXT_FIX(D=M AND K=1,0.47,0.01,0,'日')COLORGREEN;
    DRAWTEXT_FIX(D=M AND K=1,0.49,0.01,0,'星期')COLORGREEN;
    DRAWNUMBER_FIX(D=M AND K=1,0.52,0.01,1,WEEKDAY)COLORYELLOW;
    {DRAWTEXT(D=M AND K=1,H*1.1,'↓ 收盘价(元)')COLORMAGENTA};
    {DRAWNUMBER(D=M AND K=1,H*1.09,C)COLORMAGENTA};
    DRAWTEXT_FIX(D=M AND K=1,0.38,0.08,0,'收盘价:')COLORGREEN;
    DRAWNUMBER_FIX(D=M AND K=1,0.46,0.08,1,C)COLORYELLOW;
    DRAWTEXT_FIX(D=M AND K=1,0.47,0.08,0,'元')COLORGREEN;


    DRAWTEXT(DATE=1140102,H*1.01,'一月二日'),COLORGREEN;
    DRAWTEXT(DATE=1140207,H*1.01,'二月七日'),COLORGREEN;
    DRAWTEXT(DATE=1140303,H*1.01,'三月三日'),COLORGREEN;
    DRAWTEXT(DATE=1140401,H*1.01,'四月一日'),COLORGREEN;
    DRAWTEXT(DATE=1140505,H*1.01,'五月五日'),COLORGREEN;
    DRAWTEXT(DATE=1140603,H*1.01,'六月三日'),COLORGREEN;
    DRAWTEXT(DATE=1140701,H*1.01,'七月一日'),COLORGREEN;
    DRAWTEXT(DATE=1140801,H*1.01,'八月一日'),COLORGREEN;
    DRAWTEXT(DATE=1140901,H*1.01,'九月一日'),COLORGREEN;
    DRAWTEXT(DATE=1141008,H*1.01,'十月八日'),COLORGREEN;
    DRAWTEXT(DATE=1141103,H*1.01,'十一月三日'),COLORGREEN;
    DRAWTEXT(DATE=1141201,H*1.01,'十二月一日'),COLORGREEN;
    DRAWTEXT(DATE=1130902,H*1.01,'九月二日'),COLORGREEN;
    DRAWTEXT(DATE=1131008,H*1.01,'十月八日'),COLORGREEN;
    DRAWTEXT(DATE=1131101,H*1.01,'十一月一日'),COLORGREEN;
    DRAWTEXT(DATE=1131202,H*1.01,'十二月二日'),COLORGREEN;





     



    gd32919


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






    上一篇:「指标」散户用的短线好指标《真涨》成功率非常高
    下一篇:「指标」地量再次分享个人指标
    回复

    举报

    QQ|

    GMT+8, 2024-11-15 18:03

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