rage_harder_ Updated   
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.
Release Notes:
  • 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.
Release Notes:
  • Fix issue with showing midnight candle
  • Works on multiple instruments and timeframes
  • Updated name for easier search
Release Notes:
  • Fix issue with RTH not showing during real time data.
Release Notes:
  • 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.
Release Notes:
  • 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.
Release Notes:
  • Fix bug with Event Horizon showing wrong level.
  • Added an alert when price reaches the Event Horizon. (Google how to setup alerts on TradingView).
Release Notes:
  • 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.
Release Notes:
  • Update the chart on the indicator page.
Release Notes:
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.
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.

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?