PROTECTED SOURCE SCRIPT
Hikaru's RSI

Hikaru's RSI is a momentum and trend indicator built on the Relative Strength Index (RSI), it provides a view of trend strength and momentum by combining adaptive trend modules.
This script introduces improvements over standard RSI indicators by:
1. Centered RSI Scale: The standard 0-100 RSI is transformed to a -10 to +10 range, centering the neutral zone at 0 for clearer visualization of overbought (+4) and oversold (-4) conditions.
2. Dual Trend Confirmation: The indicator uses two independent modules to detect trend direction:
3. Consensus-Based Coloring: The plotted RSI line is colored based on the agreement between the two trend modules, providing a 5-tier classification of the trend strength:
Maximum Long (Max Long Color): Both Module 1 and Module 2 are bullish.
Normal Long (Normal Long Color): Module 1 is bullish, Module 2 is neutral.
Maximum Short (Max Short Color): Both Module 1 and Module 2 are bearish.
Normal Short (Normal Short Color): Module 1 is bearish, Module 2 is neutral.
Conflict/Neutral (Neutral Color): Trends conflict or both are neutral.
⚙️ How to Use
Maximum States: Bright green and Bright red signals are the highest conviction trend signals, indicating that both the primary trend filter and the adaptive extremes agree on the direction.
Monitor Normal States: Normal Long and Normal Short signals suggest the primary trend is established, but the momentum is not yet extreme. These are useful for trend continuation plays.
Observe Conflicts: May this unlikely condition occur, should be a risk-off signal, indicating the trend mechanisms disagree.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.