RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),COLORWHITE;
D:SMA(K,3,1),COLORYELLOW;
J:3*K-2*D,COLORYELLOW;
IF(KIF(DIF(JIF(K>REF(K,1),K,DRAWNULL),COLORRED,LINETHICK4;
IF(D>REF(D,1),D,DRAWNULL),COLORRED,LINETHICK4;
IF(J>REF(J,1),J,DRAWNULL),COLORFF00FF,LINETHICK4;
0;
100;
20;
50;
80;