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

    正文概述    2024-04-13 16:11:45  

    SHORT:=12;
    LONG:=26;
    MID:=9;
    DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
    DEA:EMA(DIFF,MID);
    macd:(DIFF-DEA)*2,LINETHICK0;
    STICKLINE(MacD>0,MACD,0,-1,1),COLORRED;
    STICKLINE(MACD<0,MACD,0,-1,0),COLORCCCC00;
    DRAWICON(ISLASTBAR=1 AND MACD>REF(MACD,1),HHV(MACD,42),1);
    DRAWICON(ISLASTBAR=1 AND MACD VAR1:=HHV(DEA,42);
    VAR2:=LLV(DEA,42);
    VAR3:=DEA-(DIFF-DEA);
    VAR4:=DEA-(DIFF-DEA);
    UP:IF(DIFF>VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1),COLORBB9A00;
    DN:IF(DIFF 波↓:IF(DIFF 波↑:IF(DIFF>REF(DN,1)AND DIFF ☆DEA:IF(DIFF>REF(DN,1),DIFF,DRAWNULL),COLORFF00FF,LINETHICK3;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信MACD夹心指标公式 加入收藏