OPEN-SOURCE SCRIPT
Aggiornato

XRS Order Blocks / Breaker Blocks

1 562
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.
Note di rilascio
Updating to fix the preview.
Note di rilascio
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.
Note di rilascio
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.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.