OPEN-SOURCE SCRIPT
Bar Breakout with ATR

Bar Breakout with ATR — Multi-Timeframe Dashboard
Identifies high-quality breakout bars across multiple timeframes using a combination of ATR-based range filtering and IBS (Internal Bar Strength) confirmation.
How it works:
A bar is flagged as a breakout when three conditions align simultaneously — the close exceeds the prior bar's high (bull) or undercuts the prior bar's low (bear), the bar's range is at least N× the ATR, and the close quality is confirmed via IBS (top of range for bulls, bottom of range for bears). Bars that are large but fail to break are classified as POSS BULL or POSS BEAR — potential coiling setups worth watching.
Features:
Bar coloring — highlights confirmed breakout bars and large-range non-break bars in distinct colors
MTF Dashboard Table — shows the most recent breakout event (BULL BREAK, BEAR BREAK, POSS BULL, POSS BEAR) across up to 5 user-defined timeframes
Context rows — when the latest event on a timeframe is a POSS BULL/BEAR, the table optionally shows the last confirmed break for directional context
Per-bar detail — each table row displays timestamp (CST), low, high, range (with ATR multiple), midpoint, and IBS value
Fully configurable — ATR length, ATR multiplier, IBS thresholds, colors, table position, font sizes, and per-timeframe toggles
Best used on: Equity index futures (ES, NQ), ETFs, or any liquid instrument where breakout structure and range expansion are meaningful signals.
Identifies high-quality breakout bars across multiple timeframes using a combination of ATR-based range filtering and IBS (Internal Bar Strength) confirmation.
How it works:
A bar is flagged as a breakout when three conditions align simultaneously — the close exceeds the prior bar's high (bull) or undercuts the prior bar's low (bear), the bar's range is at least N× the ATR, and the close quality is confirmed via IBS (top of range for bulls, bottom of range for bears). Bars that are large but fail to break are classified as POSS BULL or POSS BEAR — potential coiling setups worth watching.
Features:
Bar coloring — highlights confirmed breakout bars and large-range non-break bars in distinct colors
MTF Dashboard Table — shows the most recent breakout event (BULL BREAK, BEAR BREAK, POSS BULL, POSS BEAR) across up to 5 user-defined timeframes
Context rows — when the latest event on a timeframe is a POSS BULL/BEAR, the table optionally shows the last confirmed break for directional context
Per-bar detail — each table row displays timestamp (CST), low, high, range (with ATR multiple), midpoint, and IBS value
Fully configurable — ATR length, ATR multiplier, IBS thresholds, colors, table position, font sizes, and per-timeframe toggles
Best used on: Equity index futures (ES, NQ), ETFs, or any liquid instrument where breakout structure and range expansion are meaningful 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.