OPEN-SOURCE SCRIPT
The Other Side | 2m STATIC

Frankfurt IB for London Open - GER40 & UK100
What this script does
This tool builds a precise pre-London “Initial Balance” (IB) for European index trading. It measures the **Frankfurt pre-London window** — the 60 minutes immediately **before** the London cash open — and plots:
- the **High** and **Low** of that window, and
- the **Midline (0.5)** of that range
These levels are extended into the London session so traders can execute a structured London-open playbook on **GER40** (also works on **UK100** and similar European indices)
Why this matters
Liquidity typically increases around the London open. By treating the Frankfurt pre-London window as an **Initial Balance**, the script provides an objective opening framework: continuation through a clean break and hold, or a failed break leading to mean-reversion. The plotted IB and its 0.5 line standardize entries, invalidation, and management
[b]How it works (calculation logic)
1. At the user-defined **London Open** time, the script looks back **60 minutes** (configurable) to define the **Frankfurt window**.
2. It computes the **range High/Low** of that window and the **Midline (0.5)**.
3. It draws/extends those levels forward into the London session for trade decision-making.
The script uses time and OHLC from the chart’s exchange timezone. It does not use future data and does not repaint past values; once the window closes, the IB levels are fixed for that day
Recommended timeframe
Designed for **2-minute charts** for entries and confirmations. Higher timeframes can be used for context, but the triggers below are defined on 2-minute bars
Entry playbooks (three variants)
1. **Break & Hold without mid retest**
- Condition: Two consecutive **2-minute closes** outside the Frankfurt IB (above the High for longs or below the Low for shorts), **without** any prior retest of the **0.5** midline after London open.
- Rationale: Strong continuation through the boundary signals momentum; absence of a midline rebalancing means confirmation must be stricter (two closes)
1. **Break & Hold after a mid retest**
- Condition: A **single 2-minute close** outside the IB boundary **after** price has **retested the 0.5 midline** post-open.
- Rationale: The midline retest suggests the range has rebalanced; therefore, fewer confirmations are required (one close suffices)
1. **Failed Break Reversal (raid & reject)**
- Condition: Price **probes** beyond an IB boundary but **fails to hold** (no 2-minute close maintained beyond the boundary), then prints a **clear rejection/confirmation** back inside the range **before** reaching the **0.5** midline.
- Execution note: The management guideline here is conservative — if price subsequently tags the **0.5** midline, shift risk to break-even according to the playbook
Risk management heuristics
- **Invalidation** typically sits just beyond the opposite side of the confirming 2-minute structure.
- On **Variant 3** (reversal), consider moving to **break-even** upon touch of the **0.5** midline, as this aligns with the mean-reversion objective.
- Avoid chasing late breaks far from the IB boundary; the framework is built for opening structure, not extended moves
Examples:
1. **Break & Hold without mid retest**

2. **Break & Hold after a mid retest**


Scope & originality
While it uses classic session/range concepts, the script packages a **specific European opening routine** into a reproducible execution framework: a fixed pre-London IB, a midline-based rebalancing rule, and **three explicit 2-minute confirmation variants**. This codifies a niche London-open methodology for **GER40/UK100** that is not available in built-ins and aims to add practical value in live execution.
Limitations
- This tool does **not** generate signals from indicators like RSI/EMA; it purely structures **time-based opening ranges** and **rule-based confirmations** at London open.
- Works best on liquid European index feeds around the open; thin or off-hours data can distort the IB.
Disclaimer
For educational purposes only. Not financial advice. Past performance does not guarantee future results. Always manage risk
What this script does
This tool builds a precise pre-London “Initial Balance” (IB) for European index trading. It measures the **Frankfurt pre-London window** — the 60 minutes immediately **before** the London cash open — and plots:
- the **High** and **Low** of that window, and
- the **Midline (0.5)** of that range
These levels are extended into the London session so traders can execute a structured London-open playbook on **GER40** (also works on **UK100** and similar European indices)
Why this matters
Liquidity typically increases around the London open. By treating the Frankfurt pre-London window as an **Initial Balance**, the script provides an objective opening framework: continuation through a clean break and hold, or a failed break leading to mean-reversion. The plotted IB and its 0.5 line standardize entries, invalidation, and management
[b]How it works (calculation logic)
1. At the user-defined **London Open** time, the script looks back **60 minutes** (configurable) to define the **Frankfurt window**.
2. It computes the **range High/Low** of that window and the **Midline (0.5)**.
3. It draws/extends those levels forward into the London session for trade decision-making.
The script uses time and OHLC from the chart’s exchange timezone. It does not use future data and does not repaint past values; once the window closes, the IB levels are fixed for that day
Recommended timeframe
Designed for **2-minute charts** for entries and confirmations. Higher timeframes can be used for context, but the triggers below are defined on 2-minute bars
Entry playbooks (three variants)
1. **Break & Hold without mid retest**
- Condition: Two consecutive **2-minute closes** outside the Frankfurt IB (above the High for longs or below the Low for shorts), **without** any prior retest of the **0.5** midline after London open.
- Rationale: Strong continuation through the boundary signals momentum; absence of a midline rebalancing means confirmation must be stricter (two closes)
1. **Break & Hold after a mid retest**
- Condition: A **single 2-minute close** outside the IB boundary **after** price has **retested the 0.5 midline** post-open.
- Rationale: The midline retest suggests the range has rebalanced; therefore, fewer confirmations are required (one close suffices)
1. **Failed Break Reversal (raid & reject)**
- Condition: Price **probes** beyond an IB boundary but **fails to hold** (no 2-minute close maintained beyond the boundary), then prints a **clear rejection/confirmation** back inside the range **before** reaching the **0.5** midline.
- Execution note: The management guideline here is conservative — if price subsequently tags the **0.5** midline, shift risk to break-even according to the playbook
Risk management heuristics
- **Invalidation** typically sits just beyond the opposite side of the confirming 2-minute structure.
- On **Variant 3** (reversal), consider moving to **break-even** upon touch of the **0.5** midline, as this aligns with the mean-reversion objective.
- Avoid chasing late breaks far from the IB boundary; the framework is built for opening structure, not extended moves
Examples:
1. **Break & Hold without mid retest**
2. **Break & Hold after a mid retest**
Scope & originality
While it uses classic session/range concepts, the script packages a **specific European opening routine** into a reproducible execution framework: a fixed pre-London IB, a midline-based rebalancing rule, and **three explicit 2-minute confirmation variants**. This codifies a niche London-open methodology for **GER40/UK100** that is not available in built-ins and aims to add practical value in live execution.
Limitations
- This tool does **not** generate signals from indicators like RSI/EMA; it purely structures **time-based opening ranges** and **rule-based confirmations** at London open.
- Works best on liquid European index feeds around the open; thin or off-hours data can distort the IB.
Disclaimer
For educational purposes only. Not financial advice. Past performance does not guarantee future results. Always manage risk
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.