PROTECTED SOURCE SCRIPT

MarcoVieira - RSI All-in-One (alerts)

52
marco1981
Instagram marcovieira.oficial

Indicator MarcoVieira - RSI All-in-One (alerts) is a customized version of the classic RSI (Relative Strength Index). It includes several advanced features such as entry signals, divergences, moving averages for smoothing, dynamic coloring, and candle painting.

Main Components
Standard RSI Calculation
- Uses the default period of 14 (configurable) and price source (default: close).
- Traditional formula:
RSI=100-\left( \frac{100}{1+\frac{\mathrm{average\ gains}}{\mathrm{average\ losses}}}\right)
Smoothing with Moving Average
- Allows applying a moving average to smooth the RSI line.
- Available types: SMA, EMA, SMMA (RMA), WMA, VWMA, and an option with Bollinger Bands.
- RSI line can be dynamically colored (green/red) based on its position relative to the moving average.
Divergences
- Detects regular bullish and bearish divergences between RSI and price.
- Plots labels and lines to indicate divergences.
Buy and Sell Signals
- RSI Signals:
- Green triangles (buy) and red triangles (sell) appear when RSI crosses configurable levels (default: 30 and 70) and confirms with a confirmation level (default: 50).
- Includes filters such as neutral zone and bar-close confirmation.
- RSI Moving Average Signals:
- Blue diamonds (buy) and orange diamonds (sell) appear when the RSI moving average crosses extreme levels (default: 30 and 70).
- Diamonds are plotted at fixed positions (Y=8 and Y=92) to avoid interfering with RSI readability.
Candle Coloring
- Candles can be painted blue (buy signal) or yellow (sell signal) based on RSI signals.
Alerts
- Alerts available for each type of signal: RSI, moving average, and divergences.

Key Settings
- RSI Settings: Length, source, and divergence calculation toggle.
- Signal Settings: Buy/sell crossover levels, confirmation level, and filters (neutral zone, close confirmation).
- RSI vs MA Color Settings: Enable/disable dynamic coloring and choose colors.
- Candle Color Settings: Enable/disable candle painting and choose colors.
- MA Signal Settings: Enable/disable MA signals, crossover levels, and diamond colors.
- Smoothing: Configure type, length, and parameters of the moving average (including Bollinger Bands).

Signal Flow
- RSI Signal:
- Buy: When RSI crosses above the buy level (e.g., 30) and is below the confirmation level (e.g., 50), respecting filters.
- Sell: When RSI crosses below the sell level (e.g., 70) and is above the confirmation level, respecting filters.
- RSI MA Signal:
- Buy: When the RSI MA crosses below the buy level (e.g., 30).
- Sell: When the RSI MA crosses above the sell level (e.g., 70).
- Divergences:
- Bullish: RSI makes higher lows while price makes lower lows.
- Bearish: RSI makes lower highs while price makes higher highs.

Visualization
- RSI plotted as a line with dynamic colors (if enabled) or purple.
- Moving average plotted in orange (if enabled).
- Bollinger Bands (if enabled) plotted in green with fill.
- Signal triangles (green/red) appear at the bottom/top of the panel.
- Diamonds (blue/orange) appear at fixed positions Y=8 and Y=92 (near panel edges).

Conclusion
This indicator combines multiple RSI-based strategies into a single tool. Traders can configure different types of signals (pure RSI, RSI MA, divergences) and filter them to reduce false signals. Visualization is rich and customizable, with alerts for each signal type.
⚠️ Note: Using multiple signals may cause confusion or conflicting signals. It is recommended to test and adjust settings according to the asset and timeframe.

Simplified Breakdown
📊 Main Features:
- Enhanced RSI
- Standard RSI (default 14)
- Gradient colors in overbought (70–100) and oversold (0–30) zones
- Reference lines at 30, 50, and 70

- Primary Signal System 🟢🔴
- Green triangles: Buy when RSI crosses above 30
- Red triangles: Sell when RSI crosses below 70
- Advanced filters (neutral zone, close confirmation)

- RSI Moving Average 🟧
- Smooths RSI with multiple MA types (SMA, EMA, WMA, etc.)
- Optional Bollinger Bands around MA
- Dynamic coloring: RSI green above MA, red below MA

- New MA Signals (Diamonds) 💎🔷
- Blue diamond (Y=8): RSI MA crosses below buy level (default 30)
- Orange diamond (Y=92): RSI MA crosses above sell level (default 70)
- Separate alerts for these signals

- Divergence Detection
- Identifies bullish and bearish divergences
- Plots "Bull" and "Bear" labels

- Candle Coloring
- Blue candles = buy signals
- Yellow candles = sell signals

- Complete Alert System
- Alerts for RSI signals
- Alerts for MA signals
- Alerts for divergences

🎯 Trading Logic:
- Combines 3 strategies:
- RSI crossing traditional levels (30/70)
- RSI MA crossing the same levels
- Price/RSI divergences

⚙️ Customizable Settings:
- Adjustable buy/sell/confirmation levels
- Option to disable any component
- Choice of 7 MA types
- Full control over colors and visualization

📈 How to Use:
- Strong Buy: Green triangle + Blue diamond
- Strong Sell: Red triangle + Orange diamond
- Divergences: Indicate possible reversals
- MA vs RSI: Short-term trend (dynamic colors)

👉 In short, the MV RSI is an “RSI All-in-One” that merges multiple technical approaches into a single visual panel—ideal for traders who rely on RSI but want extra confirmation before entering trades.

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.