通达信主力动向趋势指标公式源码副图

X_1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
X_2:=(2*INDEXC+INDEXH+INDEXL+INDEXO)/5;
X_3:=X_1/X_2;
X_4:=CLOSE/INDEXC;
X_5:=OPEN/INDEXO;
ZLDX:MA(X_3,4),LINETHICK2;
NOTEXT3:IF(ZLDX AND UPNDAY(ZLDX,3),ZLDX,DRAWNULL),COLORRED,LINETHICK3;
STICKLINE(X_3>=X_4 AND X_3>ZLDX,X_3,ZLDX,3,0),COLORRED;
STICKLINE(X_3>=X_5 AND X_3>ZLDX,X_3,ZLDX,3,1),COLORMAGENTA;
STICKLINE(X_3<X_4 AND X_3<=ZLDX,ZLDX,X_3,3,0),COLORCYAN;
STICKLINE(X_3<X_5 AND X_3<=ZLDX,ZLDX,X_3,3,1),COLORYELLOW;
X_6:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_7:=(20*X_6+19*REF(X_6,1)+18*REF(X_6,2)+17*REF(X_6,3)+16*REF(X_6,4)+15*REF(X_6,5)+14*REF(X_6,6)+13*REF(X_6,7)+12*REF(X_6,8)+11*REF(X_6,9)+10*REF(X_6,10)+9*REF(X_6,11)+8*REF(X_6,12)+7*REF(X_6,13)+6*REF(X_6,14)+5*REF(X_6,15)+4*REF(X_6,16)+3*REF(X_6,17)+2*REF(X_6,18)+REF(X_6,20))/210;
X_8:=3;
X_9:=6;
X_10:=12;
X_11:=24;
X_12:=(MA(CLOSE,X_8)+MA(CLOSE,X_9)+MA(CLOSE,X_10)+MA(CLOSE,X_11))/4;
X_13:=X_12<REF(X_12,1);
DRAWICON(REF(X_13,1)=1 AND X_12>REF(X_12,1),ZLDX*0.98,23);
IF(ZLDX>=REF(X_12,1),ZLDX,DRAWNULL),COLORRED,LINETHICK3;




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

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

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

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