通达信辩证分析副图指标 源码

辩证分析指标(副图 通达信 贴图)划分安全与风险区,见底部蓝色块可买入源码下载:
NN:=5;
NN2:=2;
38.2,DOTLINE,COLORBLUE;
61.8,DOTLINE,COLORBLUE;
23.6,DOTLINE,COLORBLUE;
14.4,DOTLINE,COLORBLUE;


XA_1:=C>0;
XA_2:=IF(KDJ.J<(-10),10,0);
XA_3:=CROSS(9.9,XA_2);
XA_4:=(2*CLOSE+HIGH+LOW)/4;
XA_5:=LLV(LOW,NN);
XA_6:=HHV(HIGH,NN);
XA_7:EMA((XA_4-XA_5)/(XA_6-XA_5)*100,5),NODRAW;
XA_8:=MA(XA_7,NN2);
XA_9:MA(XA_7,NN2),NODRAW;
STICKLINE(IF(XA_1,XA_7>XA_9,DRAWNULL),XA_7+3,XA_9,2,1),COLORRED;
STICKLINE(IF(XA_1,XA_7<=XA_9,DRAWNULL),XA_7-3,XA_9,2,0),COLORCYAN;
STICKLINE(IF(XA_1,CROSS(9.9,XA_2),DRAWNULL),XA_7+4,XA_9-5,2,0),COLORBLUE;
STICKLINE(IF(XA_1,CROSS(XA_2,9.9),DRAWNULL),XA_7+4,XA_9-5,2,0),COLORYELLOW;

风险:IF(XA_1,80,DRAWNULL),DOTLINE,COLORMAGENTA;
安全:IF(XA_1,20,DRAWNULL),DOTLINE,COLORGREEN;
XA_10:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
XA_11:=SMA(XA_10,3,1);
XA_12:=SMA(XA_11,3,1);
XA_13:=3*XA_11-2*XA_12;
XA_14:=XA_13<15 AND XA_13>REF(XA_13,1);
XA_15:=XA_13>95 AND XA_13<REF(XA_13,1);
XA_16:=CROSS(XA_7,XA_9) AND XA_9<20 AND XA_7<20;
XA_17:=CROSS(XA_9,XA_7) AND XA_9>80 AND XA_7>80;
JNBUY:IF(XA_16 AND XA_1,20,0),COLORMAGENTA,LINETHICK2;
DRAWICON(JNBUY=20,20,34);
IF(XA_17 AND XA_1,80,100),COLORGREEN,LINETHICK2;
风险区:IF(XA_1,100,DRAWNULL),COLORMAGENTA;
安全区:IF(XA_1,0,DRAWNULL),COLORGREEN;
50,DOTLINE,COLORWHITE;

A00:=XA_7<=XA_9;
A01:=CROSS(30,XA_7);
A02:=BARSLAST(A01=1);

A03:=XA_7<=LLV(XA_7,3) AND A00=1;
A04:=REF(A03,1) AND A00=0;
A05:=CROSS(A04,0.01);
XW1:=BARSLAST(A05=1);
XW2:=REF(XW1,XW1+1)+XW1+1,NODRAW;
A06:=EXIST(A00=1,XW2);
A07:=REF(A06,1)=1 AND A05=1;

A08:=REF(MAX(C,O),XW2);
A09:=REF(MAX(C,O),XW1);
A10:=A09<=A08;

A11:=REF(XA_7,XW2);
A12:=REF(XA_7,XW1);
A13:=A12>=A11;

A14:A13=1 AND A10=1 AND A07=1,NODRAW;
DRAWTEXT(A14=1,50,'*'),COLORLIRED;
DRAWTEXT(A14=1,40,'*'),COLORMAGENTA;
DRAWTEXT(A14=1,60,'*'),COLORYELLOW;
STICKLINE(A14=1,30,70,0,-1),COLORGRAY;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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