OPEN-SOURCE SCRIPT
Cập nhật EOB Area - Enhanced Order Block Theory

What is this tool?
The EOB Area indicator identifies "Extreme Body Break" (EOB) setups—a particularly strong variation of the classic Engulfing pattern that signals an immediate shift in momentum. Unlike a standard engulfing pattern, an EOB requires the body of the current candle to close beyond the wick (extreme high/low) of the previous candle.
In addition to the signal, the tool automatically draws Support & Resistance Zones based on the broken candle structure. These zones are now fully dynamic and adjustable to fit your trading style (e.g., focusing only on the wick or the entire body).
How does the strategy work?
An EOB (Extreme Body Break) occurs when the market reverses with high volume and conviction:
📈 Bullish EOB: A green candle closes with its Body above the High of the previous red candle.
📉 Bearish EOB: A red candle closes with its Body below the Low of the previous green candle.
This behavior signals that buyers (or sellers) have taken full control, overcoming even the most extreme price levels of the previous period.
Key Features & Settings
1. Zone Display Mode (New!)
You can now control exactly how the Order Block / Zone is drawn based on your strategy:
Entire Candle: Marks the full range (High to Low) of the previous candle. Best for conservative stop placements.
Body + Wick (Default): Marks the area from the Wick to the Body.
Bullish: Previous High to Close.
Bearish: Previous Close to Low.
Wick Only: Marks only the wick area. Ideal for precise "sniper" entries on re-tests.
2. Violation Filter (Auto-Cleanup)
To keep your chart clean, the indicator features a "Violation" logic (Hide Violated EOB Zones).
If enabled: Once price breaks through the opposite side of a drawn zone (invalidating it), the box is automatically deleted from the chart. You only see zones that are still fresh and respected.
3. Integrated Alerts
The indicator is fully integrated with TradingView's alert system. When creating an alert, you can specifically choose:
Only Bullish Signals
Only Bearish Signals
All Signals (Bull & Bear)
How to use this in trading
Reversals: Look for EOB signals at key higher-timeframe Support/Resistance levels.
Trend Continuation: An EOB forming in the direction of the trend after a pullback is a high-probability continuation signal.
Re-Tests: The boxes drawn by the indicator often act as magnets. Price frequently returns to "test" these zones before continuing, offering excellent entry opportunities.
Disclaimer:
This tool is for educational purposes and technical analysis only. Past performance does not guarantee future results. Always use proper risk management.
The EOB Area indicator identifies "Extreme Body Break" (EOB) setups—a particularly strong variation of the classic Engulfing pattern that signals an immediate shift in momentum. Unlike a standard engulfing pattern, an EOB requires the body of the current candle to close beyond the wick (extreme high/low) of the previous candle.
In addition to the signal, the tool automatically draws Support & Resistance Zones based on the broken candle structure. These zones are now fully dynamic and adjustable to fit your trading style (e.g., focusing only on the wick or the entire body).
How does the strategy work?
An EOB (Extreme Body Break) occurs when the market reverses with high volume and conviction:
📈 Bullish EOB: A green candle closes with its Body above the High of the previous red candle.
📉 Bearish EOB: A red candle closes with its Body below the Low of the previous green candle.
This behavior signals that buyers (or sellers) have taken full control, overcoming even the most extreme price levels of the previous period.
Key Features & Settings
1. Zone Display Mode (New!)
You can now control exactly how the Order Block / Zone is drawn based on your strategy:
Entire Candle: Marks the full range (High to Low) of the previous candle. Best for conservative stop placements.
Body + Wick (Default): Marks the area from the Wick to the Body.
Bullish: Previous High to Close.
Bearish: Previous Close to Low.
Wick Only: Marks only the wick area. Ideal for precise "sniper" entries on re-tests.
2. Violation Filter (Auto-Cleanup)
To keep your chart clean, the indicator features a "Violation" logic (Hide Violated EOB Zones).
If enabled: Once price breaks through the opposite side of a drawn zone (invalidating it), the box is automatically deleted from the chart. You only see zones that are still fresh and respected.
3. Integrated Alerts
The indicator is fully integrated with TradingView's alert system. When creating an alert, you can specifically choose:
Only Bullish Signals
Only Bearish Signals
All Signals (Bull & Bear)
How to use this in trading
Reversals: Look for EOB signals at key higher-timeframe Support/Resistance levels.
Trend Continuation: An EOB forming in the direction of the trend after a pullback is a high-probability continuation signal.
Re-Tests: The boxes drawn by the indicator often act as magnets. Price frequently returns to "test" these zones before continuing, offering excellent entry opportunities.
Disclaimer:
This tool is for educational purposes and technical analysis only. Past performance does not guarantee future results. Always use proper risk management.
Phát hành các Ghi chú
Fixed Display ProblemsMã 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.