1. 首页 > 投资理念

macd顶底背离指标公式(macd底背离买入法)

macd顶底背离指标公式(macd底背离买入法)

内容导航:
  • 求助MACD顶底背离公式!谢谢大虾~~~
  • 谁能帮我编个macd底背离的选股公式,不盛感激!
  • 麻烦大神写个MACD顶背离的公式
  • 请那位大师帮忙改写一个MACD背离的选股公式,顶背离选出 ,底背离也可以选出,谢谢!
  • MACD 底背离的选股公式?
  • macd 底背离 选股公式 高胜率?
  • 如何看懂K线图 macd顶底背离买卖方法学习
  • Q1:求助MACD顶底背离公式!谢谢大虾~~~

    DIFF:EMA(CLOSE,12)-EMA(CLOSE,27);
    DEA:EMA(DIFF,9);
    MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK2;
    低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
    STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;
    DRAWTEXT(低位金叉,0.16,' 低位金叉'),COLORWHITE;
    JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
    二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
    STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;
    DRAWICON(二次金叉,DEA*0.9,1) ;
    DRAWTEXT(二次金叉,0.2,' 二次金叉'),COLORYELLOW;
    A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
    底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
    STICKLINE(底背离,0,0.03,6,0),COLOR00FF00;
    底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK4;
    DRAWTEXT(底背离,0.12,' 底背离'),COLORFF00FF;
    A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
    顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
    顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK4;
    DRAWTEXT(低位金叉 AND 二次金叉 AND 底背离,0.25,'三全项'),COLOR0000FF,LINETHICK2;
    试试这个 多对比 与其他指标结合使用

    Q2:谁能帮我编个macd底背离的选股公式,不盛感激!

    MA1:=MA(CLOSE,5);
    MA2:=MA(CLOSE,10);
    DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
    DEA:=EMA(DIF,MID);
    MACD:=(DIF-DEA)*2,COLORSTICK;
    DIFF:=SUM(MA1-MA2,0);
    SUMMACD:=SUM(MACD,0);
    W1:=BARSLAST(CROSS(MA2,MA1))+1;
    W2:=BARSLAST(CROSS(MA1,MA2))+1;
    W3:=BARSLAST(CROSS(MACD,0))+1;
    W4:=BARSLAST(CROSS(-MACD,0))+1;

    趋势力度:IF(K,SUMMACD-REF(SUMMACD,MIN(W3,W4)),DIFF-REF(DIFF,MIN(W1,W2)));
    趋势平均力度:趋势力度/IF(K,(MIN(W3,W4)+1)/20,(MIN(W1,W2)+1)/20),COLORSTICK;
    MAX趋势平均力度:HHV(趋势平均力度,34);
    MIN趋势平均力度:LLV(趋势平均力度,34);
    --------------------------------------------------------------------------------------------------------------------------------------------
    K值可调,调成“0”是通过均线缠绕面积判断背驰
    调成“1”是通过macd面积判断背驰。
    白线为均线(或macd )到目前为止的面积,白线的拐点(即某一段的最大值(绝对值))是均线或macd面积。如果K调成1,红绿柱为凭据趋势力度。

    此指标不是选股指标,是个副图指标,因为选股指标需要判断前后面积的大小,难度极大,不易做出,目前还没发现有人能写出来。

    Q3:麻烦大神写个MACD顶背离的公式

    MACD顶底背离副图
    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;

    Q4:请那位大师帮忙改写一个MACD背离的选股公式,顶背离选出 ,底背离也可以选出,谢谢!

    名:《说聊斋》演唱:彭作曲:王立平

    Q5:MACD 底背离的选股公式?

    macd一般底背离是要结合个股的股价,还有图形进行分析的,才能知道底背离的程度。

    Q6:macd 底背离 选股公式 高胜率?

    股票不光看公式就能选好,因素比较多

    Q7:如何看懂K线图 macd顶底背离买卖方法学习

    所谓分析股票的走势,主要还是结合K线图来看。
    为了满足不同的需要,K线图又可以细分为:5分钟K线图,15分钟K线图,30分钟K线图,60分钟K线图,日K线图,周K线图,月K线图,甚至45天K线图。

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