Hi,

what function can I use to put in my entry condition an RSI's oversold/bought in the previous x-number candles?

Thank you so much for helping