Tradescript for RSI

i need tradescript for the following requirement
RSI should be below 35 with upward slope

RSI(CLOSE,14) < 35 AND 
SLOPE(CLOSE, 30) > 0.3