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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」MACD日周月彩带副图指标 源码 通达信 附图


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

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-1-1 18:34:50
    【资料名称】:MACD日周月彩带副图指标 源码 通达信 附图介绍
    【资料描述】:

    MACD日周月彩带副图指标 源码 通达信 附图

    MACD日周月彩带副图指标 源码 通达信 附图

    XA_1:=(HIGH+LOW+CLOSE)/3;
    DIFF:EMA(XA_1,25)-EMA(XA_1,99),LINETHICK0;
    DEA:EMA(DIFF,17),LINETHICK0;
    MACD:2*(DIFF-DEA),LINETHICK0;
    XA_2:=DIFF;
    XA_3:=DEA;
    DRAWBAND(XA_2,RGB(220,100,0),XA_3,RGB(0,290,255));
    IF(XA_2>=REF(XA_2,1),XA_2,DRAWNULL),COLOR2B4AEC,LINETHICK0;
    IF(XA_2<REF(XA_2,1),XA_2,DRAWNULL),COLORGREEN,LINETHICK0;
    IF(XA_3>=REF(XA_3,1),XA_3,DRAWNULL),COLORRED,LINETHICK0;
    IF(XA_3<REF(XA_3,1),XA_3,DRAWNULL),COLORGREEN,LINETHICK0;
    STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,2,0),COLOR4D00D6;
    STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1.5,0),COLOR4A00A4;
    STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLOR0000EE;
    STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,0.1,0),COLOR4A008E;
    STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR5200FF;
    STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,2,0),COLOR6A6F60;
    STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,1.5,0),COLOR936F60;
    STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,1,0),COLORBE6F60;
    STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,0.1,0),COLORBE9560;
    STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,0,0),COLORBE957F;
    STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),COLOR520E4F;
    STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1.5,0),COLOR520E59;
    STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLOR520E67;
    STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0.1,0),COLOR520E89;
    STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),COLOR155500;
    STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1.5,0),COLOR208000;
    STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1,0),COLOR2BAA00;
    STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0.1,0),COLOR35D500;
    STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0,0),COLOR40FF00;
    XA_4:=EMA(AMOUNT/(100*VOL),5);
    XA_5:=EMA(AMOUNT/(100*VOL),13);
    XA_6:=EMA(AMOUNT/(100*VOL),34);
    XA_7:=DMA(CLOSE,VOL/CAPITAL);
    XA_8:=(CLOSE-XA_5)/XA_5*100;
    DIF:EMA(XA_1,7)-EMA(XA_1,25);
    DE:EMA(DIF,9);
    MACDS:2*(DIF-DE),LINETHICK0;
    IF(XA_8>0 AND XA_8>REF(XA_8,1),DIF,DRAWNULL),COLORRED,LINETHICK2;
    IF(CROSS(CLOSE,XA_6),DIF,DRAWNULL),COLORWHITE,LINETHICK2;
    IF(CROSS(CLOSE,XA_7),DIF,DRAWNULL),COLORYELLOW,LINETHICK2;
    IF(DIF>DE,DIF,DRAWNULL),COLORFFCC33,LINETHICK2;
    IF(DIF<DE,DIF,DRAWNULL),DOTLINE,COLORWHITE;
    IF(DIF>DE,DE,DRAWNULL),COLORGREEN,LINETHICK2;
    IF(DIF<DE,DE,DRAWNULL),DOTLINE,COLORRED;





    gd60634


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






    上一篇:「指标」妖牛启动副图/选股预警 通达信 源码 附图
    下一篇:「指标」换手率战法副图指标 源码 通达信 附图
    回复

    举报

    QQ|

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

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