变向共振通达信指标 副图 源码附图

X_1:=(3*CLOSE+HIGH+LOW+OPEN)/6;
X_2:=EMA(X_1,35);
X_3:=(HHV(X_2,10)+HHV(X_2,30)+HHV(X_2,90))/3;
X_4:=(LLV(X_2,10)+LLV(X_2,30)+LLV(X_2,90))/3;
X_5:=(HHV(X_3,5)+HHV(X_3,15)+HHV(X_3,30))/3;
X_6:=(LLV(X_4,5)+LLV(X_4,15)+LLV(X_4,30))/3;
STICKLINE(EMA(EMA(X_1,2),2)>X_6,(-2),2,12,0),COLORRED;
STICKLINE(EMA(EMA(X_1,2),2)<=X_6,(-2),2,12,0),COLORGREEN;
X_7:=EXPMA(CLOSE,6);
X_8:=EXPMA(CLOSE,18);
M1:500*(X_7-X_8)/X_8+2,COLORYELLOW,LINETHICK2;
M2:EMA(M1,3),COLORBLUE,LINETHICK2;
STICKLINE(M1>2,2,M1,2,1),COLORMAGENTA;
STICKLINE(M1>2 AND EMA(EMA(X_1,2),2)>X_6,2,M1,2,0),COLORMAGENTA;
变向关注:IF(M1>=0 AND REF(M1,1)<0 AND REF(M1,2)<0 AND M2>REF(M2,1) OR (M1>REF(M1,1) AND REF(M1,1)<REF(M1,2) AND REF(M1,2)>0) OR (M1>REF(M1,1) AND REF(M1,1)>REF(M1,2) AND REF(M1,2)<REF(M1,3) AND M2>REF(M2,1) AND REF(M2,1)<=REF(M2,2)) OR (M1>REF(M1,1) AND M2>REF(M2,1) AND REF(M2,1)<=REF(M2,2) AND M1>0 AND M2>0),666,0),NODRAW,COLORYELLOW;
钻2:IF(M1>REF(M1,1) AND REF(M1,1)<REF(M1,2) AND M1>=M2 AND REF(M1,1)<REF(M2,1),1,0),NODRAW,COLORYELLOW;
 



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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