macd柱体三种背离(macd背离的原理是什么)

股票投资 2023-01-27 22:35www.16816898.cn股票投资分析
  • macd 如何判断背离
  • MACD的背离到底是红绿柱状的背离还是白黄线条的背离啊?
  • 求MACD柱线与股价的背离,公式
  • MACD红柱代表什么,绿柱体表什么
  • MACD背离到底是根据什么画的
  • 股票中MACD的背离是什么意思
  • 请高手编写个通达信的简单公式MACD红绿柱子背离
  • 1、macd 如何判断背离

    DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIF,9);
    MACD:=(DIF-DEA)2;
    背离是MACD与股价的发展方向是相对的,也可以说是背道而驰的。

    2、MACD的背离到底是红绿柱状的背离还是白黄线条的背离啊?

    这个指标有三中背离
    1、红绿柱的背离通常用在短线;
    2、dif线背离通常用在中线;
    3、DEA线背离通常用在长线。

    3、求MACD柱线与股价的背离,公式

    MACD柱线与股价的背离,公式
    DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
    DEA : EMA(DIFF,9);
    MACD : 2(DIFF-DEA), COLORSTICK,COLOR5454FF;
    DD:=C=HHV(C,180);
    EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1;
    CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;
    上升背离:(CC AND EE)DEA,COLOR00FFFF;
    顶背离:(DD AND EE AND DEA< HHV(DEA,180))DEA,STICK,LINETHICK3,COLORGREEN;
    FF:=C=LLV(C,180);
    GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1;
    LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;
    下降背离:(LL AND GG)DEA,COLORMAGENTA;
    底背离:(FF AND GG AND DEA> LLV(DEA,180))DEA,STICK,LINETHICK3,COLORRED;
    MM:=IF(MACD< 0,MACD,0);
    JJ:=MM> REF(MM,1);
    ZZ:=REF(JJ,1)=1;
    介入区:(JJ AND ZZ)DEA,POINTDOT,COLORRED;{MACD蓝柱缩短---指今日比昨天短}
    STICKLINE(介入区=DEA,DEA,DIFF,3,0),COLORRED;
    DRAWTEXT(CROSS(DIFF,DEA ),0,'金\N叉'),COLORCYAN;
    DRAWTEXT(CROSS(DEA,DIFF ),0,'死叉'),COLORGREEN;

    4、MACD红柱代表什么,绿柱体表什么

    红柱线的增长减短表示上涨买盘力量的增减;绿柱线的增长缩短表示下跌卖盘力度的强弱

    5、MACD背离到底是根据什么画的

    背离就是股价创新高,macddif没创新高,或者macd金叉没创新高
    你百度明白macd画图原理就行了

    6、股票中MACD的背离是什么意思

    MACD是指数平滑移动平均线的英文名称为Moving Average Convergence and Divergence。其原理是运用快、慢速移动平均线聚合与分离的功能,加以移动平滑运算,用以研判买卖时机和信号。

    7、请高手编写个通达信的简单公式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;

    Copyright © 2016-2025 www.16816898.cn 168股票网 版权所有 Power by