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

    正文概述    2024-04-14 17:57:25  

    SHORT:=12;
    LONG:=26;
    M:=9;
    DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
    DEA : EMA(DIFF,M);
    macd : 2*(DIFF-DEA);
    Zero : 0;
    斜率12:= REF(DIFF,1) - REF(DIFF,2);
    斜率01:= DIFF - REF(DIFF,1);
    DRAWTEXT(((斜率01 > 斜率12)AND(MacD>0)
    AND (斜率12>0.0006)
    // AND(REF(MACD,1)>MACD)
    ),DIFF,'强势↑'), colorlired;
    DRAWTEXT(((斜率01 > 斜率12)AND(MACD>0)
    AND(REF(MACD,1)>MACD)
    AND (斜率12>0.0006)
    ),Zero ,'强势↑必买'), colorlired;
    DRAWTEXT(((REF(DIFF,2)>REF(DIFF,1))AND(REF(DIFF,1) //IF((斜率01 > 斜率12) AND(MACD>0) )THEN BUY;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺MACD强势指标公式 加入收藏