• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票入门与技巧】【通达信】简单买卖指标公式

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

    DRAWGBK(CURRBARSCOUNT=1, RGB(110,108,108),RGB(88,30,0),0,”,0);
    DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:EMA(DIF,9);
    MACD:”MACD.MACD”,NODRAW;
    W1:STICKLINE(MACD>0,MACD,0,3,1),COLORRED;
    W2:STICKLINE(MACD0)+1);
    VA4:=CROSS(BACKSET(CROSS(MACD,0),REF(VA3,1)+2),0.5);
    BD1:=BARSLAST(FILTERX(CROSS(0,MACD),BARSCOUNT(C)));
    前低A:DRAWLINE(VA4,MACD,REF(VA4,1),REF(MACD,1),1);
    BDTJ:=IF(MACD0)),
    BARSCOUNT(C)),DRAWNULL);
    TSBDTJ:=BARSLAST(BDTJ);
    BDZH:=FILTERX(MACD=1,CONST(LLV(MACD,BD1+1)),DRAWNULL);
    BDCL:=CROSS(COUNT(CROSS(MACD>本低/2 AND MACD=0;
    终点:=IF(ISLASTBAR AND MACD>0 AND MACD=HHV(MACD,BARSLAST(MACD0;
    ZZ:=FILTERX(UU,BARSCOUNT(C));
    本高:DRAWLINE(ZZ,MACD,REF(ZZ,1),REF(MACD,1),1),COLORWHITE;
    横线:=CONST(REF(MACD,BARSLAST(ZZ)));
    WW:=MACD>横线;
    起始点:=FILTERX(REFX(BARSLAST(WW),1)=1,BARSCOUNT(C));
    天数:BARSLAST(起始点),COLORYELLOW,NODRAW;
    上横线:DRAWLINE(起始点,横线,ZZ,横线,0),COLORGREEN,DOTLINE;
    下横线:DRAWLINE(BDZH,CONST(LLV(MACD,BD1+1)),BDTJ=1,MACD,0),COLOR8080FF,DOTLINE;
    DRAWNUMBER(BDTJ,CONST(LLV(MACD,BD1+1))*0.9,BDTS);
    DRAWNUMBER(ZZ,上横线*1.1,天数);
    TJ:=IF(起始点,BARSNEXT(ZZ),DRAWNULL);
    红柱数量:IF(天数>0 AND 天数0,天数),DRAWNULL),COLORWHITE,NODRAW;
    横线起始价:REF(C,天数),NODRAW;
    空间评估:(横线起始价-C)/C*100,NODRAW;
    TT:=BARSLAST(ZZ);
    WQG:=CROSS(COUNT(CROSS(MACD0,0.5),ZZ)=1,0.5) AND ZZ>=0;
    STICKLINE(MACD>前高 AND 本高>前高 AND BARSLAST(CROSS(MACD0 AND
    MACD>(前高+本高)/2,MACD,前高,1,0),COLORYELLOW;
    前高本高二分位:IF(MACD>0 AND 本高!=前高,DRAWLINE(WQG,(前高+本高)/2,REF(WQG,1),REF((前高+本高)/2,1),1)
    ,DRAWNULL),COLORC0C000,DOTLINE;
    AA:=STRCAT(STRCAT(STRCAT(‘〖’,’上升空间’),’〗’),CON2STR(IF(空间评估,空间评估,
    DRAWNULL),2));
    DRAWTEXT(WQG,MACD*1.1,’本高成立’),COLORWHITE;
    DRAWTEXT(BDCL,MACD*1.1,’本低成立’),COLORWHITE;
    STICKLINE(MACD>前高,MACD,前高,1,0),COLORYELLOW;
    STICKLINE(WQG,MACD,0,1,0),COLORGREEN;
    STICKLINE(MACD=0,本低/2,DRAWNULL),COLORRED,DOTLINE;
    0,COLORBLUE,LINETHICK2;
    DIF0:EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK2;
    DEA0:EMA(DIF0,9),LINETHICK2;
    MACD0:”MACD.MACD”,NODRAW;
    W10:STICKLINE(MACD>0,MACD,0,3,1),COLORRED;
    W20:STICKLINE(MACD0)+1);
    VA04:=CROSS(BACKSET(CROSS(MACD,0),REF(VA03,1)+2),0.5);
    BD:=BARSLAST(FILTERX(CROSS(0,MACD),BARSCOUNT(C)));
    前低0:DRAWLINE(VA04,MACD,REF(VA04,1),REF(MACD,1),1),LINETHICK2;
    BDTJ1:=IF(MACD0)),
    BARSCOUNT(C)),DRAWNULL);
    TSBDTJ1:=BARSLAST(BDTJ);
    BDZH1:=FILTERX(MACD=1,CONST(LLV(MACD,BD+1)),DRAWNULL),LINETHICK2;
    BDCL2:=CROSS(COUNT(CROSS(MACD>本低2/2 AND MACD=0;
    持仓段:0,COLOR00CFFF;
    空仓段:0,COLORFFCCFF;
    DRAWTEXT(CROSS(DIF,DEA),DIF-0,’建仓’),COLORRED;
    DRAWTEXT(CROSS(DEA,DIF),DIF+0,’空仓’),COLORGREEN;
    MACD彩柱:(DIF-DEA)*2,COLORSTICK;
    STICKLINE(((MACD彩柱0)),0,MACD彩柱,1,0),LINETHICK2;
    STICKLINE(((MACD彩柱>REF(MACD彩柱,1)) AND (MACD彩柱

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

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

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

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