PROTECTED SOURCE SCRIPT
Flat Breakout Detector

🔹 English Description
Flat Breakout Detector is an indicator designed to highlight when the market shifts from flat, sideways trading into active movement.
Originality: Unlike standard trend or volatility tools, this script focuses on detecting abnormal volatility expansions compared to previous candles. Since around 80% of the time the market stays in flat ranges, the real opportunities often appear when price leaves consolidation. The indicator identifies these volatility anomalies, which may signal the start of a trend or a breakout.
What it does: The script measures the relative distance of price extremes from a moving average and applies a Z-score transformation. This helps traders spot volatility spikes that stand out from the prior market behavior. In simple terms: when volatility expands unusually, the indicator highlights it as a potential breakout moment.
How to use:
Ideal for traders working with consolidation/breakout patterns.
Works best as a scanner/alert system: when a signal appears, open the chart, analyze the setup, and decide whether it fits your trading strategy.
Not every signal means entry — sometimes volatility expansion happens inside the flat.
If the setup matches your strategy, place limit orders or enter at market; if not, ignore the signal and wait for the next one.
⚠️ Disclaimer: This is not a buy/sell signal generator. It only highlights moments of volatility expansion and possible breakouts. Always combine it with your own technical and volume analysis before making trading decisions.
Flat Breakout Detector is an indicator designed to highlight when the market shifts from flat, sideways trading into active movement.
Originality: Unlike standard trend or volatility tools, this script focuses on detecting abnormal volatility expansions compared to previous candles. Since around 80% of the time the market stays in flat ranges, the real opportunities often appear when price leaves consolidation. The indicator identifies these volatility anomalies, which may signal the start of a trend or a breakout.
What it does: The script measures the relative distance of price extremes from a moving average and applies a Z-score transformation. This helps traders spot volatility spikes that stand out from the prior market behavior. In simple terms: when volatility expands unusually, the indicator highlights it as a potential breakout moment.
How to use:
Ideal for traders working with consolidation/breakout patterns.
Works best as a scanner/alert system: when a signal appears, open the chart, analyze the setup, and decide whether it fits your trading strategy.
Not every signal means entry — sometimes volatility expansion happens inside the flat.
If the setup matches your strategy, place limit orders or enter at market; if not, ignore the signal and wait for the next one.
⚠️ Disclaimer: This is not a buy/sell signal generator. It only highlights moments of volatility expansion and possible breakouts. Always combine it with your own technical and volume analysis before making trading decisions.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.