在线检测未来函数

通达信一斧KDJ指标公式

来源:Internet,编辑:股旁网,2023-11-02

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);

通达信一斧KDJ指标公式

相关文章