OPEN-SOURCE SCRIPT
✅ Multi-TF RSI Buy/Sell Signal + Debug Panel

Multi-TF RSI Buy/Sell Signal + Debug Panel
This script provides RSI-based Buy and Sell signals confirmed across multiple timeframes, designed to help identify high-confluence market entries. Includes an optional debug panel for real-time monitoring and diagnostics.
How It Works
RSI Thresholds:
Oversold (OS): RSI < Oversold value → potential Buy
Overbought (OB): RSI > Overbought value → potential Sell
Timeframe Inputs:
You can monitor RSI across up to 4 different timeframes (customizable).
You can enable/disable each individually.
Signal Confirmation:
You define how many of the selected timeframes need to agree (via Min Confirmations).
If Auto Confirm is enabled, it automatically matches the number of confirmations to how many timeframes are enabled.
Signal Logic:
If enough RSI values are oversold, a Buy arrow is shown below the bar.
If enough RSI values are overbought, a Sell arrow appears above the bar.
Alerts are also triggered accordingly.
How to Use
Debug Panel
Toggle it on/off via Show Debug Panel.
Move its position to any chart corner.
Updates every 5 bars.
Displays:
Each TF label
RSI value
If it's currently oversold/overbought
If that TF is currently enabled
Tips:
Try to match chart timeframe with one of your selected TFs for better signal visibility.
Use in confluence with other indicators for best results.
RSI alone is not a guaranteed signal – treat it as a filter or alert, not a full strategy.
Notes
This is not financial advice. Always combine with your own analysis.
RSI-based systems work best in ranging or balanced conditions.
Confirmation logic helps reduce noise, but no indicator is infallible.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.