PROTECTED SOURCE SCRIPT
Smart RSI Dashboard

This script is a multi-timeframe dashboard indicator that analyzes Stochastic RSI and trend direction using EMA-based logic, with optional signal alerts when price reaches Fibonacci levels on the active chart. It includes:
- Customizable colors for RSI and trend states
- Buy/Sell signal detection based on:
- RSI being oversold or overbought
- Trend direction: Uptrend or Downtrend
- Price reaching Fibonacci key zones (0.618 for support, 0.382 for resistance)
- A floating table showing RSI status and trend across multiple timeframes
🔍 Detailed Breakdown:
| Component | Purpose |
| indicator(...) | Declares the indicator and sets it to overlay directly on the chart. |
| input.color(...) | Lets the user customize visual colors for RSI and trend states. |
| stoch() function | Calculates Stochastic RSI from the RSI values over a given period. |
| getStatus() | Returns text status "Oversold ✅", "Overbought ❌", or "Neutral" based on RSI thresholds. |
| getTrend() | Compares EMA(10) and EMA(50) to define "Uptrend 🔼", "Downtrend 🔽", or "Sideways". |
| Fibonacci levels | Automatically calculates 0.382 and 0.618 retracement levels from the last 100 candles. |
| Signals & Alerts | Detects buy/sell setups when RSI + trend + Fibonacci are aligned. Triggers alerts accordingly. |
| Dashboard table | Displays RSI and trend status for 5 timeframes (5m, 15m, 1H, 4H, 1D) in top-right corner. |
"This indicator analyzes market conditions using Stochastic RSI and EMA-based trend direction across multiple timeframes. It provides buy/sell signals when price reaches Fibonacci support/resistance levels and RSI/trend conditions agree. Users can customize display colors, and use real-time alerts for signal execution."
- Customizable colors for RSI and trend states
- Buy/Sell signal detection based on:
- RSI being oversold or overbought
- Trend direction: Uptrend or Downtrend
- Price reaching Fibonacci key zones (0.618 for support, 0.382 for resistance)
- A floating table showing RSI status and trend across multiple timeframes
🔍 Detailed Breakdown:
| Component | Purpose |
| indicator(...) | Declares the indicator and sets it to overlay directly on the chart. |
| input.color(...) | Lets the user customize visual colors for RSI and trend states. |
| stoch() function | Calculates Stochastic RSI from the RSI values over a given period. |
| getStatus() | Returns text status "Oversold ✅", "Overbought ❌", or "Neutral" based on RSI thresholds. |
| getTrend() | Compares EMA(10) and EMA(50) to define "Uptrend 🔼", "Downtrend 🔽", or "Sideways". |
| Fibonacci levels | Automatically calculates 0.382 and 0.618 retracement levels from the last 100 candles. |
| Signals & Alerts | Detects buy/sell setups when RSI + trend + Fibonacci are aligned. Triggers alerts accordingly. |
| Dashboard table | Displays RSI and trend status for 5 timeframes (5m, 15m, 1H, 4H, 1D) in top-right corner. |
"This indicator analyzes market conditions using Stochastic RSI and EMA-based trend direction across multiple timeframes. It provides buy/sell signals when price reaches Fibonacci support/resistance levels and RSI/trend conditions agree. Users can customize display colors, and use real-time alerts for signal execution."
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.