Adding logic for Rsi