通达信一斧KDJ指标公式

财富   2024-11-25 09:00   北京  

每天早上9:00更新--最新股票指标

X_1:=MA(kdj.K#MONTH(9,3,3),20);
X_2:=MA(kdJ.D#MONTH(9,3,3),20);
X_3:=MA(KDJ.K#WEEK(9,3,3),5);
X_4:=MA(KDJ.D#WEEK(9,3,3),5);
X_5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_6:=SMA(X_5,3,1);
X_7:=SMA(X_6,3,1);
X_8:=3*X_6-2*X_7;
X_9:=X_6>=X_7;
X_10:=X_7>X_6;
A15:STICKLINE(X_9,1.2,1.7,2,0),COLORRED;
A16:STICKLINE(X_10,1.2,1.7,2,0),COLORLIBLUE;
X_11:=X_3>=X_4;
X_12:=X_4>X_3;
A11:STICKLINE(X_11,0.6,1.1,2,0),COLORRED;
A12:STICKLINE(X_12,0.6,1.1,2,0),COLORLIBLUE;
X_13:=X_1>=X_2;
X_14:=X_2>X_1;
A7:STICKLINE(X_13,0,0.5,2,0),COLORRED;
A8:STICKLINE(X_14,0,0.5,2,0),COLORLIBLUE;
X_15:=crOSS(X_8,X_6) AND X_8<=20;
A9:DRAWNUMBER(X_15,2.2,20);
X_16:=CROSS(X_8,X_6) AND X_8>20 AND X_8<=50;
A10:DRAWNUMBER(X_16,2.2,50);
X_17:=CROSS(X_6,X_8) AND X_8<=20;
A13:DRAWNUMBER(X_17,2.2,20);
X_18:=CROSS(X_6,X_8) AND X_8>20 AND X_8<=50;
A14:DRAWNUMBER(X_18,2.2,50);
X_19:=CROSS(X_6,X_8) AND X_8>50;
A18:DRAWNUMBER(X_19,2.2,80);
X_20:=CROSS(X_8,X_6) AND X_8>50;
A19:DRAWNUMBER(X_20,2.2,80);

阅读后把下面的在看点亮

设定为星标

系统才会给你主动推荐最新指标

股票指标源码分享
通达信指标源码天天免费分享,主图幅图选股源码,免费通达信软件分享-最好用的股票软件,欢迎关注
 最新文章