OPEN-SOURCE SCRIPT

Order Blocks by @numberxbt

571
Overview
This indicator automatically detects and plots Bullish and Bearish Order Blocks based on SMC and ICT principles. It helps traders identify high probability naked supply and demand zones, tracks their mitigation status, and automatically removes invalidated zones to keep your chart clean.

cuplikan

Key features
  • Automatic detection - Instantly identifies valid bullish and bearish order blocks based on a strict 3-candle displacement pattern.
  • Auto Invalidation - Automatically deletes order blocks if the price closes completely through them.
  • Equilibrium Midlines - Optional 50% midlines drawn through the center of each order block for precise, sniper-like entries.
  • Chart Clutter Control - Configurable limits on the maximum number of unmitigated and mitigated zones displayed.
  • Mitigation Tracking - Monitors price action to track when an order block has been tapped (mitigated).


Settings
  • Show Bull/Bear OB: Toggle the visibility of Bullish (Demand) and Bearish (Supply) Order Blocks.
  • Colors: Customize the background transparency and border colors for both Bullish and Bearish zones.
  • Hide Mitigated: Check these boxes to automatically hide Order Blocks once they have been tapped, keeping your chart focused only on fresh zones.
  • Max Unmitigated / Max Mitigated: Set the maximum number of active and mitigated zones allowed on the chart. Older zones will be deleted once the limit is reached.
  • Show Midline: Toggles the 50% equilibrium line inside the Order Blocks.


How it works
The indicator uses a classic 3-candle sequence to define institutional footprints:
  • Bullish Order Block: Formed by a bearish candle, followed by a bullish candle, followed by a strong bullish continuation. The zone is drawn over the initial bearish candle.
  • Bearish Order Block: Formed by a bullish candle, followed by a bearish candle, followed by a strong bearish continuation. The zone is drawn over the initial bullish candle.


Note: This indicator focuses purely on Order Blocks. Breaker blocks and other complex features have been removed to provide a clean, lightweight, and highly focused trading tool.

Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Trading involves risk, and past performance is not indicative of future results. Always do your own research and manage your risk accordingly.

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.