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)

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.