最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信KDJ金死叉副图未加密选股指标公式源码

    正文概述    2022-06-13 00:00:00  

    difF:=(Ema(CLOSE,12) - ema(CLOSE,26));
    DEA:=EMA(DIFF,9),COLORFF00FF,LINETHICK2;
    CD:=2*(DIFF-DEA),COLORSTICK,LINETHICK2;
    STICKLINE(((CD<REF(CD,1)) AND (CD > 0)),0,20,2,0),LINETHICK2,COLOR00FF66;
    STICKLINE(((CD>REF(CD,1)) AND (CD < 0)),0,20,2,0),LINETHICK2,COLORFF00FF;
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:SMA(RSV,3,1),COLORRED;
    D:SMA(K,3,1),COLORBLUE;
    J:3*K-2*D,COLORWHITE;
    周K:="KDJ.K#WEEK"(9,3,3);
    周D:="KDJ.D#WEEK"(9,3,3);
    月K:="KDJ.K#MONTH"(9,3,3);
    月D:="KDJ.D#MONTH"(9,3,3);
    DRAWICON(K<20 AND crOSS(K,D),D,1);
    周金:DRAWTEXT(CROSS(REF(周K,1),REF(周D,1)) ,D,'▲'),COLORWHITE;
    周叉:DRAWTEXT(CROSS(REF(周D,1),REF(周K,1)) ,D*1.5,'▼'),COLORCYAN;
    月金:DRAWTEXT(CROSS(REF(月K,1),REF(月D,1)) ,D,'▲'),COLORRED;
    月叉:DRAWTEXT(CROSS(REF(月D,1),REF(月K,1)) ,D*1.5,'▼'),COLORBLUE;
    起涨:IF(DIFF<0,30,0),COLORBLUE,LINETHICK2;
    大涨:IF(DIFF<0,0,DIFF),COLORRED,LINETHICK2;
    下跌:IF(DIFF<DEA,DIFF,DEA),COLOR00FF00,LINETHICK2;
    总趋:IF(DIFF>DEA,DEA,DEA)*60,COLORFF00FF,LINETHICK2;
    AA:=CROSS(DIFF,DEA);
    DRAWICON(AA,-0.02,5);



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信KDJ金死叉副图未加密选股指标公式源码 加入收藏