RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
STICKLINE(J>D,-V,VOL,3,0),COLORRED;
STICKLINE(J<D,-V,VOL,3,0),COLORGREEN;
STICKLINE(J>D AND J>REF(J,1),-V,0,3,0),COLORMAGENTA;
STICKLINE(J>D AND V<REF(V,1),V,0,3,0),COLORYELLOW;
STICKLINE(J<D AND J>REF(J,1),-V,0,3,0),COLORWHITE;
STICKLINE(J<D AND V<REF(V,1),V,0,3,0),COLORBLUE;