OPEN-SOURCE SCRIPT
Cập nhật Xetra Auctions Breakout [Box Strategy]

This indicator implements the institutional Xetra Opening & Intraday Auction strategy, widely used by professional traders on the DAX (GER40) and European equities. It automatically identifies the High/Low ranges of the critical auction periods on the Frankfurt Stock Exchange and extends these levels throughout the day to serve as key support/resistance zones.
Strategy Concept: How it Works
The German Xetra exchange has two critical liquidity events each day where institutional volume is highest:
Opening Auction (08:50 – 09:00 CET): This pre-market period sets the tone for the day. The range formed here often acts as a definitive barrier. A breakout above this box suggests bullish institutional flow, while a break below suggests bearish sentiment.
Intraday Auction (13:00 – 13:02 CET): A mid-day liquidity injection that often triggers volatility before the US market open.
This indicator visualizes these ranges as boxes. The logic is simple: Institutions leave their footprints during auctions. We trade the reaction to these footprints.
How to Trade (Best Practices)
1. The Breakout Setup (Trend Following)
Long Entry: Wait for a 5-minute or 15-minute candle to close above the Blue Box (Opening Auction).
Short Entry: Wait for a candle close below the Blue Box.
Stop Loss: Place your stop at the opposite side of the box or at the Mid-Line (50% of the box) for tighter risk management.
2. The Reversal Setup (Range Bound)
If the price approaches the Orange Box (Intraday Auction) extended lines and shows rejection (wicks), it often acts as strong support/resistance for a reversal trade back toward the daily average.
3. "Ghost" Levels (Previous Day)
The indicator displays yesterday's auction levels as semi-transparent "ghost" boxes.
Use Case: Yesterday’s auction High is often today’s key Support. Watch for price reactions at these historical levels.
Disclaimer
This tool is for educational purposes. Trading indices involves risk. Always backtest strategies before using real capital.
Strategy Concept: How it Works
The German Xetra exchange has two critical liquidity events each day where institutional volume is highest:
Opening Auction (08:50 – 09:00 CET): This pre-market period sets the tone for the day. The range formed here often acts as a definitive barrier. A breakout above this box suggests bullish institutional flow, while a break below suggests bearish sentiment.
Intraday Auction (13:00 – 13:02 CET): A mid-day liquidity injection that often triggers volatility before the US market open.
This indicator visualizes these ranges as boxes. The logic is simple: Institutions leave their footprints during auctions. We trade the reaction to these footprints.
How to Trade (Best Practices)
1. The Breakout Setup (Trend Following)
Long Entry: Wait for a 5-minute or 15-minute candle to close above the Blue Box (Opening Auction).
Short Entry: Wait for a candle close below the Blue Box.
Stop Loss: Place your stop at the opposite side of the box or at the Mid-Line (50% of the box) for tighter risk management.
2. The Reversal Setup (Range Bound)
If the price approaches the Orange Box (Intraday Auction) extended lines and shows rejection (wicks), it often acts as strong support/resistance for a reversal trade back toward the daily average.
3. "Ghost" Levels (Previous Day)
The indicator displays yesterday's auction levels as semi-transparent "ghost" boxes.
Use Case: Yesterday’s auction High is often today’s key Support. Watch for price reactions at these historical levels.
Disclaimer
This tool is for educational purposes. Trading indices involves risk. Always backtest strategies before using real capital.
Phát hành các Ghi chú
This indicator implements the institutional Xetra Opening & Intraday Auction strategy, widely used by professional traders on the DAX (GER40) and European equities. It automatically identifies the High/Low ranges of the critical auction periods on the Frankfurt Stock Exchange and extends these levels throughout the day to serve as key support/resistance zones.Strategy Concept: How it Works
The German Xetra exchange has two critical liquidity events each day where institutional volume is highest:
Opening Auction (08:50 – 09:00 CET): This pre-market period sets the tone for the day. The range formed here often acts as a definitive barrier. A breakout above this box suggests bullish institutional flow, while a break below suggests bearish sentiment.
Intraday Auction (13:00 – 13:02 CET): A mid-day liquidity injection that often triggers volatility before the US market open.
This indicator visualizes these ranges as boxes. The logic is simple: Institutions leave their footprints during auctions. We trade the reaction to these footprints.
How to Trade (Best Practices)
1. The Breakout Setup (Trend Following)
Long Entry: Wait for a 5-minute or 15-minute candle to close above the Blue Box (Opening Auction).
Short Entry: Wait for a candle close below the Blue Box.
Stop Loss: Place your stop at the opposite side of the box or at the Mid-Line (50% of the box) for tighter risk management.
2. The Reversal Setup (Range Bound)
If the price approaches the Orange Box (Intraday Auction) extended lines and shows rejection (wicks), it often acts as strong support/resistance for a reversal trade back toward the daily average.
3. "Ghost" Levels (Previous Day)
The indicator displays yesterday's auction levels as semi-transparent "ghost" boxes.
Use Case: Yesterday’s auction High is often today’s key Support. Watch for price reactions at these historical levels.
Disclaimer
This tool is for educational purposes. Trading indices involves risk. Always backtest strategies before using real capital.
Phát hành các Ghi chú
Fixed critical issues preventing the indicator from working correctly on non-DAX tickers.**Changes:**
- Added configurable timezone input (default: Europe/Berlin)
- Removed dependency on session.regular for 24/7 market compatibility
- Fixed boxes drawing outside valid price ranges
- Improved time parsing to handle multiple formats
**Usage:** Works on any ticker now. Adjust timezone in settings if needed (e.g., America/New_York for US stocks, exchange.timezone for auto-detect).
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.