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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。