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

2022-12-07 09:20:00来源:本站整理浏览:1233

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

重要引用:
X_1:=20;
X_2:=10;
X_3:=IF(FINANCE(3)=0,X_2*2/3,X_2);
X_4:=(HHV(HIGH,X_1)-LLV(LOW,X_1))/CONST(HHV(HHV(HIGH,3*X_1)-LLV(LOW,3*X_1),0))*100;
POWER:X_4/100;
INDEXPOW:(HHV(INDEXC,X_1)-LLV(INDEXC,X_1))/CONST(HHV(HHV(INDEXC,3*X_1)-LLV(INDEXC,3*X_1),0));
X_5:=X_4<=X_3;
X_6:=X_4>X_3;
X_7:=X_4>X_3 AND MA(CLOSE,5)>MA(CLOSE,10);
X_8:=X_4>X_3 AND MA(CLOSE,5)<=MA(CLOSE,10);
引用B:REF(X_5,1);
引用O:REF(X_7,1);
引用N:REF(X_8,1);
引用W:REF(POWER,1);
引用D:REF(INDEXPOW,1);
DH:REF(HIGH,1);
DL:REF(LOW,1);
DC:REF(CLOSE,1);
DO:REF(OPEN,1);
DV:REF(VOL,1);
J1:(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
J2:SMA(J1,3,1);
J3:SMA(J2,3,1);
J4:J3>=REF(J3,1);

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

通达信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;{公式网WWW.GPXIAZAI.COM}
金叉共振: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);

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式