OPEN-SOURCE SCRIPT
MACD Range Detector by Simonezzi

Key Features:
Range Detection: Identifies sideways markets by analyzing MACD flatness, histogram behavior, and MACD-Signal convergence
Visual Alerts: Colors the background orange during ranging periods, blue during trends
Labels: Marks when the market enters/exits ranging conditions
Statistics Table: Shows real-time metrics (top-right corner)
Built-in Alerts: Set alerts for range detection and trend resumption
MACD Panel: Optional display of MACD components with range highlighting
The indicator works best on higher timeframes (1H, 4H, Daily) for more reliable range detection. Orange background = ranging market, Blue labels = trend resuming.
Range Detection: Identifies sideways markets by analyzing MACD flatness, histogram behavior, and MACD-Signal convergence
Visual Alerts: Colors the background orange during ranging periods, blue during trends
Labels: Marks when the market enters/exits ranging conditions
Statistics Table: Shows real-time metrics (top-right corner)
Built-in Alerts: Set alerts for range detection and trend resumption
MACD Panel: Optional display of MACD components with range highlighting
The indicator works best on higher timeframes (1H, 4H, Daily) for more reliable range detection. Orange background = ranging market, Blue labels = trend resuming.
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.