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.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。