OPEN-SOURCE SCRIPT
RSI Custom Level Alert

█ OVERVIEW
An RSI indicator that lets you set custom overbought and oversold alert levels — because the default 70/30 doesn't work for every pair or timeframe.
The alert fires only once when RSI crosses your threshold, not repeatedly while it stays in the zone. Set it and walk away.
█ THE PROBLEM THIS SOLVES
The default RSI alert at 70/30 is too rigid. Gold tends to hover in the 60s during strong uptrends. Volatile pairs hit 70 and 30 constantly, flooding you with noise. This script lets you dial in the exact level that fits your pair and timeframe, so every alert actually means something.
█ FEATURES
● Fully adjustable overbought and oversold alert levels (default 70/30)
● Alerts fire only on the crossing bar — no zone spam
● MA overlay on RSI (SMA, EMA, SMMA/RMA, WMA, VWMA)
● MA crossover alerts included
● Color-coded overbought, oversold, and middle zones
● All colors fully customizable
█ ALERTS (4 types)
- RSI Overbought Alert — RSI crosses above your custom overbought level
- RSI Oversold Alert — RSI crosses below your custom oversold level
- RSI Crossed Above MA — RSI crosses above its moving average
- RSI Crossed Below MA — RSI crosses below its moving average
█ RECOMMENDED ALERT SETTING
When creating an alert, set the frequency to "Once Per Bar Close."
This ensures the alert fires once per confirmed bar only.
█ INPUTS
RSI Settings
- RSI Length: Lookback period for RSI calculation (default 14)
- Source: Price source (default close)
Moving Average Settings
- MA Type: SMA / EMA / SMMA(RMA) / WMA / VWMA
- MA Length: Lookback period for the MA (default 9)
Alert Levels (Custom)
- Overbought Alert Level: RSI level that triggers the overbought alert (default 70, freely adjustable)
- Oversold Alert Level: RSI level that triggers the oversold alert (default 30, freely adjustable)
Color Settings
- All zone and line colors are individually customizable
An RSI indicator that lets you set custom overbought and oversold alert levels — because the default 70/30 doesn't work for every pair or timeframe.
The alert fires only once when RSI crosses your threshold, not repeatedly while it stays in the zone. Set it and walk away.
█ THE PROBLEM THIS SOLVES
The default RSI alert at 70/30 is too rigid. Gold tends to hover in the 60s during strong uptrends. Volatile pairs hit 70 and 30 constantly, flooding you with noise. This script lets you dial in the exact level that fits your pair and timeframe, so every alert actually means something.
█ FEATURES
● Fully adjustable overbought and oversold alert levels (default 70/30)
● Alerts fire only on the crossing bar — no zone spam
● MA overlay on RSI (SMA, EMA, SMMA/RMA, WMA, VWMA)
● MA crossover alerts included
● Color-coded overbought, oversold, and middle zones
● All colors fully customizable
█ ALERTS (4 types)
- RSI Overbought Alert — RSI crosses above your custom overbought level
- RSI Oversold Alert — RSI crosses below your custom oversold level
- RSI Crossed Above MA — RSI crosses above its moving average
- RSI Crossed Below MA — RSI crosses below its moving average
█ RECOMMENDED ALERT SETTING
When creating an alert, set the frequency to "Once Per Bar Close."
This ensures the alert fires once per confirmed bar only.
█ INPUTS
RSI Settings
- RSI Length: Lookback period for RSI calculation (default 14)
- Source: Price source (default close)
Moving Average Settings
- MA Type: SMA / EMA / SMMA(RMA) / WMA / VWMA
- MA Length: Lookback period for the MA (default 9)
Alert Levels (Custom)
- Overbought Alert Level: RSI level that triggers the overbought alert (default 70, freely adjustable)
- Oversold Alert Level: RSI level that triggers the oversold alert (default 30, freely adjustable)
Color Settings
- All zone and line colors are individually customizable
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.