macd柱背离画线指标理想(macd量能柱分析)

基金开户 2023-02-07 18:19基金知识www.xyhndec.cn
  • 请求各位帮忙——通达信软件macd底部线、柱背离且金叉的选股公式。
  • 求高手帮忙设通达信macd 顶底背离+画线公式,如图,图片来自同花顺,万分感激!
  • macd背离怎样画才算是正确的呢?
  • 请高手编写个通达信的简单公式MACD红绿柱子背离
  • macd背离 看线 还是 看柱,哪种比较准确?
  • 什么叫MACD顶背离???是看DIF DEA线还是看 MACD红柱??还是二者都要满足
  • macd在量柱中拐头怎么看?
  • 1、请求各位帮忙——通达信软件macd底部线、柱背离且金叉的选股公式。

    DIF:=((EMA(CLOSE,26)-EMA(CLOSE,12)))-1;
    DEA:=EMA(DIF,9);
    A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
    底背离:REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA),STICK,;
    STICKLINE(底背离,0,1,2,0),COLOR00FF00;
    DRAWTEXT(底背离,1,'底背离'),COLORFF00FF;

    2、求高手帮忙设通达信macd 顶底背离+画线公式,如图,图片来自同花顺,万分感激!

    DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:EMA(DIF,9);
    MACD:(DIF-DEA)2,COLORSTICK;

    DRAWICON(CROSS(DIF,DEA),DEA,1);
    DRAWICON(CROSS(DEA,DIF),DEA,2);
    DU:=BARSLAST(CROSS(DIF,DEA));
    DD:=BARSLAST(CROSS(DEA,DIF));
    TJ1:=DEA<0ANDDU=0ANDREF(DEA,REF(DU,1))<DEAANDREF(C,REF(DU,1))>C;
    STICKLINE(EVERY(UPNDAY(DU,1),DU),REF(DEA,DU),REF(DEA,DU),5,-1),COLORLIGRAY;
    STICKLINE(TJ1,REF(DEA,REF(DU+1,1)),DEA,1,0),COLORLIGRAY;
    DRAWTEXT(TJ1,REF(DEA,REF(DU,1)),'底背离'),COLORLIGRAY;
    TJ2:=DEA>0ANDDD=0ANDREF(DEA,REF(DD,1))>DEAANDREF(C,REF(DD,1))<C;
    STICKLINE(EVERY(UPNDAY(DD,1),DD),REF(DEA,DD),REF(DEA,DD),5,-1),COLORLIGRAY;
    STICKLINE(TJ2,REF(DEA,REF(DD+1,1)),DEA,1,0),COLORLIGRAY;
    DRAWTEXT(TJ2,REF(DEA,REF(DD,1)),'顶背离'),COLORLIGRAY;

    3、macd背离怎样画才算是正确的呢?

    要看是顶背离还是低背离!

    4、请高手编写个通达信的简单公式MACD红绿柱子背离

    MACD顶底背离(包含KDJ背离,RSI背离)
    公式如下
    DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);
    DEA:EMA(DIFF,9);
    MACD:2(DIFF-DEA),COLORSTICK;
    A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
    B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
    A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
    B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
    A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
    B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
    C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
    D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);
    C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));
    D2:=REF(C,C2+1)<C AND REF("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));
    C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
    D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));
    MACD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT;
    KDJ底背:IF(B2>0,-0.1,0),COLORFF00FF,POINTDOT;
    RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT;
    MACD顶背:IF(D1>0,0.1,0),COLOR00FF00,POINTDOT;
    KDJ顶背:IF(D2>0,0.1,0),COLORFFCC66,POINTDOT;
    RSI顶背:IF(D3>0,0.1,0),COLORWHITE,POINTDOT;
    STICKLINE(B1>0,-0.1,0,2,0),COLORRED;
    STICKLINE(B2>0,-0.1,0,2,0),COLORFF00FF;
    STICKLINE(B3>0,-0.1,0,2,0),COLORYELLOW;
    STICKLINE(D1>0,0.1,0,2,0),COLOR00FF00;
    STICKLINE(D2>0,0.1,0,2,0),COLORFFCC66;
    STICKLINE(D3>0,0.1,0,2,0),COLORWHITE;

    5、macd背离 看线 还是 看柱,哪种比较准确?

    MACD指标背离是MACD指标与K线的关系,它们的表现形式是当股价下跌创出新低,而MACD没有出现新低时,股价调头向上,MACD也向上金叉,这种现象就是MACD底背离;底背离可能出现一次或二次,所以当第一次出现MACD底背离时,不一定会反转或上涨,可能只是上涨一波又转为下跌,再创出新低;
    看图更容易理解

    6、什么叫MACD顶背离???是看DIF DEA线还是看 MACD红柱??还是二者都要满足

    背离的话主要看两个峰的对比

    7、macd在量柱中拐头怎么看?

    这macd拐头分向上拐头,还是向下拐头,
    以日线macd拐头为例
    向上拐头就是昨日macd值下降今日macd上升这样就形成了向上拐头.
    向下拐头就是昨日macd上升今日macd值下降这样就形成了向下拐头.

    Copyright@2015-2025 www.xyhndec.cn 牛炒股 版权所有