当前位置:首页 > 通达信公式 > 内容

通达信KDJ多周期共振指标公式源码副图

作者:公式网   更新时间:2022-12-31   点击:

YK:kdj.K#MONTH,NODRAW;
YD:kdJ.D#MONTH,NODRAW;
ZK:KDJ.K#WEEK,NODRAW;
X_1:=KDJ.D#WEEK;
X_2:="KDJ.J#MONTH";
X_3:="KDJ.J#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);

通达信KDJ多周期共振指标公式源码副图

通达信KDJ多周期共振指标公式源码副图

 

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by gszx.com.cn Mobile Web