OPEN-SOURCE SCRIPT
RSI with Background & Out-of-Range Alert

RSI with Out-of-Range Alert
This indicator enhances the classic Relative Strength Index (RSI) by adding a visual mid-zone highlight and a simple, effective alert system:
Key Features
• RSI Calculation: Standard RSI with customizable length and source.
• range between oversold (30) and overbought (70). This makes it easy to visually separate trend-neutral conditions from potential reversal zones.
• Clear Overbought/Oversold Levels: Horizontal lines at 70 and 30 to mark key thresholds.
• Out-of-Range Alert: Built-in alert condition triggers when RSI moves above 70 or below 30 — a single alert for both extremes.
Why Use It?
This indicator helps traders:
• Quickly identify when the market is in a neutral zone versus extreme conditions.
• Avoid missing potential breakout/reversal setups by receiving an automatic alert when RSI exits the normal range.
• Keep charts clean and focused by shading only the mid-zone, leaving extreme areas visually clear.
Best Use Cases
• Works on any market and timeframe.
• Ideal for traders who combine RSI extremes with price action, trend filters, or divergence strategies.
• Perfect for those who want simple visual clarity and minimal distractions.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.