OPEN-SOURCE SCRIPT
RSI2 Multi-Timeframe

This indicator tracks RSI(2) across your chart timeframe (CTF) and up to two higher timeframes (HTF1/HTF2), then highlights momentum extremes with clear visual signals.
HTF preset system
Optional preset mode automatically assigns HTF1/HTF2 based on the current chart timeframe.
Includes explicit mappings:
How to read it
Typical use
Notes
- What it does
- Calculates RSI(2) on CTF, HTF1, and HTF2.
- Supports two threshold modes:
- - Standard: 95 / 5
- - Aggressive: 90 / 10
- Uses delayed signal markers (1 bar) to reduce noise from raw threshold transitions.
- Applies “standard overrides aggressive” logic to avoid double-marking.
- Shades background when all active timeframes align in an extreme zone.
- Shows a compact status table with:
- Live RSI values for CTF/HTF1/HTF2
- Timeframe labels
- Cell coloring that matches marker timing logic
HTF preset system
Optional preset mode automatically assigns HTF1/HTF2 based on the current chart timeframe.
Includes explicit mappings:
- 3m -> 10m / 30m
- 10m -> 30m / 1H
- 1H -> 4H / 1D
- 4H -> 12H / 3D
- 1D -> 1W / 1M
- Sensible defaults are applied for other chart timeframes. You can disable presets and use fully manual HTF inputs anytime.
How to read it
- Triangle markers = standard signals.
- X markers = aggressive signals (only when standard is not present).
- Red = overbought signal.
- Green = oversold signal.
- Table colors reflect the same delayed signal timing as plotted markers.
Typical use
- Fast mean-reversion or momentum-exhaustion workflows.
- Multi-timeframe confirmation before entries/exits.
- Clean, at-a-glance monitoring of short-term RSI pressure against higher-timeframe context.
Notes
- This is a signal/confirmation tool, not a standalone strategy.
- Combine with structure, liquidity, and risk management for execution decisions.
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.