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

    正文概述    2024-04-13 11:30:22  

    VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
    K13:SMA(VAR13,3,1);
    D13:SMA(K13,3,1);

    DRAWBAND(K13,RGB(255,255,0),D13,RGB(0,255,0));
    {STICKLINE(K13>D13,K13,D13,8,0),COLOR0055AA;
    STICKLINE(K13>D13,K13,D13,5,0),COLOR0077CC;
    STICKLINE(K13>D13,K13,D13,3,0),COLOR0099DD;
    STICKLINE(K13>D13,K13,D13,1,0),COLOR01BEE7;
    STICKLINE(K13<=D13,K13,D13,8,0),COLOR006600;
    STICKLINE(K13<=D13,K13,D13,5,0),COLOR009900;
    STICKLINE(K13<=D13,K13,D13,3,0),COLOR00BB00;
    STICKLINE(K13<=D13,K13,D13,1,0),COLOR00CC00;}
    VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
    K55:SMA(VAR55,3,1);
    D55:SMA(K55,3,1);
    DRAWBAND(K55,RGB(255,0,0),D55,RGB(0,0,255));
    {STICKLINE(K55>D55,K55,D55,7,0),COLOR000045;
    STICKLINE(K55>D55,K55,D55,5,0),COLOR000085;
    STICKLINE(K55>D55,K55,D55,3,0),COLOR0000C5;
    STICKLINE(K55>D55,K55,D55,1,0),COLOR0000E5;
    STICKLINE(K55<=D55,K55,D55,7,0),COLOR353500;
    STICKLINE(K55<=D55,K55,D55,5,0),COLOR555500;
    STICKLINE(K55<=D55,K55,D55,3,0),COLOR757500;
    STICKLINE(K55<=D55,K55,D55,1,0),COLOR858500;}
    20,COLORWHITE;
    80,COLORWHITE;
    DIBU:= K13<20 AND D13<20 AND K55<20 AND D55<20;
    STICKLINE(DIBU=1,80,60,5.8,1),COLORRED;
    TOBU:= K13>80 AND D13>80 AND K55>80 AND D55>80;
    STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信彩色KD指标KD共振公式源码 加入收藏