最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信抓涨停必看指标公式

    正文概述    2024-04-13 12:19:52  

    涨停数:"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;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信抓涨停必看指标公式 加入收藏