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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」通达信乖离率+MACD副图指标 源码


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

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-1-26 19:02:18
    【资料名称】:通达信乖离率+MACD副图指标 源码介绍
    【资料描述】:

    通达信乖离率+MACD副图指标 源码





    DIF:(EMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED,NODRAW;
    DEA:EMA(DIF,9),COLOR00FFFF,NODRAW;
    MACD:8*(DIF-DEA),NODRAW;
    GLM:COST(50)-COST(20),COLORRED,LINETHICK0;
    GL50:EMA(C-COST(50),5),COLOR00FFFF,LINETHICK0;
    GL20:EMA(C-COST(20),5),COLORFF00FF,LINETHICK0;
    DRAWBAND(GLM,RGB(60,60,60),0,RGB(60,60,60));
    DRAWBAND(GL20,RGB(100,40,100),GLM,RGB(30,100,30));
    STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055;
    STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099;
    STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB;
    STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR888888;
    STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLORBBBBBB;
    STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLORDDDDDD;
    STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLOR3377AA;
    STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLOR3388BB;
    STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLOR4499CC;
    STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLORFF3300;
    STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLORFF5500;
    STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLORFF7700;
    IF(C,0,DRAWNULL),COLORRED,LINETHICK2;
    IF(DIF>0 AND MACD<=0,0,DRAWNULL),COLORFFFFFF,LINETHICK2;
    IF(DIF<=0 AND MACD>0,0,DRAWNULL),COLORFF09FF,LINETHICK2;
    IF(DIF<=0 AND MACD<=0,0,DRAWNULL),COLORBBB000,LINETHICK2;
    GLM,COLORRED,LINETHICK1;
    IF(GLM<REF(GLM,1),GLM,DRAWNULL),COLOR00FF00;
    STICKLINE(CROSS(GL20,GLM),GLM*2,GLM,2,0),COLORFF00FF;
    GL50,COLOR00FFFF,LINETHICK1;
    GL20,COLORFF00FF,LINETHICK1;
    IF(GL50<=REF(GL50,1),GL50,DRAWNULL),COLORBB0000;
    IF(GL20<=REF(GL20,1),GL20,DRAWNULL),COLORFFF000;



    gd53789


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






    上一篇:「指标」通达信峰谷价势副图指标 源码
    下一篇:「指标」通达信涨停板主图指标 源码
    回复

    举报

    QQ|

    GMT+8, 2024-11-10 21:31

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