同花順冷暖KDJ指標公式
基本概況:
- 指標類別: 同花順指標
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標語言: 簡體中文
- 指標來源: 互聯(lián)網(wǎng)
- 指標日期: 2019-07-05 00:00:00
內(nèi)容介紹:
同花順冷暖KDJ指標公式N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
同花順冷暖KDJ指標公式
D: EMA(0.667*REF(K,1)+0.333*K,2),colorgreen,LINETHICK1;
TT:=(2*CLOSE+OPEN+HIGH+LOW);
主導(dǎo)動能:TT/EMA(TT,4)-1,COLORSTICK;
FF:=主導(dǎo)動能;
STICKLINE(FF,0,FF,3.2,0),COLOR33CFDD;
STICKLINE(FF,0,FF,2.8,0),COLOR33DFDD;
STICKLINE(FF,0,FF,2,0),COLOR33EFDD;
STICKLINE(FF,0,FF,1,0),COLOR33FFDD;
STICKLINE(FF<0,0,FF,3.2,0),COLOR00CC00;
STICKLINE(FF<0,0,FF,2.8,0),COLOR00DD00;
STICKLINE(FF<0,0,FF,2,0),COLOR00EE00;
STICKLINE(FF<0,0,FF,1,0),COLOR00FF00;
STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,3.2,0),COLORFF9900;
STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,2.8,0),COLORFFAA00;
STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,2,0),COLORFFBB00;
STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,1,0),COLORFFCC00;
STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,3.2,0),COLOR0000CC;
STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,2.8,0),COLOR0000DD;
STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,2,0),COLOR0000EE;
STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,1,0),COLOR0000FF;
A:=EMA(C,14),colorwhite,LINETHICK1;
B:=(A-REF(A,1))/REF(A,1)*100,NODRAW;
支撐:IF(B>=0,REF(EMA(C,14),BARSLAST(CROSS
(B,0))+1),DRAWNULL),colorred,LINETHICK2;
阻力:IF(B<0,REF(EMA(C,14),BARSLAST(CROSS
(0,B))+1),DRAWNULL),colorgreen,LINETHICK2;
MA3:MA(C,2);
MA5:MA(C,5);
DRAWGBK(C<MA(C,9),STRIP(RGB(0,100,0),RGB(0,100,0),1));
DRAWGBK(C>MA(C,9)AND C/MA(C,9)<1.10,STRIP(RGB(100,0,0),RGB
(100,0,0),1));
DRAWGBK(C/MA(C,9)>1.1,STRIP(RGB(120,0,120),RGB(120,0,120),1));
短趨勢線:MA(CLOSE,13),colorred,LINETHICK2;
漲:IF(短趨勢線>REF(短趨勢線,1),短趨勢
線,DRAWNULL),colorred,LINETHICK2;
平:=IF(短趨勢線=REF(短趨勢線,1),短趨勢
線,DRAWNULL),COLOR00FFFF,LINETHICK2;
跌:IF(短趨勢線<REF(短趨勢線,1),短趨勢
線,DRAWNULL),COLOR80FF00,LINETHICK2;
同花順冷暖KDJ指標公式 更新時間:2019-7-5 9:28
相關(guān)推薦: