Need assistance with the following streak conditions

Can anyone provide with a condition to filter stocks whose RSI value is higher than previous 20 day’s RSI value and the stock should be trading above its 200 EMA.

Please verify