Weekly Initial BalanceThis indicator marks the Weekly Initial Balance — the price range established during the first two trading days of the week — and projects extension levels for the remainder of the week.
The idea behind it
Monday sets the opening range for the week. Tuesday may extend that range — it could produce a false break, a range extension, a reversal, or an inside day. In a large majority of weeks, by the time Monday and Tuesday have traded, the high and low extremes are already in place for the rest of the week. One of these extremes will tend to hold, while the other may get broken.
The default window (Sunday 18:00 – Tuesday 16:00 New York time) captures exactly this: the full Monday session plus Tuesday's contribution. Once the IB window closes, the remaining days of the week tend to trade in relation to these established levels.
What makes this different
Most Initial Balance indicators focus on the first 30 or 60 minutes of a single session. This indicator applies the IB concept to the weekly timeframe — capturing the Mon-Tue range that statistically defines the week's extremes. The configurable window, range extension multipliers, and clean label handling (current week only) make it a practical tool rather than a theoretical overlay.
How it works
- A shaded box marks the IB range (high and low) as it forms during the configured window
- After the window closes, the IB high, low, and 50% midpoint extend as horizontal reference levels
- Configurable range extensions (default 0.5x and 1.0x of the IB range) project above and below as potential targets
- Price labels display the exact level at each line (current week only — historical weeks show clean lines without clutter)
How to use it
- **Which side holds?** After the IB window closes, one extreme tends to hold for the week while the other gets broken — watch for which side price tests and rejects first
- **Range extensions as targets:** When the IB high or low breaks, the 0.5x and 1.0x extensions provide measured-move targets
- **Inside weeks:** If price stays within the IB range through Friday, the 50% midpoint often acts as a magnet
- **Volatility read:** A wide Monday–Tuesday range suggests the week's extremes may already be set; a narrow range suggests expansion is still ahead
- **Alerts:** Built-in alerts fire when price breaks the IB high or low after the window closes
Settings
- Fully configurable start/end day, hour, and minute (New York time)
- Adjustable number of historical weeks to display
- Configurable extension multipliers (not limited to 0.5x and 1.0x)
- Toggle individual levels, labels, and extensions on/off
- Works on any instrument with sufficient intraweek data (futures, forex, crypto)
Recommended timeframes: 30min and 1H charts for best visual clarity. Intraday only — the indicator requires sufficient chart history to display the configured number of weeks.
Chỉ báo Pine Script®






















