OPEN-SOURCE SCRIPT
Relevant Order Blocks Detector (BOS + Displacement)

This indicator is designed to identify only the most relevant Order Blocks, filtering out market noise and low-quality zones.
It detects Order Blocks based on real Break of Structure (BOS) combined with strong displacement, ensuring that each marked zone represents institutional activity rather than random price movement.
A Bullish Order Block is formed when the last bearish candle before a strong bullish impulse breaks the previous structure high.
A Bearish Order Block is formed when the last bullish candle before a strong bearish impulse breaks the previous structure low.
Only Order Blocks that meet strict strength and structure conditions are displayed, making the indicator ideal for scalping, intraday trading, and CRT-based strategies.
Key Features:
Break of Structure (BOS) confirmation
Strong impulse (displacement) filter
Noise reduction (high-quality OBs only)
Clean and minimal chart visualization
Suitable for 5m, 15m, and 1H timeframes
This tool is best used in confluence with liquidity sweeps, FVGs, and session timing rather than as a standalone signal.
It detects Order Blocks based on real Break of Structure (BOS) combined with strong displacement, ensuring that each marked zone represents institutional activity rather than random price movement.
A Bullish Order Block is formed when the last bearish candle before a strong bullish impulse breaks the previous structure high.
A Bearish Order Block is formed when the last bullish candle before a strong bearish impulse breaks the previous structure low.
Only Order Blocks that meet strict strength and structure conditions are displayed, making the indicator ideal for scalping, intraday trading, and CRT-based strategies.
Key Features:
Break of Structure (BOS) confirmation
Strong impulse (displacement) filter
Noise reduction (high-quality OBs only)
Clean and minimal chart visualization
Suitable for 5m, 15m, and 1H timeframes
This tool is best used in confluence with liquidity sweeps, FVGs, and session timing rather than as a standalone signal.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.