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

    正文概述    2024-04-14 15:34:16  

    源码

    {发了N次的MACD*}
    {DIFF:EMA(CLOSE,12)-EMA(CLOSE,27);}
    DIF:=EMA(CLOSE,9)-EMA(CLOSE,18);
    DEA:EMA(DIF,7),LINETHICK1,COLORFFFFFF;
    MACD:=2*(DIF-DEA);
    QDIF:IF(DIF>DEA,DIF,0),COLORRED,LINETHICK;
    PARTLINE(DIF>DEA,DIF),COLORRED,LINETHICK2;
    RDIF:IF(DIF PARTLINE(DIF STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR0000FF;
    STICKLINE(MACD>=0 AND MACD< REF(MACD,1),0,MACD,0,0),COLORFFFF00;
    STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLORFF99FF;
    STICKLINE(MACD<0 AND MACD< REF(MACD,1),0,MACD,0,0),COLORFFFF00;
    金叉:CROSS(DIF,DEA) AND DIF<0.3,COLOR0000FF,LINETHICK;
    DRAWICON((CROSS(DIF,DEA) AND DIF<0.3),0,1);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 唯美MACD 加入收藏