OPEN-SOURCE SCRIPT
Breakout Signal (Trend+ATR+ADX+Score)

Breakout Signal – Trend + ATR + ADX + Strength Score
This indicator detects high-quality bullish breakout conditions using a multi-filter confirmation system designed to reduce false signals and highlight only strong momentum events.
A breakout signal triggers when all core conditions align:
📌 Breakout Conditions
1. Price Breakout
Breakout occurs when the current high exceeds the previous close by X%.
This avoids noisy open-based signals and focuses on genuine upward expansion.
2. Volume Spike
Current volume must be higher than the average volume × multiplier.
This ensures the breakout is supported by real trading activity.
3. Trend Filter (MA)
Price must be trading above a moving average.
This prevents counter-trend breakouts and focuses on momentum continuation.
4. ATR Rising
ATR must be rising relative to its own moving average.
A rising ATR confirms volatility expansion — a key ingredient of valid breakouts.
5. ADX Trend Strength
ADX must exceed a user-defined threshold (default: 20).
This confirms the market is in a strong trend environment, reducing false signals.
⭐ Breakout Strength Score (0–5)
Each of the 5 filters contributes 1 point:
Trend OK
Volume Spike
ATR Rising
ADX Strong
Price Breakout
A score label appears on valid breakouts:
5/5 → Very strong breakout
4/5 → Strong breakout
3/5 → Moderate breakout
0–2 → Weak / avoided signals
This indicator detects high-quality bullish breakout conditions using a multi-filter confirmation system designed to reduce false signals and highlight only strong momentum events.
A breakout signal triggers when all core conditions align:
📌 Breakout Conditions
1. Price Breakout
Breakout occurs when the current high exceeds the previous close by X%.
This avoids noisy open-based signals and focuses on genuine upward expansion.
2. Volume Spike
Current volume must be higher than the average volume × multiplier.
This ensures the breakout is supported by real trading activity.
3. Trend Filter (MA)
Price must be trading above a moving average.
This prevents counter-trend breakouts and focuses on momentum continuation.
4. ATR Rising
ATR must be rising relative to its own moving average.
A rising ATR confirms volatility expansion — a key ingredient of valid breakouts.
5. ADX Trend Strength
ADX must exceed a user-defined threshold (default: 20).
This confirms the market is in a strong trend environment, reducing false signals.
⭐ Breakout Strength Score (0–5)
Each of the 5 filters contributes 1 point:
Trend OK
Volume Spike
ATR Rising
ADX Strong
Price Breakout
A score label appears on valid breakouts:
5/5 → Very strong breakout
4/5 → Strong breakout
3/5 → Moderate breakout
0–2 → Weak / avoided signals
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.