通達(dá)信KD乖離指標(biāo)公式
- 指標(biāo)類別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類: 超買超賣
- 畫線方法: 副圖
- 日期:2022-08-20 來源:互聯(lián)網(wǎng)
通達(dá)信KD乖離指標(biāo)公式:
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),LINETHICK1;
D:SMA(K,M2,1),LINETHICK1;
乖離:(K-D),COLORSTICK;
STICKLINE(乖離 > 0,乖離,0,2.3,0),COLOR0000FF;
STICKLINE(乖離 < 0,乖離,0,2.3,0),COLORFF4242;
DRAWTEXT(K>80,90,'★'),COLORRED;
DRAWTEXT(K<20,-5,'●'),COLORYELLOW;
DRAWTEXT(CROSS(80,K),80,'逃'),COLORYELLOW;
DRAWTEXT(CROSS(K,20),20,'▲'),COLORYELLOW;
DRAWTEXT(CROSS(K,D),D,'▲'),COLORYELLOW;
買進(jìn):(CROSS(K,D)AND (MA(C,18)-MA(C,50))>0 AND VOL>REF(VOL,1)*1.9 AND MA(C,50)>REF(MA(C,50),1))*10;
賣出:(CROSS(80,K))*5;
DRAWTEXT(CROSS(80,K),80,'逃'),COLORYELLOW;
DRAWTEXT(CROSS(K,D)AND VOL>REF(VOL,1)*1.5 AND MA(C,50)>REF(MA(C,50),1),0,'▲'),COLORYELLOW;
通達(dá)信KD乖離指標(biāo)公式實(shí)例圖解:
通達(dá)信KD乖離指標(biāo)公式