macd背离选股公式(真正的macd背离公式)
内容导航:
Q1:macd指标背离选股公式?
觉得股市不是用公式的地方,有资金流入,有成交量就是好股,但是一定要在底部。
Q2:请那位大师帮忙改写一个MACD背离的选股公式,顶背离选出 ,底背离也可以选出,谢谢!
名:《说聊斋》演唱:彭作曲:王立平
Q3:求通达信日线MACD底背离选股公式
A1:=BARSLAST(REF(CROSS(MACD.DIF,MACD.DEA),1));
MACD底背:REF(C,A1+1)>C AND REF(MACD.DIF,A1+1)<MACD.DIF AND CROSS(MACD.DIF,MACD.DEA);
(以前次金叉股价与现在金叉股价相比)
Q4:MACD 底背离的选股公式?
macd一般底背离是要结合个股的股价,还有图形进行分析的,才能知道底背离的程度。
Q5:求股票公式:macd背离选股公式
MACD底背离选股公式——通达信、同花顺 {底背离,通达信版、同花顺版}
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
QZQ:=BARSLAST(REF(MACD,1)<0 ANDMACD>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) ANDMQDZ<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 ANDMACD>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);
XG1:=MACD<0 AND MACD>MQDZ ANDDIFF<0 AND DIFF>DQDZ
AND CLOSE=LLV(CLOSE,QZQ+20) ANDMQDZ<0 AND DQDZ<0;
XG:REF(XG1,1)=1 AND MACD>REF(MACD,1);
注:底双背离是指MACD(绿柱)和DIFF(黄白线)都底背离。
Q6:求 通达信 MACD 顶背离 和 顶部二次背离 选股公式:
SQX:=(C-MA(CLOSE,13))*100; DIFF:EMA(MA(SQX,7),1),COLOR00FFFF; DEA:EMA(DIFF,7),COLORFF33FF; MACD:(DIFF-DEA)*2,COLORSTICK; 低位金叉:IF(CROSS(DIFF,DEA) AND DIFF<-0.1,0.3,0),COLORYELLOW,POINTDOT; STICKLINE(低位金叉,0,15,8,0),COLORYELLOW;DRAWICON(低位金叉,0.3,1); JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0)); 二次金叉:IF(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,0.2,0),COLORFF00FF,POINTDOT; STICKLINE(二次金叉,30,15,8,0),COLORFF00FF; A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); 底背离:IF(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),0.1,0),COLORRED,POINTDOT; STICKLINE(底背离,45,30,8,0),COLORRED;DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED; A2:=BARSLAST(REF(CROSS(DEA,DIFF),1)); 顶背离:REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF),COLORGREEN; DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN; A3:=CROSS(DIFF,DEA) AND DEA<0; 零下二次金叉:IF(FILTER(COUNT(A3,21)=2,10),0.05,0),COLORWHITE,POINTDOT; STICKLINE(零下二次金叉,45,60,8,0),COLORWHITE;
Q7:求高手改写macd,顶背离选股公式
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
C1:=BARSLAST(REF(CROSS( DEA,DIFF ),1));
XG:REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);
本文由锦鲤发布,不代表本站立场,转载联系作者并注明出处:/showinfo-1-9958-0.html