OPEN-SOURCE SCRIPT
IB Multi by Dr-Ram

IB Multi by Dr-Ram
Plots the Initial Balance (IB) of a trading session on three timeframes at once: 1 hour, 15 minutes and 5 minutes. Each IB can be turned on or off separately from the settings.
Credit: This script is based on "Initial Balance Key levels + Expansions" by Jmorgan11 (Joey Morgan), used under the Mozilla Public License 2.0. Thank you Joey for the original work.
WHAT'S NEW IN THIS VERSION
- IB for 1H, 15m and 5m, each with its own on/off switch (original: first hour only)
- Separate expansions switch for each IB, so the chart stays clean
- Labels are tagged (1H / 15m / 5m) so you always know which IB a level belongs to
- Dashboard with one column per active IB
- Converted to Pine Script v6
WHAT IT DRAWS
- IB High and IB Low
- 50% midline
- 25% and 75% quartile lines
- Shaded box over the IB window
- Expansion targets above and below the IB: 0.5x, 1.0x, 1.5x, 2.0x, 2.5x, 3.0x, plus two custom multipliers
SESSIONS
Asian (Tokyo), London, New York, Globex, Shanghai, or Custom. Presets are anchored to their own exchange timezone. For Custom, only the start time is used; the IB length comes from the 1H / 15m / 5m toggles.
DASHBOARD
IB status (Forming / Locked), IB range, ATR, range as % of ATR, current position (inside / above / below IB), distance to breakout, and IB volume. Every row can be hidden.
HOW TO USE
1. Choose the session and turn on the IB timeframes you want.
2. Choose which IBs should also show expansions.
3. Adjust colors, line styles and dashboard in the settings.
NOTES
- Works on intraday charts below 60 minutes only.
- The 15m IB needs a chart timeframe of 15 minutes or lower, and the 5m IB needs 5 minutes or lower.
- TradingView limits drawings to 500 lines/labels, so with several IBs and expansions on, older days disappear sooner. Turn off "Show Historical Levels" or some expansions if needed.
This script is open-source and is for educational and informational purposes only. It is not financial advice.
Plots the Initial Balance (IB) of a trading session on three timeframes at once: 1 hour, 15 minutes and 5 minutes. Each IB can be turned on or off separately from the settings.
Credit: This script is based on "Initial Balance Key levels + Expansions" by Jmorgan11 (Joey Morgan), used under the Mozilla Public License 2.0. Thank you Joey for the original work.
WHAT'S NEW IN THIS VERSION
- IB for 1H, 15m and 5m, each with its own on/off switch (original: first hour only)
- Separate expansions switch for each IB, so the chart stays clean
- Labels are tagged (1H / 15m / 5m) so you always know which IB a level belongs to
- Dashboard with one column per active IB
- Converted to Pine Script v6
WHAT IT DRAWS
- IB High and IB Low
- 50% midline
- 25% and 75% quartile lines
- Shaded box over the IB window
- Expansion targets above and below the IB: 0.5x, 1.0x, 1.5x, 2.0x, 2.5x, 3.0x, plus two custom multipliers
SESSIONS
Asian (Tokyo), London, New York, Globex, Shanghai, or Custom. Presets are anchored to their own exchange timezone. For Custom, only the start time is used; the IB length comes from the 1H / 15m / 5m toggles.
DASHBOARD
IB status (Forming / Locked), IB range, ATR, range as % of ATR, current position (inside / above / below IB), distance to breakout, and IB volume. Every row can be hidden.
HOW TO USE
1. Choose the session and turn on the IB timeframes you want.
2. Choose which IBs should also show expansions.
3. Adjust colors, line styles and dashboard in the settings.
NOTES
- Works on intraday charts below 60 minutes only.
- The 15m IB needs a chart timeframe of 15 minutes or lower, and the 5m IB needs 5 minutes or lower.
- TradingView limits drawings to 500 lines/labels, so with several IBs and expansions on, older days disappear sooner. Turn off "Show Historical Levels" or some expansions if needed.
This script is open-source and is for educational and informational purposes only. It is not financial advice.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.