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

    正文概述    2024-04-13 15:11:15  

    DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORWHITE;
    DEA:EMA(DIFF,9),COLORYELLOW;
    macd:2*(DIFF-DEA),COLORSTICK,LINETHICK4;
    红柱天数:BArslAST(MacD<0),COLORRED,LINETHICK0 NODRAW;
    绿柱天:=BARSLAST(MACD>0) NODRAW;
    HSL100:=SUM(vol/CAPITAL*100,BARSLAST(crOSS(DIFF,DEA))+1)-VOL/CAPITAL*100;
    HSL101:=SUM(VOL/CAPITAL*100,BARSLAST(CROSS(DEA,DIFF))+1)-VOL/CAPITAL*100;
    HSL102:=SUM(VOL/CAPITAL*100,BARSLAST(CROSS(DIFF,DEA))+1);
    HSL103:=SUM(VOL/CAPITAL*100,BARSLAST(CROSS(DEA,DIFF))+1);
    DRAWNUMBER(CROSS(DEA,DIFF),0.2,ROUND((HSL100/BARSLAST(CROSS(DIFF,DEA)))*100)/100),COLORRED;
    DRAWNUMBER(CROSS(DIFF,DEA),-0.05,ROUND((HSL101/BARSLAST(CROSS(DEA,DIFF)))*100)/100),COLORGREEN;
    DRAWNUMBER(MACD>0 AND ISLASTBAR,MACD,ROUND((HSL102/(BARSLAST(CROSS(DIFF,DEA))+1))*100)/100),COLORRED;
    DRAWNUMBER(MACD<0 AND ISLASTBAR,-0.05,ROUND((HSL103/(BARSLAST(CROSS(DEA,DIFF))+1))*100)/100),COLORGREEN;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信MACD平均换手指标公式 加入收藏