RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:SMA(RSV,3,1); IF(K>REF(K,1),K,DRAWNULL),COLORRED,LINETHICK1; IF(K<REF(K,1),K,DRAWNULL),COLORGREEN,LINETHICK1;