OPEN-SOURCE SCRIPT
Initial Balance

Initial Balance is a clean session tool that tracks and visualizes the opening range for your chosen time window.
This indicator:
- Captures Initial Balance High and Low during the selected IB session
- Draws optional 1.5x and 2.0x range extensions above and below the IB
- Uses a session-locked fill: the fill width stops expanding when the IB window ends
- Keeps line levels and styling responsive so visibility settings update live
Why this is useful:
- Quickly frame the day around the opening range
- Spot expansion and potential continuation zones with 1.5x and 2.0x extensions
- Keep charts cleaner with a fill that does not continue extending after IB is complete
Inputs:
- IB Time Range
- Timezone
- Show/hide toggles for IB High, IB Low, 1.5x extension, 2.0x extension, and fill
- Per-line color and width controls
Notes:
- Designed as a visual reference tool, not a standalone strategy
- Best used with your existing market structure, trend, and risk rules
Not financial advice.
This indicator:
- Captures Initial Balance High and Low during the selected IB session
- Draws optional 1.5x and 2.0x range extensions above and below the IB
- Uses a session-locked fill: the fill width stops expanding when the IB window ends
- Keeps line levels and styling responsive so visibility settings update live
Why this is useful:
- Quickly frame the day around the opening range
- Spot expansion and potential continuation zones with 1.5x and 2.0x extensions
- Keep charts cleaner with a fill that does not continue extending after IB is complete
Inputs:
- IB Time Range
- Timezone
- Show/hide toggles for IB High, IB Low, 1.5x extension, 2.0x extension, and fill
- Per-line color and width controls
Notes:
- Designed as a visual reference tool, not a standalone strategy
- Best used with your existing market structure, trend, and risk rules
Not financial advice.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน