OPEN-SOURCE SCRIPT

Adaptive Quant RSI [ML + MTF]

110
This is an advanced momentum indicator that integrates Machine Learning (K-Means Clustering) with Multi-Timeframe (MTF) analysis. Unlike traditional RSI which uses fixed 70/30 levels, this script dynamically calculates support and resistance zones based on real-time historical data distribution.

Key Features:

🤖 ML Dynamic Thresholds: Uses K-Means clustering to segment RSI data into clusters, automatically plotting dynamic long/short thresholds that adapt to market volatility.

⏳ MTF Trend Background: The background color changes based on a Higher Timeframe (e.g., 5-min) RSI trend, helping you align with the broader market direction.

📊 Extreme Statistics: Incorporates percentile analysis (95th/5th) and historical pivots to identify extreme overbought/oversold conditions with high reversal probability.

📈 Probability Analysis: Displays the statistical probability of the current RSI value being at the top or bottom of its historical range.

Usage: Look for confluence between the dynamic ML thresholds and the MTF background color to identify high-probability reversal setups.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.