OPEN-SOURCE SCRIPT
ICT Opening Range Gap by Laofengtrading

This indicator marks the Opening Range Gap (ORG) based on New York time.
The ORG is calculated from the previous day 16:14 close to the current day 09:30 open. Once the New York 09:30 open occurs, the indicator draws the gap area and three key levels:
ORG High:
The higher price between the previous 16:14 close and the 09:30 open.
ORG Low:
The lower price between the previous 16:14 close and the 09:30 open.
ORG C.E:
The 50% level of the gap, also known as Consequent Encroachment.
Features:
- Uses fixed New York time
- Displays only after the 09:30 open
- Shows only the current day’s ORG
- Automatically hides all ORG levels before 09:30
- Draws the ORG area as a background box
- Marks ORG High, ORG Low, and ORG C.E
- Customizable colors, line widths, and labels
- Uses 1-minute data internally for accurate 16:14 close and 09:30 open detection
This tool is designed for traders who use ICT concepts and opening range gap levels as part of their intraday analysis.
The ORG is calculated from the previous day 16:14 close to the current day 09:30 open. Once the New York 09:30 open occurs, the indicator draws the gap area and three key levels:
ORG High:
The higher price between the previous 16:14 close and the 09:30 open.
ORG Low:
The lower price between the previous 16:14 close and the 09:30 open.
ORG C.E:
The 50% level of the gap, also known as Consequent Encroachment.
Features:
- Uses fixed New York time
- Displays only after the 09:30 open
- Shows only the current day’s ORG
- Automatically hides all ORG levels before 09:30
- Draws the ORG area as a background box
- Marks ORG High, ORG Low, and ORG C.E
- Customizable colors, line widths, and labels
- Uses 1-minute data internally for accurate 16:14 close and 09:30 open detection
This tool is designed for traders who use ICT concepts and opening range gap levels as part of their intraday analysis.
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.