1. 首页 > 学习选股

通达信变色macd指标怎样安装(macd背离指标源码)

通达信变色macd指标怎样安装(macd背离指标源码)

内容导航:
  • 请把通达信macd指标的紫色改成红色,谢谢了
  • 如何在通达信中设置macd指标
  • 请大师帮忙,把通达信指标里的MACD零轴下的蓝色改为绿色.紫色改为白色.谢谢了
  • 怎么把通达信软件MACD指标蓝色的柱状线变为绿色
  • 大机构至尊版macd通达信指标公式源码
  • macd指标背离选股公式?
  • 求一个通达信MACD自动选股公式
  • Q1:请把通达信macd指标的紫色改成红色,谢谢了

    XK:=200;
    DIF:EMA(CLOSE,12)-EMA(CLOSE,26),NODRAW;
    DEA:EMA(DIF,9),NODRAW;
    MACD:(DIF-DEA)*2,NODRAW;
    HH:=0.8*CONST(IF(ISLASTBAR,MAX(HHV(ABS(DIF),XK),HHV(ABS(MACD),XK)),DRAWNULL));
    DIFZ:=DIF/HH*100;
    DEAZ:=DEA/HH*100;
    DRAWBAND(DIFZ,RGB(150,00,00),DEAZ,RGB(00,99,00));
    STICKLINE(MACD<=0,0,MACD/HH*100,0,0),COLORFFFF00;
    STICKLINE(MACD>=0,0,MACD/HH*100,0,0),COLORYELLOW;

    Q2:如何在通达信中设置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; 哪 表达清

    Q3:请大师帮忙,把通达信指标里的MACD零轴下的蓝色改为绿色.紫色改为白色.谢谢了

    你测试 看看下面的语句是否符合你的要求---
    DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED;
    DEA:EMA(DIF,9),COLORYELLOW;
    MACD:(DIF-DEA)*2,COLORSTICK;
    金叉:CROSS(DIF,DEA),NODRAW;
    死叉:CROSS(DEA,DIF),NODRAW;
    DRAWICON(CROSS(DIF,DEA),DEA,1);
    DRAWICON(CROSS(DEA,DIF),DIF,2);
    空中加油:IF(DIF>REF(DIF,1) AND DIF>=DEA AND REF(DIF,1)<=REF(DIF,2) AND REF(DIF,1)>=REF(DEA,1) ,1,0),NODRAW;
    DRAWICON(空中加油=1,DIF,23);
    强:IF(DIF>=DEA,DIF,DRAWNULL),COLORRED,LINETHICK2;
    弱:IF(DEA>=DIF,DEA,DRAWNULL),COLORBLUE,LINETHICK2;
    STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2,0 ),COLOR00BBFF;
    STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1,0 ),COLOR00DDFF;
    STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0,0 ),COLOR00FFFF;
    STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2,0 ),COLOR0011EE;
    STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1,0 ),COLOR0033DD;
    STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,0,0 ),COLOR0055FF;
    STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2,0 ),COLORWHITE;
    STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1,0 ),COLORWHITE;
    STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0,0 ),COLORGREEN;
    STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2,0 ),COLORGREEN;

    Q4:怎么把通达信软件MACD指标蓝色的柱状线变为绿色

    DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
    DEA:EMA(DIF,MID);
    MACD:(DIF-DEA)*2,NODRAW;
    STICKLINE(MACD>=0,MACD,0,0,0),COLORRED;
    STICKLINE(MACD<0,MACD,0,0,0),COLORGREEN;
    用上面的换掉系统自带的macd公式内容另存下就行!

    Q5:大机构至尊版macd通达信指标公式源码

    内容来自用户:育龙投资

    大机构至尊版macd
    DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:=EMA(DIFF,M);MACD2:=2*(DIFF-DEA);(CLOSE<0 AND CROSS(DIFF,0),H*1.3),COLOR000080,NODRAW;(CLOSE<0 AND CROSS(MACD2,0),H*1.3),COLOR000080,NODRAW;(CLOSE<0 AND CROSS(0,DIFF),H*1.3),COLOR808080,NODRAW;(CLOSE<0 AND CROSS(0,MACD2),H*1.3),COLOR808080,NODRAW;DU0:=CROSS(DIFF,0);UD0:=CROSS(0,DIFF);TDU0:=BARSLAST(DU0);TUD0:=BARSLAST(UD0);DU3:=REF(DU0,1);UD3:=REF(UD0,1);TDU3:=BARSLAST(DU3);TUD3:=BARSLAST(UD3);UDGLINE:=IF(TDU3<TUD3,REF(HHV(HIGH,2),TDU3),REF(LLV(LOW,2),TUD3));JDU0:=REF(CLOSE,1)UDGLINE AND TDU0=REF(UDGLINE,1) AND CLOSE<UDGLINE AND TUD0<TDU0;JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)REF(BARSLAST(JDU1),1);JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);JUD3:=JUD1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);BSLINE:=IF(BARSLAST(JDU2)=0,0,M

    Q6:macd指标背离选股公式?

    觉得股市不是用公式的地方,有资金流入,有成交量就是好股,但是一定要在底部。

    Q7:求一个通达信MACD自动选股公式

    你好,有的。DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,9);MACD := 2*(DIFF-DEA);select:cross(diff,dea) and dea>-1.0 and dea<0.5 and CLOSE>ref(CLOSE,1) and CLOSE>=ma(c,60);
    或:
    DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); XG:DIF>0 AND DEA>0 AND CROSS(DIF,DEA);
    不足之处,多多交流。

    本文由锦鲤发布,不代表本站立场,转载联系作者并注明出处:/showinfo-3-115724-0.html