最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信自己组合的指标:MACD+KD+RSI+WR,很实用,送给大家

    正文概述    2024-04-13 11:47:02  

    本指标综合了macd kd rsi 威廉指标,曾经发到指标求助区请各位老师优化了,现在看着还不错,用法很简单,共振的威力无穷

    STICKLINE(1,0,20,10,0)COLOR003300,LINETHICK2;
    STICKLINE(1,80,100,10,0)COLOR000033,LINETHICK2;
    STICKLINE(1,80,20,10,0)COLOR333333,LINETHICK2;
    DIFF:=(EMA(C,12)-EMA(C,26))/EMA(C,26)*1000,NODRAW;

    DEA:=EMA(DIFF,9),COLOR000000;
    DRAWBAND(DIFF+50,RGB(155,50,50),EMA(DIFF+50,9),RGB(0,50,150));
    IF(C,EMA(DIFF+50,9),DRAWNULL),COLORFFFFFF,LINETHICK1;
    IF(C,DIFF+50,DRAWNULL),COLORRED,LINETHICK1;
    IF(DIFF<=REF(DIFF,1),DIFF+50,DRAWNULL),COLORFFF000;
    MACD:2*(DIFF-DEA)+50,NODRAW;
    STICKLINE(MACD50,50,MACD,2,1),COLORCYAN;
    STICKLINE(MACD STICKLINE(MACD>REF(MACD,1)AND MACD<50,50,MACD,2,1),COLORLIMAGENTA;
    STICKLINE(MACD>REF(MACD,1)AND MACD>50,50,MACD,2,1),COLORLIMAGENTA;
    50,DOTLINE,COLORWHITE;20,COLORGREEN;80,COLORBLUE;
    N1:=9;
    LC:=REF(CLOSE,1);
    RSI短:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORRED,LINETHICK2;
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:SMA(RSV,3,1),COLORWHITE;
    D:SMA(K,3,1),COLORYELLOW;

    DRAWNUMBER(ISLASTBAR,CONST(RSI短),RSI短),COLORRED;
    WR:100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),COLORGREEN,LINETHICK2;
    DRAWICON(CROSS(RSI短,WR),WR,1);
    DRAWICON(CROSS(WR,RSI短),RSI短,2);
     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信自己组合的指标:MACD+KD+RSI+WR,很实用,送给大家 加入收藏