OPEN-SOURCE SCRIPT
已更新 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.
版本注释
//版本注释
//版本注释
//开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。