• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 通达信中长线买卖点主图指标公式!通达信九转MACD指标公式!

    发布时间: 2019-11-17 16:42 首页:股票一点通>股票公式>通达信公式> 阅读()

    一、通达信中长线买卖点主图指标公式

    SJ:=IF(DATE+19000000<20191128,1,0);

    X1:=EMA(CLOSE,8)*SJ,COLORWHITE;

    X3:=EMA(X1,16)*SJ,COLORRED;

    B:=BARSLAST(DAY<>REF(DAY,1))+1;

    VAR2:=(CLOSE+HIGH+LOW)/3;

    VAR3:=EMA(VAR2,10);

    VAR4:=REF(VAR3,1);

    STICKLINE(VAR3*SJ>VAR4,VAR3,VAR4,2 ,0),COLORRED;

    STICKLINE(VAR3< VAR4*SJ,VAR3,VAR4,2,0), COLORGREEN;

    W:=BARSLAST(DATE<>REF(DATE,1));

    OO:=REF(OPEN,W);

    HX:=HHV(HIGH,3);

    LX:=LLV(LOW,3);

    H1:=IF(HXCLOSE&&(HHV(OPEN,0)-CLOSE)>0,REF(HX,4),0);

    L1:=IF(LX>REF(LX,1)&&LX>REF(LX,3)&&LX>REF(LX,5)&&HX>REF(HX,1)&&HX>REF(HX,2)&&HX>REF(HX,4)&&OPEN0,REF(LX,4),0);

    H2:=VALUEWHEN(H1>0,H1);

    L2:=VALUEWHEN(L1>0,L1);

    K111:=IF(CLOSE>H2,-3,IF(CLOSE

    K222:=VALUEWHEN(K111<>0,K111);

    TMP:=K222;

    MA55:=MA(CLOSE,55);

    DRAWTEXT(CROSS(TMP*SJ,0) ,HX,'卖空'),COLORGREEN;

    DRAWTEXT(CROSS(0,TMP*SJ),LX,'买多)'),COLORRED;

    DRAWICON(CROSS(TMP*SJ,0) ,HX,39),COLORGREEN,DRAWABOVE;

    DRAWICON(CROSS(0,TMP*SJ),LX,38),COLORRED;

    YJD:=IF(DATE+19000000>20191126,1,0);

    DRAWTEXT_FIX(ISLASTBAR=1 AND YJD,0.1,0.2,0,' '),COLORYELLOW;

    通达信中长线买卖点主图指标公式!通达信九转MACD指标公式!

    二、通达信九转MACD指标公式

    DIF:EMA(C,12)-EMA(C,26);

    DEA:EMA(DIF,9);

    MACD:(DIF-DEA)*2,COLORSTICK;

    STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.5,0),COLORLIRED;

    STICKLINE(MACD

    A1:=C>REF(C,4);

    NT:=BARSLASTCOUNT(A1);

    TJ11:=NT=9;

    TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);

    AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;

    DRAWTEXT(AY>0,MAX(DIF,MACD)*1.1,VAR2STR(AY,0)),COLORGREEN;

    DRAWTEXT(NT=9,MAX(DIF,MACD)*1.1,'9'),COLORGREEN;

    B1:=C

    NT0:=BARSLASTCOUNT(B1);

    TJ21:=NT0=9 ;

    TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);

    AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;

    DRAWTEXT(AY1>0,MIN(DIF,MACD)*1.2,VAR2STR(AY1,0)),COLORLIMAGENTA;

    DRAWTEXT(NT0=9,MIN(DIF,MACD)*1.2,'9'),COLORMAGENTA;

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

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

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

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