OPEN-SOURCE SCRIPT
已更新 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”
版本注释
update chart image开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。