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 อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน