底背离公式源码(什么是底背离)

macd二次底背离精准选股公式?

macd二次底背离选股公式源码:

MACD:=(“macd.DIF”-“MACD.DEA”)*2*60;
JCCOUNT:=COUNT(CROSS(“MACD.DIF”,”MACD.DEA”),BARSLAST(“MACD.DEA”>=0));
二次金叉:=CROSS(“MACD.DIF”,”MACD.DEA”) AND “MACD.DEA”<0 AND COUNT(JCCOUNT=2,21)=1;
A101:=BARSLAST(REF(CROSS(“MACD.DIF”,”MACD.DEA”),1));
底背离:=REF(CLOSE,A101+1)>CLOSE AND “MACD.DIF”>REF(“MACD.DIF”,A101+1) AND CROSS(“MACD.DIF”,”MACD.DEA”);
XG:二次金叉 AND 底背离;

烦请大师将下面公式改成MACD底背离选股公式,多谢!

  • DIFF:EMA(CLOSE,7) – EMA(CLOSE,19);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(B10,-0.1,0),COLORRED,POINTDOT;KDJ底背:IF(B20,-0.1,0),COLORFF00FF,POINTDOT;RSI底背:IF(B30,-0.1,0),COLORYELLOW,POINTDOT;MACD顶背:IF(D10,0.1,0),COLOR00FF00,POINTDOT;KDJ顶背:IF(D20,0.1,0),COLORFFCC66,POINTDOT;RSI顶背:IF(D30,0.1,0),COLORWHITE,POINTDOT;STICKLINE(B10,-0.1,0,2,0),COLORRED;STICKLINE(B20,-0.1,0,2,0),COLORFF00FF;STICKLINE(B30,-0.1,0,2,0),COLORYELLOW;STICKLINE(D10,0.1,0,2,0),COLOR00FF00;STICKLINE(D20,0.1,0,2,0),COLORFFCC66;STICKLINE(D30,0.1,0,2,0),COLORWHITE;STICKLINE(MACDREF(MACD,1) AND MACD0,0,MACD,0,0),COLORRED;STICKLINE(MACD=REF(MACD,1) AND MACD0,0,MACD,0,0),COLORYELLOW;STICKLINE(MACDREF(MACD,1) AND MACD0,0,MACD,0,0),COLORCYAN;STICKLINE(MACD=REF(MACD,1) AND MACD0,0,MACD,0,0),COLORMAGENTA;STICKLINE(C0,0,0,50,1),COLORBLUE;DIFF,COLORGREEN;DEA,COLORYELLOW;强:IF(DIFFMA(DIFF,2),DIFF,DRAWNULL),COLORRED;弱:IF(DEAMA(DEA,2),DEA,DRAWNULL),COLORMAGENTA;
  • {BLXG-}DIFF:=EMA(CLOSE,7) – EMA(CLOSE,19);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);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));MBL:=IF(B10,-0.1,0);KBL:=IF(B20,-0.1,0);RBL:=IF(B30,-0.1,0);BLXG:MBL OR KBL OR RBL;{个人看法,仅供参考。}

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

  • 有没有人胜率很高的macd底背离选股公式
  • 真不愧是谁能送我礼物

MACD 底背离的选股公式?

  • 有没有很好用的macd底背离选股公式
  • 当然有下面是我的macd底背离选股公式的截图回测结果截图

请教,通达信MACD底背离选股公式

  • MACD参数是12.26.9DIF和DEA有4-5天走平粘合并在零轴以下,MACD绿柱逐渐缩短。K线多根小阴小阳,就像芭田股份2013.11.11-11.14这几天的走势
  • 没看懂楼上的解答,只是叙述一下底背离的过程,能有什么用?希望能直接写出公式代码,或说明一下为什么写这样的代码,在什么条件下应用比较合适。

求一个通达信obv底背离的极品选股公式

  • 公式好,重谢
  • VA:=IF(CLOSEREF(CLOSE,1),VOL,-VOL);OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);MAOBV:=MA(OBV,30);CROSS(OBV,MAOBV);

请老师写一个底背离选股公式,K线价格创出新低,KDJ的J值和价格背离,如图。

  • J:="KDJ.J";LLJ:=LLV(J,10)=J;T:=BARSLAST(LLJ);LL:=LLV(L,10);T5 AND LL=L; ————————–注:没有说"K线价格创出多少天的新低,10和5是瞎猜的

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

  • 有没有人胜率很高的macd底背离选股公式
  • 真不愧是谁能送我礼物

MACD 底背离的选股公式?

  • 有没有很好用的macd底背离选股公式
  • 当然有下面是我的macd底背离选股公式的截图回测结果截图
版权声明