PROTECTED SOURCE SCRIPT
Cập nhật NWOG & NDOG Dynamic Gaps

This indicator is designed for Price Action and ICT traders who need to track New Week Opening Gaps (NWOG) and New Day Opening Gaps (NDOG) without cluttering their charts.
Unlike standard gap indicators that leave static boxes behind, this script features Dynamic Mitigation Logic. As price trades into the open gap, the box automatically shrinks in real-time to show only the remaining, unfilled portion of the gap. Once a gap is fully closed (filled to the tick), it is automatically removed from the chart.
Key Features:
- Smart Detection: Automatically identifies gaps at the daily (NDOG) and weekly (NWOG) open.
- Dynamic Shrinking: The gap box updates on every bar. If price wicks into the gap, the box resizes to reflect the new support/resistance level.
- Clean Chart: Gaps are deleted immediately upon full closure.
- Priority Logic: Weekly gaps take precedence over daily gaps to prevent overlapping visuals.
Unlike standard gap indicators that leave static boxes behind, this script features Dynamic Mitigation Logic. As price trades into the open gap, the box automatically shrinks in real-time to show only the remaining, unfilled portion of the gap. Once a gap is fully closed (filled to the tick), it is automatically removed from the chart.
Key Features:
- Smart Detection: Automatically identifies gaps at the daily (NDOG) and weekly (NWOG) open.
- Dynamic Shrinking: The gap box updates on every bar. If price wicks into the gap, the box resizes to reflect the new support/resistance level.
- Clean Chart: Gaps are deleted immediately upon full closure.
- Priority Logic: Weekly gaps take precedence over daily gaps to prevent overlapping visuals.
Phát hành các Ghi chú
-Phát hành các Ghi chú
- Phát hành các Ghi chú
-Phát hành các Ghi chú
-Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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ã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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.