通达信CYS量价背离指标公式

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)<CYS AND FILTER(BACKSET(REF(CYS,N)=LLV(CYS,2*N+1),N+1),N) AND CYS=LLV(CYS,N+1),COLORWHITE,NODRAW;
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)<C AND REF(CYS,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;




未来函数检测结果如下:
该公式包含未来函数:BACKSET
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图