OPEN-SOURCE SCRIPT
Cập nhật ICT Opening Gaps [MK]

The indicator plots levels which can act as magnets to price. The levels are gap areas which are used within the ICT (The Inner Circle Trader) trading system.
The indicator plots 5 areas of interest:
1: Daily Volume Imbalances - Referencing the Daily chart, boxes are calculated from close to open between all candles. Candles which have only 'wicks' between the close and open prices are considered 'volume imbalances. The boxes can then be shown on LTFs to aid in decision making for intraday traders. Imbalances can be limited to a maximum amount shown and mitigated imbalances can be removed from the chart. All colors can be customised.
Volume Imbalance example:
2: NWOG - New Week Opening Gap - Plotted from Friday Close at 1659 to Sunday Opening at 1800 (EST). The current NWOG can be displayed on its own, or previous weeks can also be shown (ICT recommends the previous 4 weeks also). Boxes are plotted with a midline and all colors can be customised.
New Week Opening Gaps example:
3. NDOG - New Day Opening Gaps - Plotted from day close at 1659 (EST) to restart at 1800 (EST). All colors can be customised. These gaps can be very small so line widths of 3+ are recommended if the lines are to be seen on HTFs
New Day Opening Gap example:
4. New Opening Gap - Plotted from close at 1659 to Session open at 0930 (EST). These areas can possibly be closed/filled after opening at some time. The indicator will draw box to the right of price which shows if the Opening Gap is UP or DOWN. The box will change color to show up or down, or text alone can be used instead of the box. All colors can be customised.
New Opening Gap Box example:
5. 0930 Opening Line - Draws a horizontal line from the opening price at 0930 (EST) to the last bar on the chart. This is the level used to calculate the New Opening Gap. All colors can be customised.
0930 Opening Line example:
Phát hành các Ghi chú
chart updatePhát hành các Ghi chú
0930 Opening Gap Box updated to reference 1600 closing time. Function name changed from '0930 Opening Gap Box ' to 'RTH Opening Gap Box'Phát hành các Ghi chú
added style and width options to NWOG midlinesPhát hành các Ghi chú
All box and line styles can be customised.Phát hành các Ghi chú
Default value for previous NWOG changed from 4 to 10Phát hành các Ghi chú
Added option to set different background color for current NWOG.Phát hành các Ghi chú
Added option for RTH session opening. 1600, 1610 or 1614Added price lines and labels for RTH opening to help identify which session opening time the user prefers to use
Timezone settings for all functions
Phát hành các Ghi chú
Option to not display RTH opening gap box before 0930 opening. Custom settingsPhát hành các Ghi chú
Added function to show NDOG historyPhát hành các Ghi chú
Show symbol to ID most recent NDOG. Price label option for H/L of NWOG.Phát hành các Ghi chú
Fix error with 0930 opening line Phát hành các Ghi chú
Updated RTH gap section to allow previous gaps to be displayed.Phát hành các Ghi chú
Added NMOGs Updated RTH section with 25% 75% levels and option for box projection
Phát hành các Ghi chú
added option to show deviations from the RTH gaps. levels shown are 1, 2, 2.5, 3, 4.Phát hành các Ghi chú
Added timezone option 'America/New_York' as default. fixes issue with RTH gap displaying incorrectly when daylight savings change in US.Phát hành các Ghi chú
Added symbol option to identify current opening gaps.Added NDOG midline.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.