OPEN-SOURCE SCRIPT
Cập nhật Always In by Swing Break

Indicator: Always-In by Swing Break
Purpose:
This indicator tracks when the market transitions from one directional phase to another — the moment when it stops doing what it was doing and starts doing something new. It follows an “Always-In” logic inspired by Al Brooks’ price-action framework.
Always-In by Swing Break
Tracks directional shifts based on confirmed swing-high and swing-low breaks using ATR buffers. Highlights trend flips with yellow borders, paints directional bias (green/red), plots a customizable dashed “must-hold” line, and marks breakout failures (FS/FL).
Includes RTH/ETH bar numbering with OB/OS awareness and a live stats panel showing ATR, bar range, and RSI.
How to Use:
Follow the colored borders to stay aligned with the Always-In direction — green for long bias, red for short. A yellow border marks a possible trend flip when price breaks a confirmed swing level by the ATR buffer. Use the dashed flip-line as the “must-hold” level: if price closes back beyond it within the failure window, it signals a potential reversal (Failed short (FS) / Failed long (FL) marker). Watch RTH bar numbers and the RSI panel for context — when bar counts and RSI show overbought or oversold conditions the bar numbers change color, tighten profit targets or wait for a new swing break setup.
Bring the indicator to the front-
On the chart, hover over the indicator’s name in the top-left.
Click the three dots (⋯) menu.
Choose visual order “Move to” → “Bring to front”
Purpose:
This indicator tracks when the market transitions from one directional phase to another — the moment when it stops doing what it was doing and starts doing something new. It follows an “Always-In” logic inspired by Al Brooks’ price-action framework.
Always-In by Swing Break
Tracks directional shifts based on confirmed swing-high and swing-low breaks using ATR buffers. Highlights trend flips with yellow borders, paints directional bias (green/red), plots a customizable dashed “must-hold” line, and marks breakout failures (FS/FL).
Includes RTH/ETH bar numbering with OB/OS awareness and a live stats panel showing ATR, bar range, and RSI.
How to Use:
Follow the colored borders to stay aligned with the Always-In direction — green for long bias, red for short. A yellow border marks a possible trend flip when price breaks a confirmed swing level by the ATR buffer. Use the dashed flip-line as the “must-hold” level: if price closes back beyond it within the failure window, it signals a potential reversal (Failed short (FS) / Failed long (FL) marker). Watch RTH bar numbers and the RSI panel for context — when bar counts and RSI show overbought or oversold conditions the bar numbers change color, tighten profit targets or wait for a new swing break setup.
Bring the indicator to the front-
On the chart, hover over the indicator’s name in the top-left.
Click the three dots (⋯) menu.
Choose visual order “Move to” → “Bring to front”
Phát hành các Ghi chú
update chart imageMã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.