同花順波MACD底背離買進(jìn)指標(biāo)公式
- 指標(biāo)類別: 同花順指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 趨勢
- 畫線方法: 副圖
- 日期:2020-08-08 來源:互聯(lián)網(wǎng)
同花順波MACD底背離買進(jìn)指標(biāo)公式:
MACD稱為異同移動平均線,是從雙指數(shù)移動平均線發(fā)展而來的,由快的指數(shù)移動平均線(EMA12)減去慢的指數(shù)移動平均線(EMA26)得到快線DIF,再用2×(快線DIF-DIF的9日加權(quán)移動均線DEA)得到MACD柱。MACD的意義和雙移動平均線基本相同,即由快、慢均線的離散、聚合表征當(dāng)前的多空狀態(tài)和股價可能的發(fā)展變化趨勢,但閱讀起來更方便。MACD的變化代表著市場趨勢的變化,不同K線級別的MACD代表當(dāng)前級別周期中的買賣趨勢。
DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA);
MACD騎墻進(jìn):DIFF>=0 AND CROSS(DIFF,dea) AND V/MA(V,5)>1.5,colormagenta;
DRAWTEXT(MACD騎墻進(jìn),0.9,'MACD騎墻進(jìn)'),colormagenta;
MACD騎墻出:DIFF<0 AND CROSS(dea,DIFF) AND V/MA(V,5)<1.5,colorcyan;
DRAWTEXT(MACD騎墻出,1,'MACD騎墻出'),colorcyan;
底背離進(jìn):REF(CLOSE,BARSLAST(REF(CROSS(DIFF,DEA),1) AND MACD<0)+1)>CLOSE AND DIFF>REF(DIFF,BARSLAST(REF(CROSS(DIFF,DEA),1) AND MACD<0)+1) AND CROSS (DIFF,DEA) AND MACD>0,colormagenta;
DRAWTEXT(底背離進(jìn),0.9,'底背離進(jìn)'),colormagenta;
底背離出:REF(CLOSE,BARSLAST(REF(CROSS(DEA,DIFF),1) AND MACD>0)+1)>CLOSE AND DIFF>REF(DIFF,BARSLAST(REF(CROSS(DEA,DIFF),1) AND MACD>0)+1) AND CROSS (DEA,DIFF) AND MACD<0,colorcyan;
DRAWTEXT(底背離出,1,'底背離出'),colorcyan;
ma4:=MA(C,4);
mA5:=MA(C,5);
mA10:=MA(C,10);
mA20:=MA(C,20);
MA60:=MA(C,60);
mA62:=MA(C,62);
小金角進(jìn):=COUNT(REF(mA10<mA20,3),16)>=15 AND COUNT(mA5>mA10,3)>2 AND CROSS(mA10,mA20)AND mA20>REF(mA20,1);
DRAWTEXT(小金角進(jìn),0.5,'小金角進(jìn)');
STICKLINE(小金角進(jìn),0,0.5,5,0);
小金角出:=COUNT(REF(mA10>mA20,3),16)<15 AND COUNT(mA5<mA10,3)<2 AND CROSS(mA20,mA10)AND mA20<REF(mA20,1);
DRAWTEXT(小金角出,0.8,'小金角出');
STICKLINE(小金角出,0,0.8,5,0);
大金角進(jìn):=CROSS(mA20,mA62)AND mA62>REF(mA62,1) AND COUNT(V>REF(V,1),3)>2;
DRAWTEXT(大金角進(jìn),0.5,'大金角進(jìn)');
STICKLINE(大金角進(jìn),0,0.5,5,0);
大金角出:=CROSS(mA62,mA20)AND mA62<REF(mA62,1) AND COUNT(V>REF(V,1),3)<2;
DRAWTEXT(大金角出,0.8,'大金角出');
STICKLINE(大金角出,0,0.8,5,0);
小金邊進(jìn):=REF(COUNT(CROSS(ma10,ma20),15)=1 AND C<REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND ma10>C AND C>ma20 AND SLOPE(MA20,4)>0 AND SLOPE(MA10,3)>0,2)=1 AND ma4>REF(ma4,1) AND V>REF(V,1);
DRAWTEXT(小金邊進(jìn),0.5,'小金邊進(jìn)');
STICKLINE(小金邊進(jìn),0,0.5,5,0);
小金邊出:=REF(COUNT(CROSS(ma20,ma10),15)=1 AND C>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND ma10<C AND C<ma20 AND SLOPE(MA20,4)<0 AND SLOPE(MA10,3)<0,2)=1 AND ma4<REF(ma4,1) AND V<REF(V,1);
DRAWTEXT(小金邊出,0.8,'小金邊出');
STICKLINE(小金邊出,0,0.8,5,0);
大金邊進(jìn):=COUNT(CROSS(mA20,mA62)AND mA62>REF(mA62,1) AND COUNT(V>REF(V,1),3)>2,30)>0 AND C<mA20 AND C>mA62 AND mA62>REF(mA62,1);
DRAWTEXT(大金邊進(jìn),0.5,'大金邊進(jìn)');
STICKLINE(大金邊進(jìn),0,0.5,5,0);
大金邊出:=COUNT(CROSS(mA62,mA20)AND mA62<REF(mA62,1) AND COUNT(V<REF(V,1),3)<2,30)>0 AND C>mA20 AND C<mA62 AND mA62<REF(mA62,1);
DRAWTEXT(大金邊出,0.8,'大金角出');
STICKLINE(大金邊出,0,0.8,5,0);
半山水庫進(jìn):=CROSS(ma20,ma60) AND ma60>REF(ma60,1);
DRAWTEXT(半山水庫進(jìn),0.5,'半山水庫進(jìn)');
STICKLINE(半山水庫進(jìn),0,0.5,5,0);
半山水庫出:=CROSS(ma60,ma20) AND ma60<REF(ma60,1);
DRAWTEXT(半山水庫出,0.8,'大金角出');
STICKLINE(半山水庫出,0,0.8,5,0);
海豚張嘴進(jìn):=CROSS(mA20,mA62)AND mA20>REF(mA20,1)AND COUNT(mA4/mA20>1.05,10)>5 AND ABS(mA4/mA20-1)<0.02 AND V/MA(V,5)>1.5;
DRAWTEXT(海豚張嘴進(jìn),0.5,'海豚張嘴進(jìn)');
STICKLINE(海豚張嘴進(jìn),0,0.5,5,0);
海豚張嘴出:=CROSS(mA62,mA20)AND mA20<REF(mA20,1)AND COUNT(mA4/mA20<1.05,10)>5 AND ABS(mA4/mA20-1)>0.02 AND V/MA(V,5)<1.5;
DRAWTEXT(海豚張嘴出,0.8,'海豚張嘴出');
STICKLINE(海豚張嘴出,0,0.8,5,0);
金足底進(jìn):=(MA4<MA20 AND MA4>=REF(MA4,1) AND C>MA4 AND MA10>REF(MA10,1) AND MA20>=REF(MA20,1) AND V>MA(V,5));
DRAWTEXT(金足底進(jìn),0.8,'金足底進(jìn)');
STICKLINE(金足底進(jìn),0,0.8,5,0);
同花順波MACD底背離買進(jìn)指標(biāo)公式實例圖解:
同花順波MACD底背離買進(jìn)指標(biāo)公式
- ·通達(dá)信改進(jìn)了的MACD指標(biāo)公式
- ·通達(dá)信MACD主圖指標(biāo)公式
- ·通達(dá)信MACD三背離指標(biāo)公式
- ·通達(dá)信變色MACD指標(biāo)公式
- ·通達(dá)信MACD金叉與背離指標(biāo)公式
- ·通達(dá)信改編MACD指標(biāo)公式
- ·通達(dá)信很好的MACD+KDJ指標(biāo)公式
- ·通達(dá)信齋主MACD通道主圖指標(biāo)公式
- ·通達(dá)信MACD控盤主圖指標(biāo)公式
- ·通達(dá)信金牌MACD指標(biāo)公式
- ·通達(dá)信機構(gòu)MACD指標(biāo)公式
- ·通達(dá)信MACD箭頭指標(biāo)公式