OPEN-SOURCE SCRIPT
Order Blocks (SMC/ICT)

Order Blocks (SMC/ICT) — TradingATH
Precision. Intent. Structure.
This refined tool automatically detects and displays Order Blocks (OBs) with clean, institutional clarity—mapping the exact zones where displacement originated and where price is most likely to rebalance or react. Built for SMC/ICT Traders, it presents bullish and bearish OBs with disciplined visuals, mitigation logic, and efficient performance on any timeframe.
What You’ll See
Features
Perfect For
Recommended Settings
In Short
Institutional logic. Clean execution. Professional clarity.
Order Blocks (SMC/ICT) — TradingATH presents structurally sound zones with precise mitigation handling and alerting—crafted for traders who demand both analytical accuracy and visual refinement.
Created by: TradingATH
Precision. Intent. Structure.
This refined tool automatically detects and displays Order Blocks (OBs) with clean, institutional clarity—mapping the exact zones where displacement originated and where price is most likely to rebalance or react. Built for SMC/ICT Traders, it presents bullish and bearish OBs with disciplined visuals, mitigation logic, and efficient performance on any timeframe.
What You’ll See
- Bullish Order Blocks in balanced green shading with a mid-line, borders, and a compact label.
- Bearish Order Blocks in refined red tones, equally annotated and visually consistent.
- Controlled Extension of zones for a chosen number of bars—or dynamic extension until mitigation.
- Configurable Labels with selectable position (Top/Bottom, Left/Right) and custom label font color per side.
- Mid-Line (Average) through each OB for precise reference and execution alignment.
Features
- Volume Pivot Logic: OBs are derived from a volume pivot length, focusing on zones that matter where displacement had participation.
- Mitigation Methods: Validate via Wick or Close, adapting to different liquidity conditions and your SMC playbook.
- ATR Size Filter: Enforce minimum/maximum size (×ATR) to remove insignificant zones and retain only the highest-quality blocks.
- Extend-Until-Mitigated: Keep active zones projected into future bars until price mitigates—ensuring they remain actionable.
- Clean Plotting: Size-safe arrays, time-anchored boxes/lines, and efficient updates for smooth operation in intraday and swing contexts.
- Alert Suite:
- OB Formed: Bullish/Bearish OB creation.
- OB Mitigated: Zone filled/invalidated.
- Price Entered OB: Live notification when price re-enters the most recent OB.
Perfect For
- ICT/SMC Traders mapping institutional zones with precise mitigation behavior.
- Intraday Traders who need real-time OB formation and entry alerts without chart clutter.
- Swing Traders filtering only valid, well-sized OBs using ATR-based constraints.
- Analysts & Educators requiring a reliable, visually consistent tool for teaching structure and mitigation.
Recommended Settings
- Volume Pivot Length: 5–14 (balance sensitivity vs. selectivity).
- Mitigation: Wick for responsiveness; Close for stricter confirmation.
- OB Length (bars): 10–50 for controlled reach; enable Extend until mitigation for live tracking.
- ATR Filter: Min 0.25×, Max 3× to exclude noise while preserving meaningful blocks.
- Labels: Position Bottom-Right (default), adjust label font color for readability on your theme.
In Short
Institutional logic. Clean execution. Professional clarity.
Order Blocks (SMC/ICT) — TradingATH presents structurally sound zones with precise mitigation handling and alerting—crafted for traders who demand both analytical accuracy and visual refinement.
Created by: TradingATH
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。