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

    正文概述    2024-04-13 15:11:10  

    DRAWGBK(O>=0,RGB(22,22,22),RGB(22,22,22),0,'0',0);
    +5,DOTLINE,COLORYELLOW;
    DRAWTEXT(ISLASTBAR,+5,' +5金线'),COLORWHITE;
    -6,DOTLINE,COLORRED;
    DRAWTEXT(ISLASTBAR,-6,' -6'),COLORWHITE;
    DRAWBAND(-16,RGB(64,128,64),-20,RGB(22,22,22));
    DRAWBAND(-20,RGB(0,100,0),-25,RGB(22,22,22));
    DRAWTEXT(ISLASTBAR,-16,' -16'),COLORWHITE;
    DRAWTEXT(ISLASTBAR,-20,' -20'),COLORWHITE;
    DRAWTEXT(ISLASTBAR,-25,' -25'),COLORWHITE;
    cyc13:=0.01*EMA(AMOUNT,13)/EMA(vol,13);
    CYS:(CLOSE-CYC13)/CYC13*100,COLORYELLOW,LINETHICK2;
    N:=5;
    底背离:=REF(C,BArslAST(REF(FILTER(BacKSET(REF(cys,N)=LLV(CYS,2*N+1),N+1),N) AND CYS=LLV(CYS,N+1),1))+1)>C AND REF(CYS,BARSLAST(REF(FILTER(BACKSET(REF(CYS,N)=LLV(CYS,2*N+1),N+1),N) AND CYS=LLV(CYS,N+1),1))+1) DRAWLINE(FILTER(BACKSET(REF(CYS,N)=LLV(CYS,2*N+1),N+1),N) AND CYS=LLV(CYS,N+1),CYS,FILTER(底背离>0,5),CYS,0),COLORWHITE,DOTLINE;
    DRAWTEXT(底背离,CYS,'↑底背离'),COLORWHITE;
    顶背离:=REF(C,BARSLAST(REF(FILTER(BACKSET(REF(CYS,N)=HHV(CYS,2*N+1),N+1),N) AND CYS=HHV(CYS,N+1),1))+1)CYS AND FILTER(BACKSET(REF(CYS,N)=HHV(CYS,2*N+1),N+1),N) AND CYS=HHV(CYS,N+1),COLORGREEN,NODRAW;
    DRAWLINE(FILTER(BACKSET(REF(CYS,N)=HHV(CYS,2*N+1),N+1),N) AND CYS=HHV(CYS,N+1),CYS,FILTER(顶背离>0,5),CYS,0),COLORGREEN,DOTLINE;
    DRAWTEXT(顶背离,CYS,'↓顶背离'),COLORGREEN;
    DRAWTEXT_FIX(C>0,0.65,0.90,0,'穿过红线(-6)是多头'),COLORLIRED;
    DRAWTEXT_FIX(C>0,0.78,0.90,0,'绿色(-16~-25)是超卖区(关注)'),COLORLIGREEN;
    DRAWTEXT_FIX(C>0,0.01,0.9,0,'CYS - 市场盈亏指标'),COLORYELLOW;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信CYS量价背离指标公式 加入收藏