通达信抓涨停必看指标公式

涨停数:"880006$C"-1,COLORLIRED,NODRAW;
跌停数:"880006$O"-1,COLORGREEN,NODRAW;
上涨数:=INDEXADV,NODRAW;
下跌数:=INDEXDEC,NODRAW;
涨跌比:=上涨数/下跌数,NODRAW;
N:=3;
X:=BARSSINCE(15);
EX:=SUM(X,N);
XX:=X*X;
EXX:=SUM(XX,N);
Y:=MA(涨停数,8);
YY:=Y*Y;
XY:=X*Y;
EY:=SUM(Y,N);
EYY:=SUM(YY,N);
EXY:=SUM(XY,N);
涨停趋势:(N*EXY-EX*EY)/SQRT((N*EXX-EX*EX)*(N*EYY-EY*EY))+3,COLORWHITE,LINETHICK1;
MA涨停趋势:MA(涨停趋势,4),COLORYELLOW,LINETHICK1;
X2:=BARSSINCE(15);
EX2:=SUM(X2,N);
XX2:=X2*X2;
EXX2:=SUM(XX2,N);
Y2:=MA(跌停数,8);
YY2:=Y2*Y2;
XY2:=X2*Y2;
EY2:=SUM(Y2,N);
EYY2:=SUM(YY2,N);
EXY2:=SUM(XY2,N);
跌停趋势:(N*EXY2-EX2*EY2)/SQRT((N*EXX2-EX2*EX2)*(N*EYY2-EY2*EY2)),COLORGREEN,LINETHICK1;
MA跌停趋势:MA(跌停趋势,4),COLORCYAN,LINETHICK1;
X3:=BARSSINCE(15);
EX3:=SUM(X3,N);
XX3:=X3*X3;
EXX3:=SUM(XX3,N);
Y3:=MA(涨跌比,8);
YY3:=Y3*Y3;
XY3:=X3*Y3;
EY3:=SUM(Y3,N);
EYY3:=SUM(YY3,N);
EXY3:=SUM(XY3,N);
涨跌比趋势:(N*EXY3-EX3*EY3)/SQRT((N*EXX3-EX3*EX3)*(N*EYY3-EY3*EY3))+6,COLORRED,LINETHICK1;
MA涨跌比趋势:MA(涨跌比趋势,4),COLORMAGENTA,LINETHICK1;




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

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

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

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