通达信KDJ划线指标公式

通达信十分钟分时主图指标公式

通达信KDJ划线指标公式:

RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;

K:=SMA(RSV,9,1);

D:SMA(K,3,1);

趋势J1:3*K-2*D;

趋势J2:EMA(K,3);

{stICKLINE(D>=HHV(D,21) AND REF(D,1)<REF(HHV(D,21),1),趋势J1,趋势J2,2,0),COLORRED;}

WH:DRAWLINE(D>=HHV(D,21),D,D<=LLV(D,21),D,1),COLORMAGENTA;

突破:IF(crOSS(趋势J1,WH) AND CROSS(趋势J2,WH),50,0);

WL:DRAWLINE(REF(D,1)<=REF(LLV(D,21),1),D,D>=HHV(D,21),D,0),COLORCYAN;

IF(CROSS(WL,趋势J1) AND CROSS(WL,趋势J2),70,90),COLORGREEN;

STICKLINE(趋势J1<20,0,10,1,0),COLORRED;

20;

通达信五分钟分时主图指标公式