OPEN-SOURCE SCRIPT
Ezra's GB Time Windows Marker - w/ ICT Macros

A timing-and-structure indicator built to highlight custom Goldbach-style intrahour windows such as 7–17 and 29–41, so traders can study how price behaves inside those windows and whether they align with broader session structure.
This is not a buy/sell signal tool. It is a research and observation indicator designed to help you see when important time windows occur, what price did inside them, and how those windows interact with sweeps, pivots, and ICT macro context.
Features:
*Two fully customizable GB-style time windows
*Range box display for each window
*Optional forward extension of completed boxes
*Optional labels and midline
*Structural qualification filters:
*Sweep only
*Pivot only
*Either
*Both
*ICT macro integration:
*Macro background shading
*Optional macro overlap filtering
*Window statistics:
*Range
*Net move
Or both
Auto units for:
*points
*pips
*Optional directional stat coloring
Use cases
*Study whether windows like 17–29 and 29–41 tend to expand, reverse, or distribute
*Compare movement across sessions and assets
*Observe how time windows interact with key price levels, liquidity sweeps, and macro timing
Bottom line
This indicator helps answer a simple question:
What did price actually do during the time window I am studying?
This is not a buy/sell signal tool. It is a research and observation indicator designed to help you see when important time windows occur, what price did inside them, and how those windows interact with sweeps, pivots, and ICT macro context.
Features:
*Two fully customizable GB-style time windows
*Range box display for each window
*Optional forward extension of completed boxes
*Optional labels and midline
*Structural qualification filters:
*Sweep only
*Pivot only
*Either
*Both
*ICT macro integration:
*Macro background shading
*Optional macro overlap filtering
*Window statistics:
*Range
*Net move
Or both
Auto units for:
*points
*pips
*Optional directional stat coloring
Use cases
*Study whether windows like 17–29 and 29–41 tend to expand, reverse, or distribute
*Compare movement across sessions and assets
*Observe how time windows interact with key price levels, liquidity sweeps, and macro timing
Bottom line
This indicator helps answer a simple question:
What did price actually do during the time window I am studying?
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.