通達(dá)信三背離主圖指標(biāo)公式
- 指標(biāo)類別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類: 策略
- 畫線方法: 主圖
- 日期:2022-12-07 來源:互聯(lián)網(wǎng)
通達(dá)信三背離主圖指標(biāo)公式:
A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水嶺:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2;
操作線:分水嶺-(EMA(C,3)-分水嶺),COLOR00FFFF,LINETHICK2;
PM:MA(C,5),COLORWHITE,LINETHICK2;
IF(PM> REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;
IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED;
IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF9900,LINETHICK2;
S:=(PM> 操作線);
DD:=分水嶺<REF(分水嶺,1);
IF(DD,分水嶺,DRAWNULL),COLOR00FF00,LINETHICK2;
IF(S,分水嶺,DRAWNULL),COLOR00FF00,POINTDOT,LINETHICK4;
DRAWICON(CROSS(分水嶺,操作線),分水嶺-0.1,1);{買入紅箭頭}
A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));
B1:=REF(C,A1+1)> C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA");
DRAWTEXT(B1> 0,L-0.02,'MACD底背離'),COLOR00FFFF;{MACD底背離}
A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));
B2:=REF(C,A2+1)> C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");
DRAWTEXT(B2,L-0.10,'KDJ底背離'),COLORFF00FF;{KDJ底背離}
A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));
B3:=REF(C,A3+1)> C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");
DRAWTEXT(B3> 0,L-0.18,'RSI底背離'),COLOR0000FF;{RSI底背離}
C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));
D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)> "MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF");
DRAWTEXT(D1> 0,H+0.16,'MACD頂背離'),COLOR00FF00;{MACD頂背離}
C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));
D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)> "KDJ.K" AND CROSS("KDJ.D","KDJ.K");
DRAWTEXT(D2> 0,H+0.08,'KDJ頂背離'),COLORFFFFCC;{KDJ頂背離}
C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));
D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)> "RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1");
DRAWTEXT(D3> 0,H+0.04,'RSI頂背離'),COLORFF9900;{RSI頂背離};
通達(dá)信三背離主圖指標(biāo)公式實(shí)例圖解:
通達(dá)信三背離主圖指標(biāo)公式
- ·通達(dá)信CCI背離指標(biāo)公式
- ·通達(dá)信MACD三背離指標(biāo)公式
- ·通達(dá)信MACD金叉與背離指標(biāo)公式
- ·通達(dá)信頂?shù)妆畴x均線主圖指標(biāo)公式
- ·通達(dá)信背離集合指標(biāo)公式
- ·通達(dá)信號(hào)稱百萬主圖背離買賣指標(biāo)公式
- ·通達(dá)信KDJ背離指標(biāo)公式
- ·通達(dá)信背離提示指標(biāo)公式
- ·通達(dá)信KD底背離選股指標(biāo)公式
- ·同花順紅綠燈KDJ背離指標(biāo)公式
- ·通達(dá)信寧波高手量?jī)r(jià)背離指標(biāo)公式
- ·通達(dá)信超準(zhǔn)底背離信號(hào)指標(biāo)公式