OPEN-SOURCE SCRIPT
Cập nhật RSI LOESS

RSI LOESS - Volatility-Normalized Momentum Indicator with Adaptive Smoothing
An advanced momentum oscillator that enhances traditional RSI by combining standard deviation normalization with LOESS (Locally Estimated Scatterplot Smoothing) weighted averaging to create a more responsive and reliable trend strength filter.
Core Methodology:
The indicator applies a three-step transformation to price data:
Standard Deviation Normalization: Calculates RSI and subtracts its standard deviation, creating a volatility-adjusted baseline that adapts to changing market conditions
LOESS Weighted Smoothing: Applies customizable edge and center weighting to reduce noise while preserving signal integrity and minimizing lag
Binary Scoring System: Generates directional signals (+1/-1) at the 49 threshold for systematic trade execution
Optimized Zone Structure:
The indicator naturally oscillates between 30-70, with four distinct zones calibrated for this range:
RED (< 40): OVERSOLD - Weak momentum, potential reversal or continuation of downtrend
BLUE (40-50): BEARISH - Below neutral, conditions favor caution or short positioning
GREEN (50-60): BULLISH - Above neutral, momentum is building with early trend potential
ORANGE (60-70): OVERBOUGHT - Strong momentum, the "sweet spot" for trend following but watch for overextension
Trading Applications:
Long Entries: Look for transitions from RED into BLUE/GREEN zones as momentum shifts positive
Short Entries: Watch for moves from GREEN/ORANGE back into BLUE/RED zones as momentum weakens
The compressed zone triggers (40, 50, 60) provide earlier signals than traditional RSI levels (30, 70), making this ideal for swing trading and trend-following strategies.
Customizable Parameters:
RSI Length: Control the base momentum calculation period
SD Length: Adjust volatility normalization sensitivity
LOESS Smoothing Length: Fine-tune noise reduction vs. responsiveness
Edge/Center Weights: Customize the smoothing curve to match your trading style
Visual Features:
Color-coded line that changes based on current zone
Background fills highlighting each momentum zone
Real-time data table showing asset, current value, directional score, and zone classification
Perfect for traders seeking a sophisticated momentum filter that adapts to volatility while providing clear, actionable signals for trend identification and entry timing.
An advanced momentum oscillator that enhances traditional RSI by combining standard deviation normalization with LOESS (Locally Estimated Scatterplot Smoothing) weighted averaging to create a more responsive and reliable trend strength filter.
Core Methodology:
The indicator applies a three-step transformation to price data:
Standard Deviation Normalization: Calculates RSI and subtracts its standard deviation, creating a volatility-adjusted baseline that adapts to changing market conditions
LOESS Weighted Smoothing: Applies customizable edge and center weighting to reduce noise while preserving signal integrity and minimizing lag
Binary Scoring System: Generates directional signals (+1/-1) at the 49 threshold for systematic trade execution
Optimized Zone Structure:
The indicator naturally oscillates between 30-70, with four distinct zones calibrated for this range:
RED (< 40): OVERSOLD - Weak momentum, potential reversal or continuation of downtrend
BLUE (40-50): BEARISH - Below neutral, conditions favor caution or short positioning
GREEN (50-60): BULLISH - Above neutral, momentum is building with early trend potential
ORANGE (60-70): OVERBOUGHT - Strong momentum, the "sweet spot" for trend following but watch for overextension
Trading Applications:
Long Entries: Look for transitions from RED into BLUE/GREEN zones as momentum shifts positive
Short Entries: Watch for moves from GREEN/ORANGE back into BLUE/RED zones as momentum weakens
The compressed zone triggers (40, 50, 60) provide earlier signals than traditional RSI levels (30, 70), making this ideal for swing trading and trend-following strategies.
Customizable Parameters:
RSI Length: Control the base momentum calculation period
SD Length: Adjust volatility normalization sensitivity
LOESS Smoothing Length: Fine-tune noise reduction vs. responsiveness
Edge/Center Weights: Customize the smoothing curve to match your trading style
Visual Features:
Color-coded line that changes based on current zone
Background fills highlighting each momentum zone
Real-time data table showing asset, current value, directional score, and zone classification
Perfect for traders seeking a sophisticated momentum filter that adapts to volatility while providing clear, actionable signals for trend identification and entry timing.
Phát hành các Ghi chú
//Phát hành các Ghi chú
//Phát hành các Ghi chú
//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.