OPEN-SOURCE SCRIPT
Telah dikemas kini DXY Opening Zones - Fixed

Full Description:
Overview:
This indicator automates the identification of DXY (Dollar Index) opening zones, a cornerstone of the Funded Trader Academy's "Dixie Open" strategy. It marks the critical gap between market close and open, which acts as a magnetic attraction level for price action throughout the trading day.
Key Features:
✅ Automatic Gap Detection: Identifies opening gaps between market close (6:00 PM EST) and open (7:45 PM EST Sunday, 7:45 PM Mon-Thu)
✅ Smart Zone Expansion: Automatically expands zones when gaps are smaller than 20 pips to include prior candle highs/lows for better trading ranges
✅ Session Highlighting: Visual overlays for London (3 AM - 12 PM EST) and New York (8 AM - 5 PM EST) sessions
✅ Phantom Candle Filter: Ignores glitch/phantom candles smaller than 2 pips to prevent false zones
✅ Time-Based Zone Extension: Zones automatically extend to 5 PM EST (US market close) for full-day relevance
✅ 15-Minute Chart Optimization: Specifically designed for the 15-minute timeframe where the strategy performs best
✅ DXY-Only Protection: Built-in safeguards ensure the indicator only works on Dollar Index symbols
Trading Strategy Context:
The DXY Opening Level strategy capitalizes on the market's tendency to return to opening gaps, offering approximately 70-75% win rate when traded correctly. Best entries occur during London session (after 2:30 AM EST) when volume increases.
Ideal For:
Forex traders using DXY correlation strategies
Mean reversion and gap trading enthusiasts
Traders seeking high-probability setups with defined risk
Those following the Funded Trader Academy methodology
Settings Explained:
Zone Color: Customize the visual appearance of zones
Expand Zone Threshold: Adjust when zones should expand (default 20 pips)
Phantom Filter: Set minimum candle size to consider valid (default 2 pips)
Session Display: Toggle London/NY session backgrounds
Debug Mode: View detailed gap measurements and timing information
Important Notes:
Must be used on 15-minute DXY/Dollar Index charts
Zones mark attraction levels, not direct entry points
Always wait for valid entry signals (engulfing, pin bar, 3-bar reversal)
Trade correlated forex pairs, not DXY directly
Best results during London session (2:30 AM - 12 PM EST)
Risk Disclaimer:
This indicator identifies potential trading zones based on historical patterns. Always use proper risk management and never risk more than you can afford to lose. Past performance does not guarantee future results.
Overview:
This indicator automates the identification of DXY (Dollar Index) opening zones, a cornerstone of the Funded Trader Academy's "Dixie Open" strategy. It marks the critical gap between market close and open, which acts as a magnetic attraction level for price action throughout the trading day.
Key Features:
✅ Automatic Gap Detection: Identifies opening gaps between market close (6:00 PM EST) and open (7:45 PM EST Sunday, 7:45 PM Mon-Thu)
✅ Smart Zone Expansion: Automatically expands zones when gaps are smaller than 20 pips to include prior candle highs/lows for better trading ranges
✅ Session Highlighting: Visual overlays for London (3 AM - 12 PM EST) and New York (8 AM - 5 PM EST) sessions
✅ Phantom Candle Filter: Ignores glitch/phantom candles smaller than 2 pips to prevent false zones
✅ Time-Based Zone Extension: Zones automatically extend to 5 PM EST (US market close) for full-day relevance
✅ 15-Minute Chart Optimization: Specifically designed for the 15-minute timeframe where the strategy performs best
✅ DXY-Only Protection: Built-in safeguards ensure the indicator only works on Dollar Index symbols
Trading Strategy Context:
The DXY Opening Level strategy capitalizes on the market's tendency to return to opening gaps, offering approximately 70-75% win rate when traded correctly. Best entries occur during London session (after 2:30 AM EST) when volume increases.
Ideal For:
Forex traders using DXY correlation strategies
Mean reversion and gap trading enthusiasts
Traders seeking high-probability setups with defined risk
Those following the Funded Trader Academy methodology
Settings Explained:
Zone Color: Customize the visual appearance of zones
Expand Zone Threshold: Adjust when zones should expand (default 20 pips)
Phantom Filter: Set minimum candle size to consider valid (default 2 pips)
Session Display: Toggle London/NY session backgrounds
Debug Mode: View detailed gap measurements and timing information
Important Notes:
Must be used on 15-minute DXY/Dollar Index charts
Zones mark attraction levels, not direct entry points
Always wait for valid entry signals (engulfing, pin bar, 3-bar reversal)
Trade correlated forex pairs, not DXY directly
Best results during London session (2:30 AM - 12 PM EST)
Risk Disclaimer:
This indicator identifies potential trading zones based on historical patterns. Always use proper risk management and never risk more than you can afford to lose. Past performance does not guarantee future results.
Nota Keluaran
📊 OverviewThis indicator automatically identifies and marks DXY (Dollar Index) opening gaps for high-probability attraction trades. Based on professional trading methodologies, it helps traders capitalize on the market's tendency to return to significant opening levels.
🎯 Key Features
Automatic Gap Detection: Identifies opening gaps between market sessions (Friday close to Sunday open, daily closes to next day opens)
Phantom Candle Filter: Intelligently filters out glitch/phantom candles that can distort analysis
Dynamic Zone Expansion: Automatically expands zones when gaps are small (<20 pips) to include full candle ranges
Session Highlighting: Visual markers for London and New York trading sessions
Extended Zone Duration: Zones extend to 5 PM EST (market close) for full-day visibility
⚙️ Settings
Phantom Filter Threshold: Ignore candles smaller than X pips (default: 2.0)
Zone Expansion Threshold: Expand zones if gap is less than X pips (default: 20.0)
Visual Customization: Adjustable zone colors and session highlights
Debug Mode: Optional detailed information display
📈 Trading Strategy
Best used for:
Gap attraction trades during London session (2:30 AM - 5:00 AM EST)
Mean reversion setups when price extends from opening levels
Multi-timeframe analysis (optimized for 15-minute charts)
Correlation trading with major USD pairs
⚠️ Important Notes
Designed specifically for DXY/Dollar Index on 15-minute timeframe
Automatically detects and validates symbol compatibility
Filters market noise by ignoring phantom/glitch candles
Updates in v2
Enhanced phantom candle detection algorithm
Improved gap calculation using only valid price data
Fixed multi-line syntax for PineScript v6 compatibility
Added intelligent candle validation for accurate zone placement
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.