• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • [股票基础知识]主图叠加MACD、KDJ公式(通达信)

    发布时间: 2020-10-02 21:09 首页:股票一点通>股票公式>通达信公式> 阅读()

    DE:=CONST(LLV(L,90));
    JI:=CONST(HHV(H,90))-DE;
    DE_K:=DE+JI/3*2;
    JI_K:=JI/2;
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    DE_A:=CONST(LLV(RSV,90));
    DD_A:=CONST(HHV(RSV,90))-DE_A;
    R:=(RSV-DE_A)/DD_A;
    RSV1:=R*JI_K+DE_K;
    K:SMA(RSV1,3,1);
    D:SMA(K,3,1);
    J:3*K-2*D;
    DE_M:=DE+JI/3;
    JI_M:=JI/2;
    KDL:=CONST(LLV(EMA(C,26),90));
    KDH:=CONST(HHV(EMA(C,26),90))-KDL;
    R_K1:=(EMA(C,12)-KDL)/KDH;
    R_K2:=(EMA(C,26)-KDL)/KDH;
    DIF~:(R_K1-R_K2)*JI*1.5+DE_M;
    DEA~:EMA(DIF~,9);
    MACD~:=(DIF~-DEA~)*2+DE_M;
    STICKLINE(MACD~>=DE_M,MACD~,DE_M,0,0),COLORLIBLUE;
    D_1:=MACD~>H AND H>=DE_M AND DE_M>=L;
    D_2:=MACD~>H AND H>=L AND L>DE_M;
    D_3:=H>MACD~ AND MACD~>=L AND L>DE_M;
    D_4:=H>MACD~ AND MACD~>DE_M AND DE_M>=L;
    STICKLINE(D_1>0,H,DE_M,0,0),COLORYELLOW;
    STICKLINE(D_2,H,L,0,0),COLORYELLOW;
    STICKLINE(D_3,MACD~,L,0,0),COLORYELLOW;
    STICKLINE(D_4,MACD~,DE_M,0,0),COLORYELLOW;
    D_5:=MACD~D_6:=MACD~D_7:=LD_8:=LSTICKLINE(MACD~STICKLINE(D_5,DE_M,L,0,0),COLORYELLOW;
    STICKLINE(D_6,H,L,0,0),COLORYELLOW;
    STICKLINE(D_7,H,MACD~,0,0),COLORYELLOW;
    STICKLINE(D_8,DE_M,MACD~,0,0),COLORYELLOW;
    L_00:DE_K;
    L_20:JI_K/5+DE_K;
    L_80:JI_K*4/5+DE_K;
    L_100:JI_K+DE_K;

    [股票基础知识]主图叠加MACD、KDJ公式(通达信)

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

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

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

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