• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票入门基础知识】【通达信】一阳多线及选股指标公式

    发布时间: 2020-04-19 19:04 首页:股票一点通>股票公式>通达信公式> 阅读()

    X1:=MA(C,5);
    X2:=MA(C,10);
    X3:=MA(C,20);
    X4:=MA(C,60);
    X5:=MA(C,120);
    X6:=MA(C,250);
    CX1:=LX1;
    CX2:=LX2;
    CX3:=LX3;
    CX4:=LX4;
    CX5:=LX5;
    CX6:=LX6;
    XX:=CX1+CX2+CX3+CX4+CX5+CX6;
    DRAWNUMBER(XX>=3,0.5,XX),COLORYELLOW;
    STICKLINE(XX>=3,0,0.5,0,0),COLORYELLOW;
    Y1:=EMA(C,5);
    Y2:=EMA(C,10);
    Y3:=EMA(C,20);
    Y4:=EMA(C,60);
    Y5:=EMA(C,120);
    Y6:=EMA(C,250);
    CY1:=LY1;
    CY2:=LY2;
    CY3:=LY3;
    CY4:=LY4;
    CY5:=LY5;
    CY6:=LY6;
    XY:=CY1+CY2+CY3+CY4+CY5+CY6;
    DRAWNUMBER(XY>=3,0.8,XY),COLORLIRED;
    STICKLINE(XY>=3,0.5,1,0,0),COLORLIRED;
    DRAWTEXT_FIX(1,0,0,0,’粉红色为EMA线’),COLORLIRED;
    DRAWTEXT_FIX(1,0,0.5,0,’黄色为MA线’),COLORYELLOW;

    {
    XX:=1;
    X1:=IF(XX=0,MA(C,5),EMA(C,5));
    X2:=IF(XX=0,MA(C,10),EMA(C,10));
    X3:=IF(XX=0,MA(C,20),EMA(C,20));
    X4:=IF(XX=0,MA(C,60),EMA(C,60));
    X5:=IF(XX=0,MA(C,120),EMA(C,120));
    X6:=IF(XX=0,MA(C,250),EMA(C,250)),COLORLICYAN;
    CX1:=LX1;
    CX2:=LX2;
    CX3:=LX3;
    CX4:=LX4;
    CX5:=LX5;
    CX6:=LX6;
    XX:=CX1+CX2+CX3+CX4+CX5+CX6;
    XG:XX>=3;
    }

    特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。

    网站首页-股票知识--股票公式-散户炒股-问答百科--缠中说禅-概念股

    未经本站书面特别授权,请勿转载或建立镜像

    Copyright @ 2020 All Rights Reserved.版权所有 XMl地图
    Baidu
    map