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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.