OPEN-SOURCE SCRIPT
IB Break Statistics

IB Break Statistics
Tracks the behavior of the Initial Balance (IB) — the price range formed in the first hour of
the session — across the last N trading days.
Sections:
Break Type — how often the session ends with no break, a single-sided break (high or low only),
or a double break (both sides).
Day of Week — break frequency broken down by weekday, to identify which days tend to trend vs.
range.
Extension after break — of the days that broke, how far price traveled beyond the IB level,
expressed as a multiple of the IB range (e.g. 0.5× IB). Useful for calibrating take-profit
targets.
Retrace after break — on single-break days, how far price pulled back toward the IB after the
break. Bucketed as shallow (≤10%), entry zone (11–25%), deep (26–50%), or back inside IB (>50%).
Useful for calibrating retrace entries and stop placement.
IB Size — the daily IB range expressed as a percentage of the session's mid-price. Bucketed as
narrow (<0.3%), normal (0.3–0.7%), wide (0.7–1.0%), and very wide (>1.0%). Useful for
understanding the typical volatility regime and filtering setups by IB size.
Settings: configure IB window (default 9:30–10:30 NY), lookback period, and tracking end time.
Tracks the behavior of the Initial Balance (IB) — the price range formed in the first hour of
the session — across the last N trading days.
Sections:
Break Type — how often the session ends with no break, a single-sided break (high or low only),
or a double break (both sides).
Day of Week — break frequency broken down by weekday, to identify which days tend to trend vs.
range.
Extension after break — of the days that broke, how far price traveled beyond the IB level,
expressed as a multiple of the IB range (e.g. 0.5× IB). Useful for calibrating take-profit
targets.
Retrace after break — on single-break days, how far price pulled back toward the IB after the
break. Bucketed as shallow (≤10%), entry zone (11–25%), deep (26–50%), or back inside IB (>50%).
Useful for calibrating retrace entries and stop placement.
IB Size — the daily IB range expressed as a percentage of the session's mid-price. Bucketed as
narrow (<0.3%), normal (0.3–0.7%), wide (0.7–1.0%), and very wide (>1.0%). Useful for
understanding the typical volatility regime and filtering setups by IB size.
Settings: configure IB window (default 9:30–10:30 NY), lookback period, and tracking end time.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。