通达信变异KDJ指标公式

通达信鼠你好运指标公式

通达信变异KDJ指标公式:

N:=6;

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;

E:=J-K;

macd2:(E)*1.2,volstICK;

STICKLINE((MacD2 >= 0),0,MACD2,3,1),COLORRED ;

STICKLINE(((MACD2 >= 0) AND (MACD2 < REF(MACD2,1))),0,MACD2,3,0),COLORRED;

STICKLINE((MACD2 < 0),0,MACD2,3,0),COLORGREEN;

STICKLINE(((MACD2 < 0) AND (MACD2 > REF(MACD2,1))),0,MACD2,3,1),COLORGREEN;

DRAWICON(((((LLV(MACD2,4) > 0) AND (MACD2 < REF(MACD2,1))) AND (REF(MACD2,1) > REF(MACD2,2))) AND (REF(MACD2,2) > REF

(MACD2,3))),MACD2,2);

DRAWICON(((((HHV(MACD2,4) < 0) AND (MACD2 > REF(MACD2,1))) AND (REF(MACD2,1) < REF(MACD2,2))) AND (REF(MACD2,2) < REF

(MACD2,3))),MACD2,1);

K2:K;

D2:D;

J3:J,COLORD9D919,LINETHICK2;

通达信将军买点主图指标公式