最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 东财版数列MACD(源码 副图 通达信 贴图)

    正文概述    2024-04-14 17:36:47  

    经过修改,在大周期、日线和小周期上都能用,只有分时图依然不能正常显示数列,希望哪位高手再改进下

    设置下参数



    DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
    DEA:EMA(DIF,MID);
    MACD:(DIF-DEA)*2,COLORSTICK;
    TJ:=MACD>0;T:=MACD<0;
    A:=LLV(MACD,50)=MACD;
    DRAWICON(A AND FILTERX(A,20), MACD,1);
    DRAWTEXT(BARSLAST(TJ)=1,MACD,'1'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=2,MACD,'2'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=3,MACD,'3'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=5,MACD,'5'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=8,MACD,'8'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=13,MACD,'13'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=21,MACD,'21'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=34,MACD,'34'),COLORYELLOW;
    DRAWTEXT(BARSLAST(TJ)=55,MACD,'55'),COLORYELLOW;
    DRAWTEXT(BARSLAST(T)=1,MACD,'1'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=2,MACD,'2'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=3,MACD,'3'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=5,MACD,'5'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=8,MACD,'8'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=13,MACD,'13'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=21,MACD,'21'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=34,MACD,'34'),COLORGREEN;
    DRAWTEXT(BARSLAST(T)=55,MACD,'55'),COLORGREEN;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 东财版数列MACD(源码 副图 通达信 贴图) 加入收藏