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

    正文概述    2024-04-13 03:51:36  


    ///参数:short=12,long=26,m=9

    DIFF : =EMA(CLOSE,12) - EMA(CLOSE,26);

    DEA : =EMA(DIFF,9);

    MACD : 2*(DIFF-DEA),nodraw;

    z:0,colorblack;

    STICKLINE(MACD 0 AND MACD =REF(MACD,1),0,MACD,6,0),color0000ff;

    STICKLINE(MACD 0 AND MACD REF(MACD,1),0,MACD,6,1),color333333;

    STICKLINE(MACD 0 AND MACD =REF(MACD,1),0,MACD,6,1),colorff00ff;

    STICKLINE(MACD 0 AND MACD REF(MACD,1),0,MACD,6,1),color00ff00;

    STICKLINE(MACD 0 AND MACD =REF(MACD,1) AND O REF(C,1) AND REF(C,1) REF(O,1) AND REF(C,1) =C AND REF(C,1)*0.91 REF(C,2),MACD*0.5,MACD,6,0),colorcyan;

    STICKLINE(MACD 0 AND MACD =REF(MACD,1) AND O REF(C,1) AND REF(C,1) REF(O,1) AND REF(C,1)*1.03 REF(H,1) AND C O,MACD*0.5,MACD,6,0),colorcyan;

    STICKLINE(MACD 0 AND MACD =REF(MACD,1) AND O REF(C,1) AND REF(C,1) REF(O,1) AND C O,MACD*0.5,MACD,6,0),colorcyan;

    STICKLINE(MACD 0 AND MACD =REF(MACD,1) AND O REF(C,1) AND REF(C,1) REF(O,1) AND H REF(H,1) AND C O,MACD*0.5,MACD,6,0),colorcyan;

    同花顺大道至简MACD源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺大道至简MACD源码 加入收藏