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.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.