P1:=3;Q:=5;DISP:=1;
RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FASTK:=SMA(RSV,P1,1);
K:SMA(FASTK,3,1);
D:SMA(K,5,1);
DRAWBAND(K,RGB(240,133,36),D,RGB(146,23,198));
J := 3*K - 2*D;
DJ := EMA(J,Q);
kdCD : DISP*(J-DJ), COLORSTICK;
P1:=3;Q:=5;DISP:=1;
RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FASTK:=SMA(RSV,P1,1);
K:SMA(FASTK,3,1);
D:SMA(K,5,1);
DRAWBAND(K,RGB(240,133,36),D,RGB(146,23,198));
J := 3*K - 2*D;
DJ := EMA(J,Q);
kdCD : DISP*(J-DJ), COLORSTICK;