OPEN-SOURCE SCRIPT
Atualizado NWOG/NDOG + EHPDA

🌐 ENGLISH DESCRIPTION
Hybrid NWOG/NDOG + EHPDA – Advanced Gaps & Event Horizon Indicator
(Enhanced with Real-Time Alerts and Info Table)
📊 Overview
This advanced indicator combines automatic detection of weekly gaps (NWOG) and daily gaps (NDOG) with the Event Horizon (EHPDA) concept, now featuring customizable alerts and a real-time info table for a more efficient trading experience. Designed for traders who operate based on institutional price structures, liquidity zones, and SMC/ICT confluences.
✨ Key Features
1. Gap Detection & Visualization
NWOG (New Week Opening Gap): Identifies and visualizes the gap between Friday’s close and Monday’s open.
NDOG (New Day Opening Gap): Detects daily gaps on intraday timeframes.
Enhanced visualization: Semi-transparent boxes, price levels (top, middle, bottom), and lines extended to the current bar.
Customizable labels: Display gap formation date and price levels (optional).
2. Event Horizon (EHPDA)
Automatically calculates the Event Horizon level between two non-overlapping gaps.
Dashed line marking the equilibrium zone between bullish and bearish gaps.
3. Advanced 5pm-6pm Mode
Special option to detect the Sunday-Monday gap using 4H bars.
4. Real-Time Alerts
New gaps (NWOG/NDOG): Immediate notification when a new gap forms.
Gap fill: Alert when price completely fills a gap.
Event Horizon active: Notification when the Event Horizon level is triggered.
5. Info Table
Real-time display: number of active gaps, Event Horizon status, time remaining until weekly/daily close.
Customizable: position, size, and style.
🎨 Customization
Configurable colors for bullish gaps, bearish gaps, and Event Horizon line.
Customizable price labels and date format.
📈 Use Cases
Reversal trading, price targets, liquidity zones, SMC/ICT confluences.
⚙️ Recommended Settings
Timeframes: Daily and intraday (15m, 1H, 4H, etc.).
NWOG: Enable on all timeframes.
NDOG: Enable only on intraday.
Max Gaps: 3-5 for clean charts, 10-15 for historical analysis.
📝 Important Notes
Works best on 24/5 markets (Forex, Crypto).
Gaps automatically close when filled.
Event Horizon only appears with at least 2 non-overlapping gaps.
Hybrid NWOG/NDOG + EHPDA – Advanced Gaps & Event Horizon Indicator
(Enhanced with Real-Time Alerts and Info Table)
📊 Overview
This advanced indicator combines automatic detection of weekly gaps (NWOG) and daily gaps (NDOG) with the Event Horizon (EHPDA) concept, now featuring customizable alerts and a real-time info table for a more efficient trading experience. Designed for traders who operate based on institutional price structures, liquidity zones, and SMC/ICT confluences.
✨ Key Features
1. Gap Detection & Visualization
NWOG (New Week Opening Gap): Identifies and visualizes the gap between Friday’s close and Monday’s open.
NDOG (New Day Opening Gap): Detects daily gaps on intraday timeframes.
Enhanced visualization: Semi-transparent boxes, price levels (top, middle, bottom), and lines extended to the current bar.
Customizable labels: Display gap formation date and price levels (optional).
2. Event Horizon (EHPDA)
Automatically calculates the Event Horizon level between two non-overlapping gaps.
Dashed line marking the equilibrium zone between bullish and bearish gaps.
3. Advanced 5pm-6pm Mode
Special option to detect the Sunday-Monday gap using 4H bars.
4. Real-Time Alerts
New gaps (NWOG/NDOG): Immediate notification when a new gap forms.
Gap fill: Alert when price completely fills a gap.
Event Horizon active: Notification when the Event Horizon level is triggered.
5. Info Table
Real-time display: number of active gaps, Event Horizon status, time remaining until weekly/daily close.
Customizable: position, size, and style.
🎨 Customization
Configurable colors for bullish gaps, bearish gaps, and Event Horizon line.
Customizable price labels and date format.
📈 Use Cases
Reversal trading, price targets, liquidity zones, SMC/ICT confluences.
⚙️ Recommended Settings
Timeframes: Daily and intraday (15m, 1H, 4H, etc.).
NWOG: Enable on all timeframes.
NDOG: Enable only on intraday.
Max Gaps: 3-5 for clean charts, 10-15 for historical analysis.
📝 Important Notes
Works best on 24/5 markets (Forex, Crypto).
Gaps automatically close when filled.
Event Horizon only appears with at least 2 non-overlapping gaps.
Notas de Lançamento
🌐 ENGLISH DESCRIPTIONHybrid NWOG/NDOG + EHPDA – Advanced Gaps & Event Horizon Indicator
(Enhanced with Real-Time Alerts and Info Table)
📊 Overview
This advanced indicator combines automatic detection of weekly gaps (NWOG) and daily gaps (NDOG) with the Event Horizon (EHPDA) concept, now featuring customizable alerts and a real-time info table for a more efficient trading experience. Designed for traders who operate based on institutional price structures, liquidity zones, and SMC/ICT confluences.
✨ Key Features
1. Gap Detection & Visualization
NWOG (New Week Opening Gap): Identifies and visualizes the gap between Friday’s close and Monday’s open.
NDOG (New Day Opening Gap): Detects daily gaps on intraday timeframes.
Enhanced visualization: Semi-transparent boxes, price levels (top, middle, bottom), and lines extended to the current bar.
Customizable labels: Display gap formation date and price levels (optional).
2. Event Horizon (EHPDA)
Automatically calculates the Event Horizon level between two non-overlapping gaps.
Dashed line marking the equilibrium zone between bullish and bearish gaps.
3. Advanced 5pm-6pm Mode
Special option to detect the Sunday-Monday gap using 4H bars.
4. Real-Time Alerts
New gaps (NWOG/NDOG): Immediate notification when a new gap forms.
Gap fill: Alert when price completely fills a gap.
Event Horizon active: Notification when the Event Horizon level is triggered.
5. Info Table
Real-time display: number of active gaps, Event Horizon status, time remaining until weekly/daily close.
Customizable: position, size, and style.
🎨 Customization
Configurable colors for bullish gaps, bearish gaps, and Event Horizon line.
Customizable price labels and date format.
📈 Use Cases
Reversal trading, price targets, liquidity zones, SMC/ICT confluences.
⚙️ Recommended Settings
Timeframes: Daily and intraday (15m, 1H, 4H, etc.).
NWOG: Enable on all timeframes.
NDOG: Enable only on intraday.
Max Gaps: 3-5 for clean charts, 10-15 for historical analysis.
📝 Important Notes
Works best on 24/5 markets (Forex, Crypto).
Gaps automatically close when filled.
Event Horizon only appears with at least 2 non-overlapping gaps.
🏷️ Tags / Etiquetas
#gaps #nwog #ndog #event-horizon #ehpda #smc #ict #smart-money #liquidity #institutional-trading #price-action #support-resistance #alerts #trading-table
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.