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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.