OPEN-SOURCE SCRIPT
Consolidation Breakout PRO — Clean Boxes + 200 EMA Trend Filter

High-probability range breakout detector that draws perfect, always-visible consolidation boxes and only alerts when price breaks out with strong volume and (optionally) in the direction of the prevailing trend.
Features
Automatically draws and extends clean consolidation boxes in real time
Boxes stop extending the moment the breakout occurs — no more “ghost” lines
Optional but powerful 200 EMA trend filter (dramatically reduces false breakouts)
Stronger volume confirmation (default 1.8× the 20-period average, fully adjustable)
Auto-deletes old boxes so your chart stays perfectly clean even after hundreds of signals
Clear “BREAKOUT ↑” and “BREAKDOWN ↓” labels + ready-to-use alerts
Works on any market and any timeframe (best on 1H, 4H, Daily)
How to trade it (edge > 65 % when used correctly)
Wait for the labeled breakout candle to close
Enter on pullback/retest of the box edge (or on strong close + retest)
Stop-loss just outside the opposite side of the box
Take-profit: minimum 1:2, ideally measured move (box height added/subtracted) or trailing with the 20 EMA
This is the cleanest and most professional public consolidation breakout tool available in 2025 — no repainting, no lag, no chart clutter.
Created and continuously improved with love for the TradingView community.
Features
Automatically draws and extends clean consolidation boxes in real time
Boxes stop extending the moment the breakout occurs — no more “ghost” lines
Optional but powerful 200 EMA trend filter (dramatically reduces false breakouts)
Stronger volume confirmation (default 1.8× the 20-period average, fully adjustable)
Auto-deletes old boxes so your chart stays perfectly clean even after hundreds of signals
Clear “BREAKOUT ↑” and “BREAKDOWN ↓” labels + ready-to-use alerts
Works on any market and any timeframe (best on 1H, 4H, Daily)
How to trade it (edge > 65 % when used correctly)
Wait for the labeled breakout candle to close
Enter on pullback/retest of the box edge (or on strong close + retest)
Stop-loss just outside the opposite side of the box
Take-profit: minimum 1:2, ideally measured move (box height added/subtracted) or trailing with the 20 EMA
This is the cleanest and most professional public consolidation breakout tool available in 2025 — no repainting, no lag, no chart clutter.
Created and continuously improved with love for the TradingView community.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.