PROTECTED SOURCE SCRIPT

ICT NWOG/NDOG Gaps

Mis à jour
This indicator reveals the new week opening gaps (NWOG) and new day opening gaps (NDOG) as well as the most recent Regular Trading Hour (RTH) Gap. The NWOG is the gap between Friday's closing price and Sunday's opening price. The NDOG is the gap between the opening price and closing price of the previous day. These gaps can be draws on liquidity as well as general reference points of where the market is and has been.

The RTH gap is the difference between the NY Open price at 9:30AM EST and the previous day's closing price during Regular Trading Hours. This gap can also give you an idea of where the market is headed.
Notes de version
  • Update to allow indicator to be used on various instruments.
  • Added user input option to define market open hours to calculate Regular Trading Hours gap.
Notes de version
  • Fix issue with showing midnight candle
  • Works on multiple instruments and timeframes
  • Updated name for easier search
Notes de version
  • Fix issue with RTH not showing during real time data.
Notes de version
  • Added ICT "Event Horizon" line. The Event Horizon is the midpoint between 2 weekly gaps. When price crosses the Event Horizon, it can act as a "point of no return" and be a confirmation of which NWOG price is reaching for.
Notes de version
  • Add option to select how to calculate the Event Horizon.*


* At the time of this indicator publication, there has not been a definitive way to calculate the Event Horizon. The 2 possible options in this indicator allow you to choose between 1) Using the bottom of one NWOG to the top of the next NWOG or 2) Using the consequent encroachment of each NWOG.
Notes de version
  • Fix bug with Event Horizon showing wrong level.
  • Added an alert when price reaches the Event Horizon. (Google how to setup alerts on TradingView).
Notes de version
  • Fixed an issue where candles presented differently on free vs paid accounts.
  • Added option to "Use Daily Timeframe" to calculate gap closing/opening prices.
  • Added additional disclaimer.
Notes de version
  • Update the chart on the indicator page.
Notes de version
There have been several requests to update the style of the gaps to show like ICT's. You can now configure that option by setting the opacity of the gap color to 0% and only using the border. In addition, you can now select whether you want no lines, only the CE, or quadrants in each gap. You can also now configure the event horizon line as desired. Once you've found your perfect style, be sure to "Save as default" to load those settings every time. Finally, the title has been updated to allow users to find it more easily as well as the "short title" which shows under your indicators on the chart.

  • Added a more advanced method of finding RTH gap previous close and open.
  • Added style options for gaps and event horizon.
  • Added an option to show quadrants of gaps.
  • Removed initial (annoying) warning banner.
Notes de version

  • Update dates to show correct date.
  • Allow users to customize NWOG/NDOG text.
  • Allow use on sub 1-minute timeframes.
  • Allow user to choose preferred date format.
  • Minor settings updates.
Bands and Channelseventhorizongapsictndognwog

Script protégé

Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité