OPEN-SOURCE SCRIPT

Adaptive RSI Oscillator

372
📌 Adaptive RSI Oscillator
This indicator transforms the classic RSI into a fully adaptive, self-optimizing oscillator — normalized between -1 and 1, dynamically smoothed, and enhanced with divergence detection.

🔧 Key Features
Self-Optimizing RSI: Automatically selects the optimal RSI lookback length based on return stability (no hardcoded periods).

Dynamic Smoothing: Adapts to market conditions using a fraction of the optimized length.

Normalized Output [-1, 1]: Converts traditional RSI to a consistent scale across all assets and timeframes.

Divergence Detection: Compares RSI behavior vs. price percentile ranks and scales the signal accordingly.

Gradient Visualization: Color-coded background and plot lines reflect the strength and direction of the signal with soft transitions.

Neutral Zone Adaptation: Dynamically widens or narrows the zone of inaction based on volatility, reducing noise.

🎯 Use Cases
Identify extreme momentum zones without relying on fixed 70/30 RSI levels

Detect divergences early with adaptive filtering

Highlight potential exhaustion or continuation

⚠️ Disclaimer: This indicator is for informational and educational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security. Always conduct your own research and consult a licensed financial advisor before making investment decisions. Use at your own risk.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。