当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:抓涨停必须看,三组趋势同图(通达信指标 副图 源码 测试图)
软件名称:[B]抓涨停必须看,三组趋势同图(通达信指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2023-04-24 00:15:28
软件简介:
抓涨停必须看,三组趋势同图
涨停数:"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;
[url=http://www.70822.com/soft/sort013/sort05/down-167301.html]抓涨停必须看,三组趋势同图(通达信指标 副图 源码 测试图)[/url]