OPEN-SOURCE SCRIPT
Adaptive Quant RSI [ML + MTF]

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.
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.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
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.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
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.