最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信图示MACD副图源码

    正文概述    2024-04-13 20:32:05  

    说明:依据原指标《吉祥天》改编,对短线MACD指标做了形象图示,便于看盘。图中MACD指标有缩头,缩脚,阻力,支撑,做多,放空会意图示,使用熟练后,看图示便知如何应对,绝无未来

    DIF:EMA(CLOSE,7)-EMA(CLOSE,14),COLORCCFFFF;
    MACD:EMA(DIF,5),COLOR58FF58;
    DEF:2*(DIF-MACD),COLORFFFF00,LINETHICK0;
    STICKLINE(DEF>=0 AND DEF>=REF(DEF,1),0,DEF,6,1),COLORRED;
    STICKLINE(DEF>=0 AND DEF< REF(DEF,1),0,DEF,6,0),COLORRED;
    STICKLINE(DEF<0 AND DEF>=REF(DEF,1),0,DEF,6,1),COLORFFFF00;
    STICKLINE(DEF<0 AND DEF< REF(DEF,1),0,DEF,6,0),COLORFFFF00;
    缩头:=IF(DEF>0 AND REF(DEF,1)>REF(DEF,2) AND DEF< REF(DEF,1),1,0);
    缩脚:=IF(DEF<0 AND REF(DEF,1)< REF(DEF,2) AND DEF>REF(DEF,1),1,0);
    阻力:=IF(CROSS(C,MA(C,20)) OR CROSS(C,MA(C,60)),1,0);
    支撑:=IF(CROSS(MA(C,20),C) OR CROSS(MA(C,60),C),1,0);
    做多:=IF(CROSS(MACD,DIF) AND DIF>0 AND MACD>0,1,0);
    放空:=IF(CROSS(DIF,MACD) AND DIF<0 AND MACD<0,1,0);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信图示MACD副图源码 加入收藏