最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信极品分时MACD副图你值得拥有未加密选股指标公式源码

    正文概述    2022-07-29 00:00:00  

    difF:ema(CLOSE,24)-EMA(CLOSE,55),POINTDOT;
    DEA:EMA(DIFF,18),POINTDOT;
    macd:2*(DIFF-DEA),NODRAW;
    STICKLINE(MACD>=REF(MACD,1) AND MACD>0,0,MACD,0.1,0),COLORWHITE;
    STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,0.1,0),COLORFFC4FF;
    STICKLINE(MACD>=REF(MACD,1) AND MACD<0,0,MACD,0.1,0),COLORFFFFBB;
    STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,0.1,0),COLORCYAN;
    NOTEXTM:MACD,COLORLIMAGENTA;
    金叉:=crOSS(DIFF,DEA);
    死叉:=CROSS(DEA,DIFF);
    DRAWICON(金叉,DEA,1);
    DRAWICON(死叉,DEA,2);
    A1:=BArslAST(REF(CROSS(DIFF,DEA),1));
    底背离:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
    NOTEXT底:DRAWLINE(A1=0,REF(DEA,1),底背离,DEA,0)COLORWHITE,LINETHICK2;{含未来}
    A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
    顶背离:=REF(C,A2+1)<C AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
    NOTEXT顶:DRAWLINE(A2=0,REF(DEA,1),顶背离,DEA,0),COLORCYAN,LINETHICK2;{含未来}
    现价:=C,NODRAW;
    均价:=SUM(C*V,240)/SUM(V,240),NODRAW;
    涨力:=(现价/均价-1)*100,NODRAW,COLORBLACK;
    TJ:=现价>均价 AND 涨力>=1;
    DRAWICON(MACD=HHV(MACD,10) AND MACD>REFX(MACD,1) AND TJ AND MACD>0,MACD,23);{含未来};



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信极品分时MACD副图你值得拥有未加密选股指标公式源码 加入收藏