Simple Initial Balance

Simple Initial Balance
A clean Initial Balance tool for intraday traders. It draws the Initial Balance and the reference levels most traders pair with it, marks the first break of each side, and keeps the chart readable while doing it.
WHAT IT SHOWS
The Initial Balance (IB) is the high and low of the first part of the regular session, one hour by default.
On by default:
IB high, low and midpoint, with the IB period lightly shaded
Extensions above and below, at 0.5 and 1.0 times the IB range (editable)
Opening range (first 5 minutes), drawn across the IB period
Previous day high, low and close
Session VWAP
Triggers and a compact dashboard
Off by default, under "Extra tools": fair value gaps, order blocks, break of structure and market structure shift, equal highs and lows, and VWAP deviation bands. Turn on only what you trade.
WHAT MAKES IT DIFFERENT
Clean by design. Only the current session's levels are kept. Every line starts at the session open and stops a few bars past the latest bar, so all levels are the same length.
Labels you can read. Each line ends in a label with its full name and price. Levels that sit close together share one label, so labels do not overlap.
Previous-day levels that match your chart. They are measured from the chart's own bars. "Regular session" uses only the bars between the session open and close, which keeps the overnight session out of futures levels. "All bars on the chart" uses the whole prior trading day as displayed.
A stricter failed-break rule. A single close back over the line does not count. Price must close back inside the IB by a set depth for a set number of bars in a row.
Every extra tool is capped, so no tool can flood the chart.
TRIGGERS
Triggers are evaluated on bar close and fire at most once per side per session.
IB BREAK: the first close outside the IB. By default an upside break requires price above session VWAP and a downside break requires price below it.
FAILED: after a break, price closes back inside the IB by at least 25% of the IB range for 2 consecutive bars. Both numbers are settings.
HOW TO USE
Set the session. The defaults are 09:30 to 16:00 New York time with a 60-minute IB, which suits US stocks and index futures. For other markets, change the timezone and session times.
Let the IB form. During the first hour the dashboard shows "Building". When the IB completes, the levels, labels and extensions appear.
Read the range. The dashboard shows the IB range and how it compares with the average of the last 20 sessions. A narrow IB leaves more room to extend; a wide IB has often done much of the day's work already.
Watch the edges. An IB BREAK tag marks the first close outside the range. Extensions give reference distances beyond it, measured in IB ranges.
Watch for a return. A FAILED tag marks a break that has clearly come back inside. The midpoint and the opposite side of the IB are the usual reference points from there.
Use the context levels. Previous-day high, low and close and session VWAP show where the IB sits relative to yesterday and to today's average price.
Add extra tools only if you use them. Each one is off by default to keep the chart clean.
DASHBOARD
IB high, IB low, IB range with its comparison to the 20-session average, where price is relative to the IB, the latest trigger, VWAP with whether price is above or below it, and the previous day's range.
ALERTS
Initial Balance complete. Trigger: break up, break down, failed break up, failed break down. Any trigger. Any cross above the IB high or below the IB low. Bullish and bearish BOS. Bullish and bearish MSS. Fair value gap formed (requires that tool to be on).
EXTRA TOOLS: HOW THEY ARE CALCULATED
Fair value gaps: a three-bar gap where the current low is above the high two bars back, or the current high is below the low two bars back. A gap is removed, or greyed, once price closes into it.
Order blocks: the last opposite-colored candle before price closes beyond the highest high or lowest low of the lookback. Removed when price closes through it.
Structure: swing points use pivots, so they confirm a set number of bars after the swing. A close beyond an unbroken swing in the current direction is a BOS. A close beyond one against the current direction is an MSS. Each swing can be broken once.
Equal highs and lows: two consecutive swing points within a small percentage of each other.
NOTES
Built for intraday charts. The chart timeframe must be shorter than the IB period.
Previous-day levels need one completed session of chart history.
Triggers fire on bar close and do not change afterwards. IB levels are fixed once the IB completes.
This script shows what price did relative to these levels. It does not predict price, the triggers have not been tested for profitability, and nothing here is financial advice.
A clean Initial Balance tool for intraday traders. It draws the Initial Balance and the reference levels most traders pair with it, marks the first break of each side, and keeps the chart readable while doing it.
WHAT IT SHOWS
The Initial Balance (IB) is the high and low of the first part of the regular session, one hour by default.
On by default:
IB high, low and midpoint, with the IB period lightly shaded
Extensions above and below, at 0.5 and 1.0 times the IB range (editable)
Opening range (first 5 minutes), drawn across the IB period
Previous day high, low and close
Session VWAP
Triggers and a compact dashboard
Off by default, under "Extra tools": fair value gaps, order blocks, break of structure and market structure shift, equal highs and lows, and VWAP deviation bands. Turn on only what you trade.
WHAT MAKES IT DIFFERENT
Clean by design. Only the current session's levels are kept. Every line starts at the session open and stops a few bars past the latest bar, so all levels are the same length.
Labels you can read. Each line ends in a label with its full name and price. Levels that sit close together share one label, so labels do not overlap.
Previous-day levels that match your chart. They are measured from the chart's own bars. "Regular session" uses only the bars between the session open and close, which keeps the overnight session out of futures levels. "All bars on the chart" uses the whole prior trading day as displayed.
A stricter failed-break rule. A single close back over the line does not count. Price must close back inside the IB by a set depth for a set number of bars in a row.
Every extra tool is capped, so no tool can flood the chart.
TRIGGERS
Triggers are evaluated on bar close and fire at most once per side per session.
IB BREAK: the first close outside the IB. By default an upside break requires price above session VWAP and a downside break requires price below it.
FAILED: after a break, price closes back inside the IB by at least 25% of the IB range for 2 consecutive bars. Both numbers are settings.
HOW TO USE
Set the session. The defaults are 09:30 to 16:00 New York time with a 60-minute IB, which suits US stocks and index futures. For other markets, change the timezone and session times.
Let the IB form. During the first hour the dashboard shows "Building". When the IB completes, the levels, labels and extensions appear.
Read the range. The dashboard shows the IB range and how it compares with the average of the last 20 sessions. A narrow IB leaves more room to extend; a wide IB has often done much of the day's work already.
Watch the edges. An IB BREAK tag marks the first close outside the range. Extensions give reference distances beyond it, measured in IB ranges.
Watch for a return. A FAILED tag marks a break that has clearly come back inside. The midpoint and the opposite side of the IB are the usual reference points from there.
Use the context levels. Previous-day high, low and close and session VWAP show where the IB sits relative to yesterday and to today's average price.
Add extra tools only if you use them. Each one is off by default to keep the chart clean.
DASHBOARD
IB high, IB low, IB range with its comparison to the 20-session average, where price is relative to the IB, the latest trigger, VWAP with whether price is above or below it, and the previous day's range.
ALERTS
Initial Balance complete. Trigger: break up, break down, failed break up, failed break down. Any trigger. Any cross above the IB high or below the IB low. Bullish and bearish BOS. Bullish and bearish MSS. Fair value gap formed (requires that tool to be on).
EXTRA TOOLS: HOW THEY ARE CALCULATED
Fair value gaps: a three-bar gap where the current low is above the high two bars back, or the current high is below the low two bars back. A gap is removed, or greyed, once price closes into it.
Order blocks: the last opposite-colored candle before price closes beyond the highest high or lowest low of the lookback. Removed when price closes through it.
Structure: swing points use pivots, so they confirm a set number of bars after the swing. A close beyond an unbroken swing in the current direction is a BOS. A close beyond one against the current direction is an MSS. Each swing can be broken once.
Equal highs and lows: two consecutive swing points within a small percentage of each other.
NOTES
Built for intraday charts. The chart timeframe must be shorter than the IB period.
Previous-day levels need one completed session of chart history.
Triggers fire on bar close and do not change afterwards. IB levels are fixed once the IB completes.
This script shows what price did relative to these levels. It does not predict price, the triggers have not been tested for profitability, and nothing here is financial advice.
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。