INVITE-ONLY SCRIPT

Order Blocks Finder + Supply and Demand Zones (2027 Update)

34
BulletProof Order Blocks Finder [2027 Update] — Major OB + Supply and Demand Zones

This indicator automatically detects major structural highs and lows, tracks Break of Structure (BoS) events, and plots the resulting Order Blocks as refined Supply and Demand zones directly on your chart — built for traders who use institutional order-flow concepts (Smart Money / ICT-style analysis) without the manual work of marking zones by hand.

How it works

The script continuously tracks swing highs and lows, filtering out noise to isolate only the major structural points that actually matter for trend context. When price breaks one of these levels (a Bullish or Bearish BoS), the candle responsible for that break is used to anchor a new Order Block. From there, an internal refinement algorithm analyzes the candle's range relative to ATR(55) to tighten the zone to a more realistic proximal/distal boundary, rather than just using the full high-to-low range of the candle.

Key Features

  • Automatic Major High/Low Detection — filters minor swings to surface only structurally significant highs and lows.
  • Break of Structure (BoS) Detection — flags bullish and bearish structure breaks in real time.
  • Order Block Refinement Engine — an ATR-based error-correction algorithm narrows each Order Block to a more precise entry zone, with two modes:
  • Defensive — tighter, more conservative zones
  • Aggressive — wider zones that capture more of the original candle range
  • Live Supply & Demand Zones — zones are drawn and dynamically extended until price mitigates them, with a midline (50%) reference.
  • Optional Major High/Low Plots — toggle visibility of the underlying structural levels.
  • Optional Last Support/Resistance Lines — extend the most recent confirmed support/resistance to the right of the chart.
  • Fully Configurable Alerts — get notified the moment price taps into a fresh Demand or Supply zone, with customizable message text, alert frequency, time zone display, and optional extended info (OHLC + zone boundaries) in the alert payload.
  • Custom Zone Colors — set your own colors for Demand and Supply boxes to match your chart theme.


Suggested Use

Use the Order Blocks and Supply/Demand zones as potential areas of interest for reactions, reversals, or continuation entries — ideally in confluence with higher-timeframe bias, other confirmation tools, and sound risk management. The Defensive/Aggressive refine modes let you tune how tight or generous the zones are depending on your trading style (scalping vs. swing).

Settings Overview

  • Order Block Refine: On/Off — toggle the ATR-based refinement algorithm
  • Refine Type: Defensive/Aggressive — controls how tight the refined zone is
  • Show High/Low Level: plot major structural highs/lows
  • Show Last Support/Resistance: plot the latest confirmed S/R line
  • Zone Colors: customize Demand/Supply box colors
  • Alerts: enable/disable, name, message text, frequency, and time zone


⚠️ Disclaimer: This script is provided for educational and informational purposes only. It does not constitute financial advice, and past performance or visualized zones are not guarantees of future results. Always backtest and use proper risk management before trading live.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.