通达信KDJ多周期波段共振副图/选股预警指标公式源码

YK:KDJ.K#MONTH,NODRAW;
YD:KDJ.D#MONTH,NODRAW;
ZK:KDJ.K#WEEK,NODRAW;
X_1:=KDJ.D#WEEK;
X_2:="重要引用.J4#MONTH";
X_3:="重要引用.J4#WEEK";
X_4:=1;
STICKLINE(X_4 AND X_3=1,55,65,5,0),COLOR000088;
STICKLINE(X_4 AND X_3=0,55,65,5,0),COLOR008800;
STICKLINE(X_4 AND X_2=1,45,35,5,0),COLOR000088;
STICKLINE(X_4 AND X_2=0,45,35,5,0),COLOR008800;
K:KDJ.K#DAY,COLORWHITE;
D:KDJ.D#DAY,COLORYELLOW;
J:KDJ.J#DAY,COLORMAGENTA;
DRAWBAND(K,RGB(158,158,0),D,RGB(0,158,158));
X_5:=KDJ.K#DAY>KDJ.D#DAY;
X_6:=X_4 AND X_3=1;
X_7:=X_4 AND X_2=1;
多共振:FILTER(CROSS(X_5 AND X_6 AND X_7 AND REF(ZK,1)<50,0.5),5),NODRAW,COLORYELLOW;
STICKLINE(X_4 AND 多共振=1,45,55,1,0),COLORYELLOW;
X_8:=KDJ.K#DAY<KDJ.D#DAY;
X_9:=X_4 AND X_3=0;
X_10:=X_4 AND X_2=0;
空共振:FILTER(CROSS(X_8 AND X_9 AND X_10 AND REF(ZK,1)>50,0.5),5)*X_4,NODRAW,COLORCYAN;
STICKLINE(空共振=1,45,55,1,0),COLORCYAN;
金叉共振:BARSLAST(REF(KDJ.K#DAY,1)<REF(KDJ.D#DAY,1) AND KDJ.K#DAY>=KDJ.D#DAY)<=1 AND BARSLAST(CROSS(KDJ.K#WEEK,KDJ.D#WEEK))<=5 AND X_2=1 AND REF(ZK,1)<50,NODRAW,COLORRED;
DRAWICON(CROSS(金叉共振,0.1),20,34);
死叉共振:BARSLAST(REF(KDJ.K#DAY,1)>REF(KDJ.D#DAY,1) AND KDJ.K#DAY<=KDJ.D#DAY)<=1 AND BARSLAST(CROSS(KDJ.D#WEEK,KDJ.K#WEEK))<=5 AND X_2=0 AND REF(ZK,1)>50,NODRAW,COLORGREEN;
DRAWICON(CROSS(死叉共振,0.1)*X_4,80,35);




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

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

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