通达信KDJ完美指标公式

通达信连涨主图指标公式

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

FAstK:=SMA(RSV,3,1);

K:SMA(FASTK,3,1);

D:SMA(K,5,1);

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

IF(J>REF(J,1),J,DRAWNULL),COLOR0055FF,LINETHICK1;

IF(J<REF(J,1),J,DRAWNULL),COLOR00FF55,LINETHICK1;

BB:=COUNT(J<REF(J,1),5)=5;

B:(REF(BB,1) AND J>=REF(J,1) AND J<30)*50,LINETHICK1,COLORFF00FF;

LB:IF(B,30,0),LINETHICK1,COLORFFFFFF;

bias:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

XG:((crOSS(K,D)AND D<16 AND BIAS<-6))*80,COLOR0000FF;

100,COLOR00FF00;

20,POINTDOT,COLORFFFFFF;

50,POINTDOT,COLORFFFFFF;

通达信投机七剑主图指标公式