PROTECTED SOURCE SCRIPT
已更新 NWOG & Dynamic Event Horizon°

The ICT concept of New Week Opening Gaps (NWOG) is simply an imbalance that manifests at each Week Opening time. This gap in price is formed by the Close on Friday at 5PM EST and the open of Sunday at 6PM EST.
According to ICT's studies, this gap in price holds a lot of significance when it comes to price action, acting as a magnet or a point of reference during the week (and following weeks).
The Event Horizon (EH) is simply the midpoint between two of these NWOGs. The EH can be very useful to determine where price is drawn towards from a liquidity perspective. If price reaches this level it is probable that it will continue to the next NWOG, as explained by ICT himself.
In my own studies I have noticed that price also tends to respect and use the Optimal Trade Entry (OTE) levels drawn from both NWOGs in question. OTE levels are nothing but fibonacci 0.79 – 0.705 – 0.68 levels.
I decided to put all of these into an indicator that dynamically selects the most relevant NWOG Dealing Range and plots their EH and OTE levels automatically.
Available Alerts:
– Cross Below Event Horizon
– Cross Above Event Horizon
– New NWOG Range Established
Important Remarks:
– Note that although these work on all timeframes, the lower in resolution one goes, the less gaps will be available due to data availability.
– This indicator works on charts that have the NWOG already present in chart (i.e. no crypto assets, unless one looks at CME crypto futures such as BTC1! and ETH1!).
– The dollar index's NWOGs have a slightly different timestamp, however this has been taken care of and will allow to be plotted ONLY for the TVC:DXY ticker.
TrandingView struggles to display the indicator correctly for the default view, check out its accurate appearance here:
https://www.tradingview.com/x/sKHFOcS0/
According to ICT's studies, this gap in price holds a lot of significance when it comes to price action, acting as a magnet or a point of reference during the week (and following weeks).
The Event Horizon (EH) is simply the midpoint between two of these NWOGs. The EH can be very useful to determine where price is drawn towards from a liquidity perspective. If price reaches this level it is probable that it will continue to the next NWOG, as explained by ICT himself.
In my own studies I have noticed that price also tends to respect and use the Optimal Trade Entry (OTE) levels drawn from both NWOGs in question. OTE levels are nothing but fibonacci 0.79 – 0.705 – 0.68 levels.
I decided to put all of these into an indicator that dynamically selects the most relevant NWOG Dealing Range and plots their EH and OTE levels automatically.
Available Alerts:
– Cross Below Event Horizon
– Cross Above Event Horizon
– New NWOG Range Established
Important Remarks:
– Note that although these work on all timeframes, the lower in resolution one goes, the less gaps will be available due to data availability.
– This indicator works on charts that have the NWOG already present in chart (i.e. no crypto assets, unless one looks at CME crypto futures such as BTC1! and ETH1!).
– The dollar index's NWOGs have a slightly different timestamp, however this has been taken care of and will allow to be plotted ONLY for the TVC:DXY ticker.
TrandingView struggles to display the indicator correctly for the default view, check out its accurate appearance here:
https://www.tradingview.com/x/sKHFOcS0/
版本注释
Bug Fix: removed redundant code版本注释
Bug fix: alerts were not triggering, issue resolved受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
homo faber fortunæ suæ
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
homo faber fortunæ suæ
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。