当前位置:首页 > 股票基础 > 股票知识

底背离选股公式是什么

2023-09-06 12:06:20

底背离是指当股价指数逐波下行,而DIF及MACD死叉不是同步下降,而是逐波上升,与股价走势形成底背离,预示着股价即将上涨。如果此时出现DIF两次由下向上穿过MACD,形成两次黄金股交叉,则股价即将大幅度上涨。那么底背离选股公式是什么呢

{底背离}

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); QZQ:=BARSLAST(REF(MACD,1)<0 AND MACD>0); QM:=LLVBARS(MACD,QZQ+20); MQDZ:=IF(QM>QZQ,REF(MACD,QM),0); XG1:=MACD<0 AND MACD>MQDZ AND CLOSE=LLV(CLOSE,QZQ+20) AND MQDZ<0; XG:REF(XG1,1)=1 AND MACD>REF(MACD,1)

{双底背离}

  DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); QZQ:=BARSLAST(REF(MACD,1)<0 AND MACD>0); QM:=LLVBARS(MACD,QZQ+20); MQDZ:=IF(QM>QZQ,REF(MACD,QM),0); QF:=LLVBARS(DIFF,QZQ+20); DQDZ:=IF(QF>QZQ,REF(DIFF,QF),0)

底背离选股公式是什么 (http://www.zgmwk.com) 股票基础教程 第1张

XG1:=MACD<0 AND MACD>MQDZ AND DIFF<0 AND DIFF>DQDZ AND CLOSE=LLV(CLOSE,QZQ+20) AND MQDZ<0 AND DQDZ<0; XG:REF(XG1,1)=1 AND MACD>REF(MACD,1)

底双背离是指MACD(绿柱)和DIFF(黄白线)都底背离。

一、放心追涨:M:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,20);MA4:=MA(CLOSE,30);MA5:=ma(close,60);:=(C-O)/O;C1:=IF(REF(O,1)〈REF(M,1) AND REF(O,1)〈REF(MA2,1) AND REF(C,1)〉REF(M,1) AND REF(C,1)〉REF(MA2,1),1,0);C2:=IF(REF(M,1)〉REF(MA3,1) AND REF(MA2,1)〉REF(MA3,1),1,0);C3:=IF(C-O〉0 AND C〉M AND C〉MA2 AND VOL〉1.4*REF(VOL,1) AND C〉MA5 AND C〉REF(C,10),1,0);:=IF(〈REF(,1) AND O〈REF(C,1),1,0);C1〉0 AND C2〉0 AND C3〉0 and 〉0

二、放胆追高

M:=MA(C,5); MA2:=MA(C,10); MA3:=MA(C,20); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=A(RSV,3,1); D:=A(K,3,1); J:=3*K-2*D; :=IF(M〉REF(M,1) AND REF(M,1)〉REF(M,2) AND 1.7*(REF(M,1)-REF(M,2))〈(M-REF(M,1)),1,0); A2:=IF(1.5*(REF(MA2,1)-REF(MA2,2))〈(MA2-REF(MA2,1)),1,0); A3:=IF(M-MA2〉1.3*REF(M-MA2,1) AND MA3〉LLV(MA3,10),1,0); A4:=IF(C〈0.7*HHV(H,60) AND REF(HHV(C,60),60)〉0.5*HHV(C,60),1,0); A5:=IF(HHV(C,60)-LLV(C,60)/HHV(C,60)〈0.15 OR HHV(MA3,20)〉REF(HHV(MA3,20),20),1,0); 〉0 AND A2〉0 AND A3〉0 AND A4+A5〉0 AND K〈85 AND J〈100 AND K〉REF(K,1) AND REF(k,1)〉REF(K,2)

三、均线股市追涨

M:=MA(CLOSE,5); MA2:=MA(CLOSE,10); MA3:=MA(CLOSE,20); MA4:=MA(CLOSE,30); MA5:=ma(close,60); MA6:=ma(close,120); :=(C-O)/O; C1:=IF(REF(O,1)〈REF(M,1) AND REF(O,1)〈REF(MA2,1) AND REF(C,1)〉REF(M,1) AND REF(C,1)〉REF(MA2,1),1,0); C2:=IF(REF(M,1)〉REF(MA3,1) AND REF(MA2,1)〉REF(MA3,1),1,0); C3:=IF(C-O〉0 AND C〉M AND C〉MA2 AND VOL〉1.4*REF(VOL,1) AND C〉MA5 AND C〉REF(C,10),1,0); :=IF(〈REF(,1) AND O〈REF(C,1),1,0); C1〉0 AND C2〉0 AND C3〉0 and 〉0

我们通过函数的计算,给大家统计了关于底背离选股的公式,当然学习理财君还是要和大家说,股票投资有风险,虽然理论我们很清楚,但是实际操作还是要谨慎处理,毕竟股票投资行确实存在很大风险。

标签 公式   选股   底背离
今日推荐
水利股票有哪些龙头股(水利股票有哪些龙头股代码)
水利股票有哪些龙头股(水利股票有哪些龙头股代码)

水利股票是指在水利产业领域中具有龙头地位的上市公司...[详细]

独家专栏
精彩推荐
热门排行
热门标签