OPEN-SOURCE SCRIPT
Samir's IB

# Initial Balance Pro – Dual Session Breakout
Initial Balance Pro is a comprehensive Initial Balance (IB) trading tool designed for traders who rely on breakout strategies. It automatically identifies and plots the Initial Balance for two customizable trading sessions, providing a complete framework for planning entries, exits, and risk management.
## Features
* 📊 Automatically plots Initial Balance High, Low, and Midpoint.
* 📦 Highlights two Initial Balance sessions:
* Session 1: 10:30 AM – 11:15 AM (ET)
* Session 2: 6:30 PM – 7:00 PM (ET)
* 📈 Draws extension levels from ±0.1 to ±1.0 times the Initial Balance range.
* 🚀 Detects bullish and bearish breakouts once the Initial Balance is complete.
* 🎯 Automatically calculates and displays Entry, Take Profit, and Stop Loss levels.
* ⚙️ Fully customizable take-profit multiples, risk settings, colors, and visibility options.
* 🔔 Built-in TradingView alerts for breakout entries, profit targets, and stop-loss events.
* 🧹 Automatically removes completed trade levels once a trade reaches its target or stop, keeping charts clean and uncluttered.
## How It Works
1. The indicator records the Initial Balance during each selected session.
2. After the session closes, the Initial Balance High, Low, Midpoint, and extension levels are plotted.
3. When price breaks above the Initial Balance High or below the Initial Balance Low, the indicator projects an entry, stop loss, and take profit based on the configured Initial Balance range multiplier.
4. Once the trade is completed, all related drawings are automatically removed to prepare for the next trading opportunity.
## Best For
* Futures traders
* Index traders
* Intraday breakout strategies
* Initial Balance and Market Profile traders
* Traders seeking objective entry and risk-management levels
## Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice and should not be used as the sole basis for trading decisions. Always perform your own analysis and practice proper risk management.
Initial Balance Pro is a comprehensive Initial Balance (IB) trading tool designed for traders who rely on breakout strategies. It automatically identifies and plots the Initial Balance for two customizable trading sessions, providing a complete framework for planning entries, exits, and risk management.
## Features
* 📊 Automatically plots Initial Balance High, Low, and Midpoint.
* 📦 Highlights two Initial Balance sessions:
* Session 1: 10:30 AM – 11:15 AM (ET)
* Session 2: 6:30 PM – 7:00 PM (ET)
* 📈 Draws extension levels from ±0.1 to ±1.0 times the Initial Balance range.
* 🚀 Detects bullish and bearish breakouts once the Initial Balance is complete.
* 🎯 Automatically calculates and displays Entry, Take Profit, and Stop Loss levels.
* ⚙️ Fully customizable take-profit multiples, risk settings, colors, and visibility options.
* 🔔 Built-in TradingView alerts for breakout entries, profit targets, and stop-loss events.
* 🧹 Automatically removes completed trade levels once a trade reaches its target or stop, keeping charts clean and uncluttered.
## How It Works
1. The indicator records the Initial Balance during each selected session.
2. After the session closes, the Initial Balance High, Low, Midpoint, and extension levels are plotted.
3. When price breaks above the Initial Balance High or below the Initial Balance Low, the indicator projects an entry, stop loss, and take profit based on the configured Initial Balance range multiplier.
4. Once the trade is completed, all related drawings are automatically removed to prepare for the next trading opportunity.
## Best For
* Futures traders
* Index traders
* Intraday breakout strategies
* Initial Balance and Market Profile traders
* Traders seeking objective entry and risk-management levels
## Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice and should not be used as the sole basis for trading decisions. Always perform your own analysis and practice proper risk management.
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.