最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 启富MACD短线只做红柱柱中线只做暖色带

    正文概述    2024-04-13 17:36:47  
    限时:=1;
    DIF:EMA(CLOSE,12)*限时 - EMA(CLOSE,26),COLOR33FF33,LINETHICK2;
    DEA:EMA(DIF,9)*限时,COLORYELLOW,LINETHICK2;
    MACD:2*(DIF-DEA)*限时,COLORSTICK;
    DRAWBAND(DIF,RGB(158,50,50),DEA,RGB(83,123,68));
    短线只做红柱柱:DIF>DEA AND MACD>REF(MACD,1),COLORRED,NODRAW;
    中线只做暖色带:MACD=0,COLORCC66FF;
    STICKLINE(MACD>0,0,MACD,1,0),COLORRED;
    STICKLINE(MACD>0 AND MACDSTICKLINE(MACD<0,0,MACD,1,0),COLORBROWN;
    STICKLINE(MACD<0 AND MACD>REF(MACD,1),0,MACD,1,0),COLORFF00FF;
    IF(DIFIF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORMAGENTA,LINETHICK3;
    DRAWTEXT_FIX(1,0.980,20,1,'★股票指标网'),COLOR444422;
    DRAWICON(CROSS(DIF,DEA),DEA,1);
    DRAWICON(CROSS(DEA,DIF),DIF,2);
    DRAWICON(CROSS(DIF,0),DEA,9);
    DRAWICON(CROSS(0,DIF),DIF,6);
    买:=CROSS(DIF,DEA);
    逃:=CROSS(DEA,DIF);
    DRAWTEXT(买,DIF+0.02,'买'),COLORWHITE;
    DRAWTEXT(逃,DEA+0.02,'逃'),COLORYELLOW;
     

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 启富MACD短线只做红柱柱中线只做暖色带 加入收藏