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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」高低四区主图指标 源码 通达信 贴图


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

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-1-6 13:47:37
    【资料名称】:高低四区主图指标 源码 通达信 贴图介绍
    【资料描述】:

    高低四区主图指标 源码 通达信 贴图





    N:=120;
    K:=BARSLAST(CURRBARSCOUNT=N);
    GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));
    DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));
    KJ:=GD-DD;
    GD4:=IF(CURRBARSCOUNT<=N/2,GD,DRAWNULL);
    DRAWBAND(GD4,RGB(0,0,250),DD+KJ/2,RGB(0,0,0));{该行设置背景色}
    平衡:IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),COLOR00FFFF,NODRAW;
    压力:IF(CURRBARSCOUNT<=N,GD-KJ*0.191,DRAWNULL),COLORFF00FF,NODRAW;
    支撑:IF(CURRBARSCOUNT<=N,DD+KJ*0.191,DRAWNULL),COLOR00FF00,NODRAW;
    低吸:IF(CURRBARSCOUNT<=N/2 AND CROSS(平衡,LOW),1,DRAWNULL),COLORFF8899,NODRAW;
    低涨:IF(CURRBARSCOUNT<=N,(C/LLV(LOW,K)-1)*100,DRAWNULL),COLOR0000FF,NODRAW;
    天:BARSLAST(L=DD),COLOR00FFFF,NODRAW;
    MA5:MA(CLOSE,5),COLORFFFFFF;
    MA13:MA(CLOSE,13),COLOR00FFFF;
    MA55:MA(C,55),COLORFF00FF;
    高:IF(CURRBARSCOUNT<=N,GD,DRAWNULL),COLOR00FFFF,POINTDOT;
    低:IF(CURRBARSCOUNT<=N,DD,DRAWNULL),COLOR00FF00,POINTDOT;
    {以下设置主图显示方式}
    STICKLINE(CURRBARSCOUNT=N,GD,DD,0,-1),COLORGREEN;
    STICKLINE(CURRBARSCOUNT=N/2,GD,DD,0,-1),COLORGREEN;
    STICKLINE(CURRBARSCOUNT=1,GD,DD,0,-1),COLORGREEN;
    STICKLINE(CURRBARSCOUNT<=N,平衡,平衡,3,-1),COLORWHITE;
    STICKLINE(CURRBARSCOUNT<=N/2,压力,压力,3,-1),COLORRED;
    STICKLINE(CURRBARSCOUNT<=N/2,支撑,支撑,3,-1),COLORGREEN;
    DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
    DRAWICON(低吸,LOW,13);
    {以下设置提示文字部分}
    DRAWTEXT(CURRBARSCOUNT=1,压力,'0.809'),COLOR0000FF;
    DRAWTEXT(CURRBARSCOUNT=1,平衡,'0.500'),COLORFFFFFF;
    DRAWTEXT(CURRBARSCOUNT=1,支撑,'0.191'),COLOR00FFFF;
    DRAWTEXT(CURRBARSCOUNT=N/2+9,GD-KJ/12,'★强势区域--急拉减仓!'),COLOR00FFFF;
    DRAWTEXT(CURRBARSCOUNT=N/2+9,GD-KJ/3,'●震荡整理--寻机低吸!'),COLOR00FF00;
    DRAWTEXT(CURRBARSCOUNT=N/2+9,DD+KJ/3,'◆反弹中轨--逢高休息!'),COLORFFFFFF;
    DRAWTEXT(CURRBARSCOUNT=N/2+9,DD+KJ/10,'■弱势区域--暂不参与!'),COLORFFFF00;
    DRAWTEXT(CURRBARSCOUNT=N,GD-KJ/12,'■目前K线天数:请看参数!'),COLOR0000FF;
    DRAWTEXT(CURRBARSCOUNT=N,压力,'■建议查阅K线:短线30天,中长线120天!'),COLORFF8899;



    gd59254


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






    上一篇:「指标」MACD 金叉费数标注副图指标 源码 通达信 贴图 及逐次选股
    下一篇:「指标」跟进牛股副图/选股指标 通达信 贴图 自创 不加密
    回复

    举报

    QQ|

    GMT+8, 2024-11-10 08:10

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