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

    正文概述    2024-04-14 18:24:28  

    DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIFF,9);
    macd1:=(DIFF-DEA)*2;
    JT1:=(BArslAST(crOSS(DIFF,DEA)));
    JT2:=(SUMBARS(CROSS(DIFF,DEA),2)-1);
    ST1:=(BARSLAST(CROSS(DEA,DIFF)));
    ST2:=(SUMBARS(CROSS(DEA,DIFF),2)-1);
    JZX11:=HHV(DIFF,JT1)<>HHV(DIFF,JT2) AND HHV(MacD1,JT1)<>HHV(MACD1,JT2);
    JZX22:=HHV(H,JT1)=HHV(H,JT2);
    JZX33:=JT1<(JT2-ST2);
    XG:=DIFF>0 AND CROSS(DEA,DIFF) AND JZX11 AND JZX22 AND JZX33;
    DRAWTEXT(XG,H,'顶背')COLORYELLOW;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信标准MACD顶背离主图指标公式 加入收藏