通達(dá)信RSI劃線底背離買入指標(biāo)公式
- 指標(biāo)類別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類: 趨勢(shì)
- 畫(huà)線方法: 副圖
- 日期:2020-02-25 來(lái)源:互聯(lián)網(wǎng)
通達(dá)信RSI劃線底背離買入指標(biāo)公式:
N1:=5;N2:=250;N3:=50;P:=3;
STICKLINE(C>0,0,30,10,0),COLOR353535;
STICKLINE(C>0,30,50,10,0),COLOR454545;
STICKLINE(C>0,50,80,10,0),COLOR555555;
STICKLINE(C>0,80,95,10,0),COLOR757575;
強(qiáng)弱線:50,LINETHICK2,COLOR858585;
警示線:80,POINTDOT,COLORCYAN;
減倉(cāng)線:90,COLOR00AA55,LINETHICK2;
清倉(cāng)線:95,COLOR0000AA,LINETHICK2;
LC:=REF(CLOSE,1);
RSI5:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,NODRAW,COLORFFAAFF;
RSI10:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100,NODRAW,COLORDDAADD;
RSI20:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,NODRAW,COLORAA99AA;
DRAWBAND(RSI5,RGB(195,125,195),RSI10,RGB(0,130,50));
DRAWBAND(RSI10,RGB(165,95,165),RSI20,RGB(0,100,20));
{金叉死叉}
金叉:CROSS(RSI5,RSI20) AND CROSS(RSI10,RSI20),COLORRED,NODRAW;
DRAWTEXT(金叉,RSI5,'←'),COLORRED;
死叉:CROSS(RSI20,RSI10) AND CROSS(RSI20,RSI5),COLORGREEN,NODRAW;
DRAWTEXT(死叉,RSI5,'←'),COLORGREEN;
{RSI頂?shù)妆畴x}
RS:=BARSLAST(REF(CROSS(RSI20,RSI5),1));
RS1:=REF(CLOSE,RS+1)<CLOSE AND REF(RSI5,RS+1)>RSI5 AND CROSS(RSI20,RSI5);
頂背離:IF(RS1,RSI5,DRAWNULL),CIRCLEDOT,COLORFFCC00;
STICKLINE(RS1,RSI5,RSI5*0.9,0,0),COLORFFCC00;
DRAWTEXT(RS1,RSI5*0.9,'頂背離'),COLORFFCC00;
S1:=BARSLAST(REF(CROSS(RSI5,RSI20),1));
S1A:=REF(CLOSE,S1+1)>CLOSE AND RSI5>REF(RSI5,S1+1) AND
CROSS(RSI5,RSI20);
底背離:IF(S1A,RSI5,DRAWNULL),CIRCLEDOT,COLOR6699FF;
STICKLINE(S1A,RSI5,RSI5*1.1,0,0),COLOR6699FF;
DRAWTEXT(S1A,RSI5*1.1,'底背離'),COLOR6699FF;
{RSI劃線}
OB:=RSI5;
A1:=REF(OB,P)=HHV(OB,2*P+1);
B1:=FILTER(A1,P);
C1:=BACKSET(B1,P+1);
D1:=FILTER(C1,P);{高點(diǎn)}
A2:=REF(OB,P)=LLV(OB,2*P+1);
B2:=FILTER(A2,P);
C2:=BACKSET(B2,P+1);
D2:=FILTER(C2,P);{低點(diǎn)}
R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);
S11:=R11>REF(R11,1);
壓力線:DRAWLINE(D1,OB,S11,OB,1),LINETHICK1,COLORCC33CC;
T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);
U11:=T11>REF(T11,1);
支撐線:DRAWLINE(D2,OB,U11,OB,1),COLOR00CCCC;
DRAWTEXT(CURRBARSCOUNT=30,25,'強(qiáng)弱用來(lái)看趨勢(shì) 背離用來(lái)看頂?shù)?#39;),COLORCC99FF;
DRAWTEXT(CURRBARSCOUNT=30,15,'支撐壓力辨起落 設(shè)定周期參數(shù) P'),COLORCC99FF;
通達(dá)信RSI劃線底背離買入指標(biāo)公式實(shí)例圖解:
通達(dá)信RSI劃線底背離買入指標(biāo)公式
- ·通達(dá)信周日同顯RSI指標(biāo)公式
- ·通達(dá)信RSI+CCI+KD指標(biāo)公式
- ·通達(dá)信改性RSI指標(biāo)公式
- ·通達(dá)信極品RSI指標(biāo)公式
- ·通達(dá)信RSI變色指標(biāo)公式
- ·通達(dá)信RSI簡(jiǎn)單判斷頂?shù)字笜?biāo)公式
- ·通達(dá)信RSI出擊買賣指標(biāo)公式
- ·通達(dá)信KDJ+RSI底部中線選股指標(biāo)公式
- ·通達(dá)信RSI壓力突破指標(biāo)公式
- ·通達(dá)信RSI逃頂指標(biāo)公式
- ·同花順金牌RSI買賣指標(biāo)公式
- ·通達(dá)信RSI突破指標(biāo)公式