通达信一斧KDJ指标公式

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



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

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

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