PROTECTED SOURCE SCRIPT

HLRSI

46
═══════════════════════════════════════════
HLRSI - High-Low RSI
═══════════════════════════════════════════

## Overview
HLRSI (High-Low RSI) is a dynamic RSI indicator that automatically switches between High RSI and Low RSI based on market conditions. This allows traders to focus on the most relevant momentum — bullish momentum in uptrends and bearish momentum in downtrends.

## How It Works
- When HL2 RSI is above its Bollinger Band middle line → displays High RSI (based on candle highs)
- When HL2 RSI is below its Bollinger Band middle line → displays Low RSI (based on candle lows)

This adaptive approach provides clearer signals compared to traditional RSI, which uses only closing prices.

## Components
1. **RSI Line (Purple)**: The adaptive High-Low RSI
2. **RSI HMA (Yellow)**: Hull Moving Average of RSI - acts as a trend filter, similar to MACD signal line
3. **Bollinger Bands (Green)**: Dynamic overbought/oversold boundaries that adapt to volatility

## How to Use

### Trend Identification
- RSI above HMA → Bullish momentum
- RSI below HMA → Bearish momentum
- RSI crossing HMA → Potential trend change

### Entry Signals
- **Long**: RSI crosses above HMA near oversold zone or lower Bollinger Band
- **Short**: RSI crosses below HMA near overbought zone or upper Bollinger Band

### Overbought/Oversold
- RSI touching upper Bollinger Band → Overbought (potential reversal or pullback)
- RSI touching lower Bollinger Band → Oversold (potential reversal or bounce)

## Parameters
- **RSI Length** (default: 50): Period for RSI calculation
- **HMA Length** (default: 200): Period for trend-filtering HMA
- **BB Length** (default: 200): Period for Bollinger Bands
- **BB Multiplier** (default: 2.8): Standard deviation multiplier

## Tips
- Combine with price action or other indicators for confirmation
- Adjust BB Multiplier to control sensitivity (lower = more signals, higher = fewer but stronger signals)

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。