通达信判断形态趋势指标公式

T:80,POINTDOT,COLORBLUE,LINETHICK3;
OO:20,POINTDOT,COLORMAGENTA,LINETHICK3;
ZKK:kd.K#WEEK(9,3,3),COLORRED;
ZKD:KD.D#WEEK(9,3,3),COLORYELLOW;
X_1:=FILTER(crOSS(ZKK,ZKD) AND REF(ZKD,1)<30,13);
X_2:=CROSS(ZKK,ZKD);
X_3:=CROSS(ZKD,ZKK);
DRAWICON(X_3,ZKK,15);
DRAWICON(X_2,ZKD,23);
X_4:=X_1;
STICKLINE(X_4,20,10,4,0),COLOR000099;
STICKLINE(X_4,20,10,2,0),COLOR0000BB;
STICKLINE(X_4,20,10,1,0),COLOR0000DD;
STICKLINE(X_4,0,20,0.3,0),COLORRED;
DRAWTEXT(X_4,20,8),COLORRED;
X_5:=FILTER(CROSS(ZKD,ZKK) AND REF(ZKK,1)>78,13);
STICKLINE(X_5,90,80,4,0),COLOR009900;
STICKLINE(X_5,90,80,2,0),COLOR00BB00;
STICKLINE(X_5,90,80,1,0),COLOR00DD00;
STICKLINE(X_5,100,80,0.3,0),COLORGREEN;
DRAWTEXT(X_5,95,9),COLORGREEN;
X_6:=macd.DIF#WEEK(12,26,9);
X_7:=MacD.DEA#WEEK(12,26,9);
X_8:=FILTER(CROSS(X_6,X_7) AND REF(X_7,1)<0,13);
X_9:=X_8;
STICKLINE(X_9,10,20,4,0),COLOR990099;
STICKLINE(X_9,10,20,2,0),COLORBB00BB;
STICKLINE(X_9,10,20,1,0),COLORDD00DD;
STICKLINE(X_9,10,20,0.3,0),COLORMAGENTA;
DRAWTEXT(X_9,10,10),COLORMAGENTA;
X_10:=FILTER(CROSS(X_7,X_6) AND REF(X_6,1)>0,13);
STICKLINE(X_10,90,80,4,0),COLOR999900;
STICKLINE(X_10,90,80,2,0),COLORBBBB00;
STICKLINE(X_10,90,80,1,0),COLORDDDD00;
STICKLINE(X_10,90,80,0.3,0),COLORCYAN;
DRAWTEXT(X_10,83,11),COLORCYAN;
STICKLINE(X_4 AND X_9,20,80,0.1,0),COLORMAGENTA;
DRAWTEXT(X_4 AND X_9,50,12),COLORRED;
DRAWTEXT(X_4 AND X_9,43,13),COLORRED;
STICKLINE(X_5 AND X_10,20,80,0.1,0),COLORGREEN;
DRAWTEXT(X_5 AND X_10,50,14),COLORBLUE;
X_11:=CLOSE-REF(CLOSE,1);
X_12:=100*EMA(EMA(X_11,6),6)/EMA(EMA(Abs(X_11),6),6);
X_13:=LLV(X_12,2)=LLV(X_12,7) AND COUNT(X_12<0,2) AND CROSS(X_12,MA(X_12,2));
X_14:=FILTER(X_13,13);
X_15:=X_14;
STICKLINE(X_15,20,30,0.3,0),COLORYELLOW;
DRAWTEXT(X_15,33,15),COLORYELLOW;




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

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

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