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

    正文概述    2024-04-13 16:01:57  

    VN1:=7;N2:=27;
    RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
    短K:SMA(RSV,3,1),COLOR8060FF,LINETHICK0;
    短D:SMA(短K,3,1),COLORCCDD33,LINETHICK0;
    RSV1:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100;
    中K:=SMA(RSV1,5,1),COLOR0000EF,LINETHICK0;
    中D:=SMA(中K,10,1),COLOR008000,LINETHICK0;
    STICKLINE(中K>中D,中K,中D,2,0),COLOR0000EF;
    STICKLINE(中K<=中D,中K,中D,2,0),COLOR00FF00;
    STICKLINE((中K>中D AND (中K<=REF(中K,1))),中K,中D,1.5,0),COLORFF3000;
    STICKLINE((中K<=中D AND (中K>=REF(中K,1))),中K,中D,1.5,0),COLOR00FFFF;
    STICKLINE(短K>短D,短K,短D,3.5,1),COLOR8080FF;
    STICKLINE(短K<=短D,短K,短D,3.5,1),COLORCCDD33;
    STICKLINE((短K<=短D AND (短K>=REF(短K,1))),短K,短D,2.1,0),COLORFFFFFF;
    STICKLINE((短K>短D AND (短K<=REF(短K,1))),短K,短D,2,0),COLORFFA2AF;
    M1:= (7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*
    SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-
    SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),
    2,1)),COLORWHITE;
    山:EMA((CLOSE-LLV(CLOSE,55))/(HHV(CLOSE,55)-LLV(LOW,55))*100,5),
    COLORFF00FF,LINETHICK3;
    山1:IF(山>REF(山,1),山,DRAWNULL),COLORFFFFFF,LINETHICK3;
    河: EMA(MA(M1,5),3),LINETHICK3,COLOR00BFFF;
    河1:IF(河>REF(河,1),河,DRAWNULL),COLORFFFF00,LINETHICK3;
    清仓:95,COLORGREEN;
    减仓:90,COLORCYAN;
    警觉:80,COLORFF90FF;
    EE:10,COLORRED;
    DRAWTEXT(ISLASTBAR,清仓-2,'清仓 .');
    DRAWTEXT(ISLASTBAR,减仓-2,'减仓 .');
    DRAWTEXT(ISLASTBAR,警觉-2,'警觉 .');
    RFF4060;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信逃跌KD指标公式 加入收藏