OPEN-SOURCE SCRIPT
Обновлено Initial Balance | TradeSymmetry

If you trade across multiple asset classes on lower timeframes, you know the frustration: every time you switch from US Equities to Metals or Forex, you have to manually adjust your Initial Balance (IB) timings. Furthermore, standard Multi-Timeframe (MTF) indicators often break, clutter your chart with overlapping text, or randomly delete your Higher Timeframe levels due to Pine Script memory limits.
We engineered the Initial Balance [Smart Auto-Detect] to solve these exact problems. This is a robust, institutional-grade structural tool designed to map the Initial Balance and True Open levels automatically, regardless of what chart you are looking at.
🔥 Core Features & Engineering:
🤖 Smart Asset Auto-Detection
Stop changing your settings every time you change your chart. The built-in detection engine reads your ticker symbol and automatically applies the correct New York (EST/EDT) Initial Balance window:
US Equities / Indices (ES, NQ, SPY, etc.) ➡️ 09:30 - 10:30 EST
Metals & Bonds (GC, SI, ZN, etc.) ➡️ 08:20 - 09:20 EST
Energy (CL, NG, etc.) ➡️ 09:00 - 10:00 EST
Forex & FX Futures (EURUSD, 6E, etc.) ➡️ 08:00 - 09:00 EST (NY Session)
Note: Includes a sleek info panel in the bottom right so you always know which session is active. Manual overrides are also available.
⏱️ Absolute Time Anchoring
A common flaw in Pine Script is that drawn lines will shift horizontally when you switch timeframes (e.g., from 1m to 15m). This script anchors every box, line, and label to exact absolute UNIX timestamps. Your levels stay permanently locked to the exact same pixel, irrespective of the timeframe you are viewing.
🧠 Priority Memory Manager (GC Protection)
TradingView enforces a strict 500-line limit per script. When standard scripts hit this limit, they blindly delete your oldest lines—often ruining your long-term charts. We built a custom Garbage Collection (GC) pruner that constantly monitors line count. If the chart gets too heavy, it safely deletes only the oldest historical days, permanently protecting your current setups.
📊 Included Levels:
We engineered the Initial Balance [Smart Auto-Detect] to solve these exact problems. This is a robust, institutional-grade structural tool designed to map the Initial Balance and True Open levels automatically, regardless of what chart you are looking at.
🔥 Core Features & Engineering:
🤖 Smart Asset Auto-Detection
Stop changing your settings every time you change your chart. The built-in detection engine reads your ticker symbol and automatically applies the correct New York (EST/EDT) Initial Balance window:
US Equities / Indices (ES, NQ, SPY, etc.) ➡️ 09:30 - 10:30 EST
Metals & Bonds (GC, SI, ZN, etc.) ➡️ 08:20 - 09:20 EST
Energy (CL, NG, etc.) ➡️ 09:00 - 10:00 EST
Forex & FX Futures (EURUSD, 6E, etc.) ➡️ 08:00 - 09:00 EST (NY Session)
Note: Includes a sleek info panel in the bottom right so you always know which session is active. Manual overrides are also available.
⏱️ Absolute Time Anchoring
A common flaw in Pine Script is that drawn lines will shift horizontally when you switch timeframes (e.g., from 1m to 15m). This script anchors every box, line, and label to exact absolute UNIX timestamps. Your levels stay permanently locked to the exact same pixel, irrespective of the timeframe you are viewing.
🧠 Priority Memory Manager (GC Protection)
TradingView enforces a strict 500-line limit per script. When standard scripts hit this limit, they blindly delete your oldest lines—often ruining your long-term charts. We built a custom Garbage Collection (GC) pruner that constantly monitors line count. If the chart gets too heavy, it safely deletes only the oldest historical days, permanently protecting your current setups.
📊 Included Levels:
- Initial Balance High & Low (IBH / IBL)
- Intermediate Midpoint (50% / IBM)
- Standard Extensions (IBH+Δ, IBL-Δ)
- Double Extensions (IBH+2Δ, IBL-2Δ)
- Fractional Extensions (IBM+Δ/2, IBM-Δ/2)
Информация о релизе
Fix anchoring to 1 minute in intraday timeframesСкрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.