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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」通达信【特殊MACD源码】副图指标 贴图 出手必为精品


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

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-2-4 23:03:32
    【资料名称】:通达信【特殊MACD源码】副图指标 贴图 出手必为精品介绍
    【资料描述】:

    通达信【特殊MACD源码】副图指标 贴图 出手必为精品

    DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:EMA(DIF,9);
    MYY:=EMA(CLOSE,3)-EMA(CLOSE,3);
    YMM:=EMA(MYY,3);
    MACD:(DIF-DEA)*2,COLORSTICK;
    IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORRED,LINETHICK2;
    IF(DIF<REF(DIF,1),DIF,DRAWNULL),COLORGREEN,LINETHICK2;
    MACD2:=MACD;
    获利比:WINNER(C),NODRAW;
    STICKLINE((MACD2>=0),0,MACD2,0,1),COLORRED;
    STICKLINE(((MACD2>=0) AND (MACD2 < REF(MACD2,1))),0,MACD2,0,0),COLORMAGENTA;
    STICKLINE((MACD2<0),0,MACD2,0,0),COLORGREEN;
    STICKLINE(((MACD2<0) AND (MACD2 > REF(MACD2,1))),0,MACD2,0,1),COLORWHITE;
    DRAWICON(LONGCROSS(CLOSE,MA(CLOSE,5),17),MACD2,1);
    DRAWICON(LONGCROSS(MA(CLOSE,5),CLOSE,17),MACD2,2);
    DRAWICON(CROSS(DIF,DEA) AND DIF<=0.2,LLV(DIF,1),29);
    DRAWICON(CROSS(DIF>=0,DIF<DEA),DIF,1);
    低位反转:=MACD<0 AND MACD>REF(MACD ,1) AND REF(MACD ,1)<REF(MACD ,2)AND REF(MACD ,2)<REF(MACD ,3)AND REF(MACD ,3)<REF(MACD ,4);
    STICKLINE(低位反转,0,MACD,0.3,0),COLORRED;

    高位反转:=MACD>0 AND MACD<REF(MACD ,1) AND REF(MACD ,1)>REF(MACD ,2)AND REF(MACD ,2)>REF(MACD ,3)AND REF(MACD ,3)>REF(MACD ,4);
    STICKLINE(高位反转,0,MACD,0.3,0),COLORGREEN;
    低位金叉:=CROSS(DIF,DEA) AND DIF<-0.1;
    JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
    二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
    DRAWICON(二次金叉,0,25);
    三次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=3,60)=1;
    DRAWICON(三次金叉,0,26);A1:=IF(MACD2>0,1,-1);
    TJ:=MACD2>0;
    T:=MACD2<0;
    DRAWTEXT(BARSLAST(TJ)=1,MACD2,'1'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=2,MACD2,'2'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=3,MACD2,'3'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=5,MACD2,'5'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=8,MACD2,'8'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=13,MACD2,'13'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=21,MACD2,'21'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=34,MACD2,'34'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=55,MACD2,'55'),COLORYELLOW;
    DRAWTEXT(BARSLAST(T)=1,MACD2,'1'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=2,MACD2,'2'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=3,MACD2,'3'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=5,MACD2,'5'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=8,MACD2,'8'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=13,MACD2,'13'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=21,MACD2,'21'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=34,MACD2,'34'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=55,MACD2,'55'),COLORGREEN;
    涨家数:INDEXADV,NODRAW,COLORRED;
    跌家数:INDEXDEC,NODRAW,COLORGREEN;
    正量能:涨家数/(涨家数+跌家数)*100,NODRAW,COLORMAGENTA;
    负量能:跌家数/(涨家数+跌家数)*100,NODRAW,COLORYELLOW;
    高开:=O>REF(H,1);
    隔空高开:高开,NODRAW;
    低开:=O<REF(L,1);
    隔空低开:低开,NODRAW;
     


     








     



    gd46776


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






    上一篇:「指标」通达信精准提前必涨停 副图/选股 源码
    下一篇:「指标」双macd共振和OBV背离买点
    回复

    举报

    QQ|

    GMT+8, 2024-11-10 01:24

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