PROTECTED SOURCE SCRIPT
Aggiornato

leo.usdt RSI

824
This is a custom RSI-based indicator enhanced with Bollinger Band logic to give early visual signals and potential trading alerts. It’s designed to help traders identify:
• Overbought/oversold conditions
• Potential reversals
• Areas of market neutrality or retracement
• Strong or weak trade signal zones
• RSI-based alerts in combination with price volatility (via Bollinger Bands)



Key Components:

1. RSI Calculation
• Standard Relative Strength Index (RSI) with a default length of 21.
• Source: close price.
• Output RSI is color-coded:
• Red if RSI > 62 (overbought)
• Blue if RSI < 24 (oversold)
• Green otherwise

2. RSI Zones and Visual Labels
• Horizontal lines mark 6 key RSI zones:
• 80 = Upper Bound (extreme overbought)
• 62 = Strong Sell
• 50 = Possible Retrace
• 38 = Neutral
• 24 = Possible Reversal
• 16 = Strong Buy
• Backgrounds between these zones are color-shaded to visually differentiate them.
• Optional labels (controlled via checkbox) appear on the RSI chart to show zone names.

3. Bollinger Bands Logic
• Bollinger Bands use:
• Length = 20 (default)
• Multiplier = 2.0 (default)
• The BB logic categorizes price position relative to bands:
• BB = 71: Price above upper band
• BB = 56: Price in upper half
• BB = 44: Price in middle
• BB = 31: Price in lower half
• BB = 20: Price below lower band

4. Combined RSI + BB Signal Circles
• Two types of visual circles appear on the RSI chart:
• Small Signal (line width = 2):
• RSI > 50 and price > BB upper band → small sell signal (red)
• RSI < 38 and price < BB lower band → small buy signal (blue)
• Strong Signal (line width = 4):
• RSI > 62 and price > BB upper band → strong sell
• RSI < 24 and price < BB lower band → strong buy

5. Alerts

This script includes 4 alert conditions:
• Small Sell: RSI > 50 and price above BB upper band
• Small Buy: RSI < 38 and price below BB lower band
• Strong Sell: RSI > 62 and price above BB upper band
• Strong Buy: RSI < 24 and price below BB lower band



User Controls:
• Change RSI length.
• Change Bollinger Band length and multiplier.
• Toggle signals (circles) on/off.
• Toggle RSI zone labels on/off.
• Optional RSI zone background shading for easy visualization.



Use Case:

This script is ideal for:
• Traders looking to combine momentum (RSI) with volatility (BB) for better signal accuracy.
• Spotting potential trend reversals, retracement zones, and extreme conditions.
• Getting visual and audible alerts to act faster during key moments.
Note di rilascio
Changed Backend to support multiple time frames
Note di rilascio
..
Note di rilascio
..
Note di rilascio
Changed the name
Note di rilascio
..

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.