This script is intended to print signals on the main price chart and send alerts when the RSI is overbought or oversold. You can customize the source of the signal (open, close, etc), as well as oversold/overbought levels, and RSI length.
Simple indicator when RSI goes above 75 or below 25. It gives signal at next proper candle.