通达信黄金KD指标公式

通达信八月抄底选股指标公式

通达信黄金KD指标公式:

DRAwrECTREL(76,1000,0,880,RGB(255,255,0));

N:=9;M1:=3;M2:=3;M3:=4;

LOWV:=LLV(LOW,N);

HIGHV:=HHV(HIGH,N);

RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M1);

K:EMA(RSV,M2);

D:MA(K,M3);

J:3*K-2*D,LINETHICK1;

趋势:SMA(D,10,1),LINETHICK0;

乾:80,POINTDOT,COLORBBBBBB;

艮:50,POINTDOT,COLORBBBBBB;

坤:20,POINTDOT,COLORBBBBBB;

DRAWBAND(D,RGB(0,148,68),K,RGB(255,203,12));

IF(趋势>REF(趋势,1),趋势,DRAWNULL),COLORWHITE,LINETHICK3;

IF(趋势<REF(趋势,1),趋势,DRAWNULL),COLORBLUE,LINETHICK3;

IF(J>REF(J,1),J,DRAWNULL),LINETHICK2,COLORRED;

IF(J<REF(J,1),J,DRAWNULL),LINETHICK2,COLORGREEN;

IF(J>REF(J,1),J,DRAWNULL),LINETHICK4,POINTDOT,COLORWHITE;

IF(J<REF(J,1),J,DRAWNULL),LINETHICK4,POINTDOT,COLORCYAN;

DRAWICON(crOSS(D,K)AND K>75{ AND 趋势>50},100,39);

DRAWICON(CROSS(K,D)AND D<25{ AND 趋势<50},0,38);

通达信拉升进入主图及选股指标公式