通達(dá)信DMIKDJMACDRSI背離買賣操盤指標(biāo)公式
- 指標(biāo)類別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類: 策略
- 畫線方法: 主圖
- 日期:2020-08-28 來(lái)源:互聯(lián)網(wǎng)
通達(dá)信DMIKDJMACDRSI背離買賣操盤指標(biāo)公式:
HHV(H,20),COLORFF9090,LINETHICK2;
LLV(L,20),COLORFF8080,LINETHICK2;
TR1 := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
PDM:= SUM(IF(HD>0 AND HD>LD,HD,0),14);
MDM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);
PDI:= PDM*100/TR1;
MDI:= MDM*100/TR1;
A1:=BARSLAST(REF(CROSS("MACD.DIF"(12,26,9),"MACD.DEA"(12,26,9)),1));
B1:=REF(C,A1+1)>C && REF("MACD.DIF"(12,26,9),A1+1)<"MACD.DIF"(12,26,9) && CROSS ("MACD.DIF"(12,26,9),"MACD.DEA"(12,26,9));
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("MACD.DEA"(12,26,9),"MACD.DIF"(12,26,9)),1));
D1:=REF(C,C1+1)<C AND REF("MACD.DIF"(12,26,9),C1+1)>"MACD.DIF"(12,26,9) AND CROSS ("MACD.DEA"(12,26,9),"MACD.DIF"(12,26,9));
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));
C4:=BARSLAST(REF(CROSS(MDI,PDI),1));
D4:=REF(C,C4+1)<C AND REF(MDI,C4+1)>MDI AND CROSS(MDI,PDI);
A4:=BARSLAST(REF(CROSS(PDI,MDI),1));
B4:=REF(C,A4+1)>C AND REF(PDI,A4+1)<PDI AND CROSS(PDI,MDI);
DRAWTEXT(B4,L-0.09,'DMI底背'),COLORFFCCFF;
DRAWTEXT(D4,H+0.09,'DMI頂背'),COLORWHITE;
DRAWTEXT(B1,L-0.09,'MACD底背'),COLORFF00FF;
DRAWTEXT(B2,L-0.09,'KDJ底背'),COLORYELLOW;
DRAWTEXT(B3,L-0.09,'RSI底背'),COLORRED;
DRAWTEXT(D1,H+0.09,'MACD頂背'),COLORFFCC66;
DRAWTEXT(D2,H+0.09,'KDJ頂背'),COLORC0A8FF;
DRAWTEXT(D3,H+0.09,'RSI頂背'),COLORFFCCCC;
VLL:=CROSS(MA(C,13),MA(C,21));
DRAWTEXT(VLL,MA(C,13)-0.09,'圓弧底'),COLORWHITE;
MA13:=MA(C,13);
IF(MA13>=REF(MA13,1),MA13,DRAWNULL),COLORRED,LINETHICK2;
IF(MA13<REF(MA13,1),MA13,DRAWNULL),COLORGREEN,LINETHICK2;
通達(dá)信DMIKDJMACDRSI背離買賣操盤指標(biāo)公式實(shí)例圖解:
通達(dá)信DMIKDJMACDRSI背離買賣操盤指標(biāo)公式
指標(biāo)背離,通常分為頂背離和底背離,是預(yù)示市場(chǎng)走勢(shì)即將見(jiàn)頂或者見(jiàn)底。在幾乎所有的技術(shù)指標(biāo)功效中都有背離提示作用的功能,其中技術(shù)指標(biāo)有MACD、RSI和CCI等,它們使投資者可以用這些指標(biāo)的背離功能來(lái)預(yù)測(cè)頭部的風(fēng)險(xiǎn)和底部的買入機(jī)會(huì),但在選擇的時(shí)間參數(shù)上應(yīng)適當(dāng)延長(zhǎng)。由于日線存在著較多的騙線,一些技術(shù)指標(biāo)會(huì)反復(fù)發(fā)出背離信號(hào),使得其實(shí)用性不強(qiáng),建議重點(diǎn)關(guān)注周線上的技術(shù)指標(biāo)背離現(xiàn)象。
- ·通達(dá)信CCI背離指標(biāo)公式
- ·通達(dá)信MACD三背離指標(biāo)公式
- ·通達(dá)信MACD金叉與背離指標(biāo)公式
- ·通達(dá)信頂?shù)妆畴x均線主圖指標(biāo)公式
- ·通達(dá)信背離集合指標(biāo)公式
- ·通達(dá)信號(hào)稱百萬(wàn)主圖背離買賣指標(biāo)公式
- ·通達(dá)信KDJ背離指標(biāo)公式
- ·通達(dá)信背離提示指標(biāo)公式
- ·通達(dá)信KD底背離選股指標(biāo)公式
- ·同花順紅綠燈KDJ背離指標(biāo)公式
- ·通達(dá)信三背離主圖指標(biāo)公式
- ·通達(dá)信寧波高手量?jī)r(jià)背離指標(biāo)公式