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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。