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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」奢华与朴实的碰撞——极致的MACD金叉+选股公式

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

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-3-4 22:12:11
    【资料名称】:奢华与朴实的碰撞——极致的MACD金叉+选股公式介绍
    【资料描述】:

    奢华与朴实的碰撞——极致的MACD金叉+选股公式

    今天又说macd这个话题,macd是我用的最多的指标,像空中加油,反转,分时买卖背离,昨天一个朋友说我的股票怎么卖到那么高的点位,用什么指标的,我说就是macd分时背离。现在很多在卖的指标,而且老贵了,我也看了很多,都是换汤的。所以我们不要看着奢华就放弃最朴实的macd了。


    DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:EMA(DIFF,9);
    MACD:(DIFF-DEA)*2,COLORSTICK;
    CDA:=MACD<REF(MACD,1) AND MACD>0;
    CDB:=MACD>=REF(MACD,1) AND MACD>0;
    CDC:=MACD>REF(MACD,1) AND MACD<0;
    CDD:=MACD<=REF(MACD,1) AND MACD<0;
    STICKLINE(CDB,0,MACD,1,0),COLOREE00EE;
    STICKLINE(CDA,0,MACD,1,0),COLOR00DDDD;
    STICKLINE(CDC,0,MACD,1,0),COLORAA11BB;
    STICKLINE(CDD,0,MACD,1,0),COLORBLUE;
    XX:=EMA(MA(LOW,3)*0.96,30);
    DIFF金叉:=IF(CROSS(DIFF,DEA) AND XX-REF(XX,1)>0 AND MACD>=REF(MACD,1) AND DIFF<=0,1,0);
    DRAWTEXT(DIFF金叉=1,DIFF*1.5,'DIFF金叉'),COLORCDFFBB;
    周DIFF:="MACD.DIF#WEEK";
    周DEA:="MACD.DEA#WEEK";
    周MACD:="MACD.MACD#WEEK";
    周DIF金叉:=CROSS(周DIFF,周DEA);
    MACD周金叉:=CROSS(周MACD,周DIFF) AND 周MACD>=(0-0.05) AND 周MACD<=0.02;
    DRAWTEXT(MACD周金叉,周MACD*0.98,'MACD周金叉'),COLOR00FFFF;
    MACD金叉:=CROSS(MACD,DIFF) AND MACD>=(0-0.05) AND MACD<=0.02;
    DRAWTEXT(MACD金叉,MACD,'MACD金叉'),COLOR00FFFF;
    低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
    DRAWTEXT(低位金叉,DEA*0.98,' 低位金叉'),COLORYELLOW;
    JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
    二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
    DRAWTEXT(二次金叉,DEA,' 二次金叉'),COLORFF00FF;
    AA1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
    底背离:=REF(CLOSE,AA1+1)>CLOSE AND DIFF>REF(DIFF,AA1+1) AND CROSS(DIFF,DEA);
    AA2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
    顶背离:=REF(CLOSE,AA2+1)<CLOSE AND REF(DIFF,AA2+1)>DIFF AND CROSS(DEA,DIFF);
    {DRAWLINE(AA2=0,DEAA,顶背离,DEAA,0),COLORFFFFFF,LINETHICK2;
    DRAWTEXT(FILTER(顶背离,5),DEA+4,'DIF顶背离'),COLOR00FF;}
    DRAWTEXT(底背离 OR FILTER(顶背离,5),DIFF,IF(底背离,'DIFF底背离','DIF顶背离')),COLOR0099FF;
    {月金叉,死叉}
    月DIFF:="MACD.DIF#MONTH";
    月DEA:="MACD.DEA#MONTH";
    月DIF金叉:=CROSS(月DIFF,月DEA);
    DRAWTEXT(周DIF金叉 OR 月DIF金叉,周DIFF*0.98,IF(月DIF金叉=1,'DIFF月金叉','DIFF周金叉')),COLORFF00FF;
    DRAWTEXT(CROSS(周DEA,周DIFF) OR CROSS(月DEA,月DIFF),周DIFF*1.02,IF(CROSS(月DEA,月DIFF),'DIF月死叉','DIFF周死叉')),COLORCDFFBB;
    {DRAWTEXT(月DIF金叉,DEA*0.92,'DIF月金叉'),COLOR00FFCC;
    DRAWTEXT(CROSS(月DEA,月DIFF),DEA*1.02,'DIF月死叉'),ALIGN0,COLORA52A2A;};





















    gd30538


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






    上一篇:「指标」超级短线主图\精超MACDQ切入KDJ和多空趋势带
    下一篇:「指标」绝对起爆,不会有错(附副图及选股)
    回复

    举报

    QQ|

    GMT+8, 2024-11-11 03:20

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