OPEN-SOURCE SCRIPT
Order Blocks & Breaker Blocks

Order Blocks & Breaker Blocks
Enhance your trading with this advanced indicator that highlights Bullish and Bearish Order Blocks (OBs) and Breaker Blocks on any chart. It is designed to help traders quickly identify key supply and demand zones and potential reversal points with clear visual cues.
Key Features
Automatically highlights Bullish and Bearish OBs.
Detects Breaker Blocks when OB levels are violated, signaling potential trend shifts.
Fully customizable visuals:
Box and Breaker Box transparency
Line transparency, width, and style (Solid, Dashed, Dotted)
Option to calculate OBs using candle body or high/low.
Adjustable number of recent OBs displayed.
Recommended Settings by Timeframe
Timeframe Swing Lookback Show OBs Notes
5 min 10 3 For fast intraday trading and scalping.
15 min 12 3 For intraday trend analysis
1H 15 3 Ideal for intraday support/resistance and breakout detection.
4H 22 3 Captures stronger OBs for swing trades.
Daily 22 3 Highlights major supply and demand zones for trend trading.
Weekly 30 2 Focuses on long-term OBs for strategic analysis.
These values provide a good balance of accuracy and chart clarity across all timeframes.
Why Use This Indicator
Quickly visualize key supply and demand zones.
Identify potential reversals and breakout points.
Improve trade timing and risk management with enhanced visual clarity.
Works across all major timeframes, making it suitable for intraday, swing, and long-term traders.
Enhance your trading with this advanced indicator that highlights Bullish and Bearish Order Blocks (OBs) and Breaker Blocks on any chart. It is designed to help traders quickly identify key supply and demand zones and potential reversal points with clear visual cues.
Key Features
Automatically highlights Bullish and Bearish OBs.
Detects Breaker Blocks when OB levels are violated, signaling potential trend shifts.
Fully customizable visuals:
Box and Breaker Box transparency
Line transparency, width, and style (Solid, Dashed, Dotted)
Option to calculate OBs using candle body or high/low.
Adjustable number of recent OBs displayed.
Recommended Settings by Timeframe
Timeframe Swing Lookback Show OBs Notes
5 min 10 3 For fast intraday trading and scalping.
15 min 12 3 For intraday trend analysis
1H 15 3 Ideal for intraday support/resistance and breakout detection.
4H 22 3 Captures stronger OBs for swing trades.
Daily 22 3 Highlights major supply and demand zones for trend trading.
Weekly 30 2 Focuses on long-term OBs for strategic analysis.
These values provide a good balance of accuracy and chart clarity across all timeframes.
Why Use This Indicator
Quickly visualize key supply and demand zones.
Identify potential reversals and breakout points.
Improve trade timing and risk management with enhanced visual clarity.
Works across all major timeframes, making it suitable for intraday, swing, and long-term traders.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.