OPEN-SOURCE SCRIPT
Diupdate XRS Order Blocks / Breaker Blocks

XRS Order Blocks / Breaker Blocks is a market-structure tool designed to identify potential bullish and bearish order blocks, track invalidation, and convert broken zones into breaker blocks.
The script uses swing structure to detect order block zones after price breaks a prior swing high or swing low. It includes both a filtered engine and a raw engine, with optional overlap matching to mark stronger dual-engine zones.
Features include:
• Bullish and bearish order block detection
• Breaker block tracking after invalidation
• Dual-engine matching for overlapping zones
• Optional merging of confirmed zones
• ATR-based filtering to reduce oversized zones
• Body or wick-based zone boundaries
• Multiple invalidation modes
• First tap / reaction tracking
• Optional historical broken zones
• Optional 50% consequent encroachment line
• Custom zone colors, fills, and styling
• Alerts for new bullish/bearish order blocks
• Alerts when price enters bullish/bearish order blocks
This indicator is useful for traders who use market structure, order blocks, breaker blocks, liquidity sweeps, failed reactions, and auction-market context. It can help map potential reaction zones, invalidated supply/demand areas, and areas where price may retest prior institutional structure.
The indicator does not provide automatic buy or sell signals. It is designed as a discretionary charting and confluence tool.
Disclaimer: This script is for educational and informational purposes only and does not constitute financial advice. Trading involves risk. Use at your own discretion.
The script uses swing structure to detect order block zones after price breaks a prior swing high or swing low. It includes both a filtered engine and a raw engine, with optional overlap matching to mark stronger dual-engine zones.
Features include:
• Bullish and bearish order block detection
• Breaker block tracking after invalidation
• Dual-engine matching for overlapping zones
• Optional merging of confirmed zones
• ATR-based filtering to reduce oversized zones
• Body or wick-based zone boundaries
• Multiple invalidation modes
• First tap / reaction tracking
• Optional historical broken zones
• Optional 50% consequent encroachment line
• Custom zone colors, fills, and styling
• Alerts for new bullish/bearish order blocks
• Alerts when price enters bullish/bearish order blocks
This indicator is useful for traders who use market structure, order blocks, breaker blocks, liquidity sweeps, failed reactions, and auction-market context. It can help map potential reaction zones, invalidated supply/demand areas, and areas where price may retest prior institutional structure.
The indicator does not provide automatic buy or sell signals. It is designed as a discretionary charting and confluence tool.
Disclaimer: This script is for educational and informational purposes only and does not constitute financial advice. Trading involves risk. Use at your own discretion.
Catatan Rilis
Updating to fix the preview.Catatan Rilis
Updated the way the order blocks are detected to avoid the potential for a ghost order block to be created, in rare instances an order block that was not attached to any actual candles would appear. This has been resolved.Catatan Rilis
Updated the filters to remove oversized order blocks or order blocks / breaker blocks that have been traded inside for too many candles to still produce a meaningful reaction.Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.