ICT Opening Gaps [MK]

malk1903 Updated   

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:
Release Notes:
chart update
Release Notes:
0930 Opening Gap Box updated to reference 1600 closing time. Function name changed from '0930 Opening Gap Box ' to 'RTH Opening Gap Box'
Release Notes:
added style and width options to NWOG midlines
Release Notes:
All box and line styles can be customised.
Release Notes:
Default value for previous NWOG changed from 4 to 10
Release Notes:
Added option to set different background color for current NWOG.
Release Notes:
Added option for RTH session opening. 1600, 1610 or 1614
Added price lines and labels for RTH opening to help identify which session opening time the user prefers to use
Timezone settings for all functions
Release Notes:
Option to not display RTH opening gap box before 0930 opening. Custom settings
Release Notes:
Added function to show NDOG history
Release Notes:
Show symbol to ID most recent NDOG. Price label option for H/L of NWOG.
Release Notes:
Fix error with 0930 opening line
Release Notes:
Updated RTH gap section to allow previous gaps to be displayed.
Release Notes:
Added NMOGs
Updated RTH section with 25% 75% levels and option for box projection
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?