通达信macd指标参数

  • 通达信MACD指标参数调整,里面的日移动评论数值是不是用来计算DEA。 DIF:0.08

    就是说一个股票被大卖单砸停了,(当日的股价跌到昨日收盘价的10%。跌停时只能买,不能卖)这时候你刚好买进,过一会儿,又有资金进场大手大手的买进这只股票,把它砸在卖1上的单全部吃掉,使股价慢慢升起来。

  • 如何在通达信中设置macd指标

    {MACD} DIF:=EMA(CLOSE,一二)-EMA(CLOSE,二陆); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*二; 红柱:IF(MACD>REF(MACD,一),MACD,DRAWNULL),STICK,COLORRED; 绿柱:=IF(MACD<REF(MACD,一),MACD,DRAWNULL),STICK,COLORYELLOW; 哪 表达清

  • 请教:通达信软件中的MACD指标数值怎么设置成小

    {MACD}
    DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIF,9);
    MACD:=(DIF-DEA)*2;
    红柱:IF(MACD>REF(MACD,1),MACD,DRAWNULL),STICK,COLORRED;
    绿柱:=IF(MACD<REF(MACD,1),MACD,DRAWNULL),STICK,COLORYELLOW;
    哪里小? 怎么小? 表达不清晰!!!

  • 1、帮助写个通达信macd 的指标,与通达信自带macd一样。

    1、简单的,和系统macd一样的如下:
    DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORBLUE;
    DEA:EMA(DIF,9),COLORGREEN;
    MACD:(DIF-DEA)*2,COLORSTICK;
    红柱:IF(MACD>REF(MACD,1),MACD,DRAWNULL),STICK,COLORRED;
    绿柱:IF(MACD<REF(MACD,1),MACD,DRAWNULL),STICK,COLORGREEN;
    2、 和系统macd参数一样的,加了其他条件的如下:
    DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORBLUE;
    DEA:EMA(DIF,9),COLORGREEN;
    MACD:(DIF-DEA)*2,COLORSTICK;
    红柱:IF(MACD>REF(MACD,1),MACD,DRAWNULL),STICK,COLORRED;
    绿柱:IF(MACD<REF(MACD,1),MACD,DRAWNULL),STICK,COLORGREEN;
    抄底:ABS((CROSS(DIF,DEA)&&DEA<=-0.07)*DIF)*1.50,COLORLIMAGENTA;
    强度1:IF(DIF>DEA,DIF,DRAWNULL),COLORRED,LINICK1;
    强度2:IF(DEA<DIF,DEA,DRAWNULL),COLORMAGENTA,LINICK1;
    DRAWTEXT(ABS(抄底)>0,抄底*1.10,'抄底'),COLORYELLOW;
    DRAWICON(ABS(抄底)>0,抄底*1.02,4);
    DRAWICON(CROSS(DIF,DEA),DEA,1);
    DRAWICON(CROSS(DEA,DIF) ,DEA,2);
    DRAWICON(CROSS(DIF,0) AND DIF>DEA,0,1);
    DRAWICON(CROSS(0,DIF) AND DIF<DEA,0,2);
    A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
    A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
    底背离:=REF(C,A1+1)>C AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA);
    顶背离:=REF(C,A2+1)<C AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF);
    DRAWTEXT(底背离=1 AND A2<=10,DIF,'底背'),COLORRED;
    DRAWTEXT(顶背离=1 AND A1<=10,DIF,'顶背'),COLORGREEN;
    XG:底背离=1 AND A2<=10,NODRAW;

  • 综合背离通达信指标公式源码

    内容来自用户:育龙投资


    本公式带有九转序列,macd背离,kdj背离,macd面积,出现红色箭头表示cci值小于-150,且kdj的j值小于20.其他的自己研究{MACD背离}DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);DEA:EMA(DIFF,9);MACD:2*(DIFF-DEA), COLORSTICK,DRAWABOVE;MACD金叉:=BARSLAST(REF(CROSS(DIFF,DEA),1));MACD死叉:=BARSLAST(REF(CROSS(DEA,DIFF),1));MACD上次金叉:=SUMBARS(REF(CROSS(DIFF,DEA),1),2);MACD上次死叉:=SUMBARS(REF(CROSS(DEA,DIFF),1),2);{MACD底背离}MACD次低点:=LLV(DIFF,MACD金叉);MACD最低点:=LLV(DIFF,MACD上次死叉);MACD底背离:=REF(CLOSE,MACD金叉+1)>CLOSE AND MACD次低点>MACD最低点AND CROSS(DIFF,DEA);DRAWLINE(MACD金叉=0,DEA,MACD底背离,DEA,0),COLORRED,LINICK2;{MACD顶背离}MACD次高点:=HHV(DIFF,MACD金叉);MACD最高点:=HHV(DIFF,MACD上次金叉);MACD顶背离:=REF(CLOSE,MACD死叉+1)<CLOSE AND MACD次高点<MACD最高点AND CROSS(DEA,DIFF);DRAWLINE(MACD死叉=0,DEA,MACD顶背离,DEA,0),COLORGREEN,LINICK2;
    红面积:SUM(MACD,BARSLAST(MACD0),COLOR0000FF,NODRAW;绿面积:SUM(MACD,BARSLAST(MACD>0))*(MACD<0),COLORFFFF00,NODRAW;AA:=ROUND(REF(绿面积,1)*100);BB:=ROUND(REF(红面积,1)*100);DRAWNUMBER(CROSS(0,MACD),0.04,ABS(BB)),COLORMAGENTA;DRAWNUMBER(CROSS(MACD,0),-0.01,ABS(AA)),COLORGREEN;
    {CCI}TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,1

  • 求通达信15分钟周期MACD底背离的选股公式

    用日线背离的就可以了。

返回顶部