OPEN-SOURCE SCRIPT
IB Formation Order Box (Padded)

This script is an intraday quantitative tool designed to track institutional order flow during the New York Open (09:30 AM – 10:30 AM EST) by analyzing the chronological formation of the Initial Balance (IB).In auction market theory, the first hour of the New York session represents the period of highest volume and volatility, where institutional buyers and sellers aggressively fight to establish the boundaries of fair value for the day.
How to Read the Bottom-Right BoxAt 10:30 AM EST, the fixed box in the bottom right corner of your chart will immediately lock into one of two primary structural states:
1. 🟢 IB Low First (Bullish Structure)The Price Action: Between 09:30 AM and 10:30 AM EST, the absolute lowest price point occurred before the highest price point. (e.g., the low was made at 09:35 AM and the high at 10:15 AM).
The Market Context: This indicates that aggressive institutional buyers stepped in immediately at the New York open to absorb supply. Because they successfully defended this lower boundary, the IB Low is highly likely to hold as a structural floor for the remainder of the trading day.
2. 🔴 IB High First (Bearish Structure)The Price Action: Between 09:30 AM and 10:30 AM EST, the absolute highest price point occurred before the lowest price point. (e.g., the high was hit at 09:40 AM and the market sold off to make a lower low at 10:25 AM).
The Market Context: This shows that large-scale institutional supply or profit-taking slammed the market right at the opening bell. Because sellers capped the upside early, the IB High acts as a firm structural ceiling that is very difficult for retail traders to break above during the quiet afternoon session.
How to Read the Bottom-Right BoxAt 10:30 AM EST, the fixed box in the bottom right corner of your chart will immediately lock into one of two primary structural states:
1. 🟢 IB Low First (Bullish Structure)The Price Action: Between 09:30 AM and 10:30 AM EST, the absolute lowest price point occurred before the highest price point. (e.g., the low was made at 09:35 AM and the high at 10:15 AM).
The Market Context: This indicates that aggressive institutional buyers stepped in immediately at the New York open to absorb supply. Because they successfully defended this lower boundary, the IB Low is highly likely to hold as a structural floor for the remainder of the trading day.
2. 🔴 IB High First (Bearish Structure)The Price Action: Between 09:30 AM and 10:30 AM EST, the absolute highest price point occurred before the lowest price point. (e.g., the high was hit at 09:40 AM and the market sold off to make a lower low at 10:25 AM).
The Market Context: This shows that large-scale institutional supply or profit-taking slammed the market right at the opening bell. Because sellers capped the upside early, the IB High acts as a firm structural ceiling that is very difficult for retail traders to break above during the quiet afternoon session.
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.