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

    正文概述    2024-04-07 08:34:33  
    通达信三指标背离主图指标 源码 贴图
    通达信三指标背离主图指标 源码 贴图

    MA3:MA(CLOSE,3);
    MA5:MA(CLOSE,5);
    MA10:MA(CLOSE,10);
    MA20:MA(CLOSE,20);
    MA30:MA(CLOSE,30);
    MA60:MA(CLOSE,60);
    MA120:MA(CLOSE,120);
    MA250:MA(CLOSE,250);
    DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
    DEA:=EMA(DIFF,8);
    A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
    B1:=REF(C,A1+1) C AND REF(DIFF,A1+1) DIFF AND CROSS(DIFF,DEA);
    DRAWTEXT(IF(B1 0,1,0),L-0.1,'MACD底背'),COLORGREEN;
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:=SMA(RSV,3,1);
    D:=SMA(K,3,1);
    A2:=BARSLAST(REF(CROSS(K,D),1));
    B2:=REF(C,A2+1) C AND REF(K,A2+1) K AND CROSS(K,D);
    DRAWTEXT(IF(B2 0,1,0),L-0.25,'KDJ底背'),COLORYELLOW;
    LC:=REF(CLOSE,1);{九毛八公式指标网www.9m8.cn}
    RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
    RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
    A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));
    B3:=REF(C,A3+1) C AND REF(RSI1,A3+1) RSI1 AND CROSS(RSI1,RSI2);
    DRAWTEXT(IF(B3 0,1,0),L-0.4,'RSI底背'),COLORCYAN;
    C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
    D1:=REF(C,C1+1) C AND REF(DIFF,C1+1) DIFF AND CROSS(DEA,DIFF);
    DRAWTEXT(IF(D1 0,1,0),H+0.1,'MACD顶背'),COLORWHITE;
    C2:=BARSLAST(REF(CROSS(D,K),1));
    D2:=REF(C,C2+1) C AND REF(K,C2+1) K AND CROSS(D,K);
    DRAWTEXT(IF(D2 0,1,0),H+0.25,'KDJ顶背'),COLORWHITE;
    C3:=BARSLAST(REF(CROSS(RSI2,RSI1),1));
    D3:=REF(C,C3+1) C AND REF(RSI1,C3+1) RSI1 AND CROSS(RSI2,RSI1);
    DRAWTEXT(IF(D3 0,1,0),H+0.4,'RSI顶背'),COLORMAGENTA;



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