I am plotting a price chart with RSI at bottom. I want to set a alert when RSI is above or below certain value. How do I do that?

Thanks in advance.