Supply and Demand Zones with Market Structure: Free TradingView Indicator

Reviewed: 15 August 2026

Free TradingView indicator: Open Supply and Demand Zones with Market Structure on TradingView

Supply and Demand Zones with Market Structure is a free TradingView overlay that maps confirmed swing-based supply and demand zones together with HH, HL, LH, LL labels, a zig-zag and Break of Structure markers. It is designed to keep the two layers of price action visible without telling you when to buy or sell.

The key trade-off is deliberate: confirmed pivots do not move later, but they appear only after the selected number of bars has passed. That delay is what makes the displayed swing structure stable.

Use the indicator free on TradingView

How swings are confirmed

A swing high must be higher than the chosen number of bars on both its left and right. A swing low uses the mirrored rule. If the Swing High/Low Length is N, the pivot becomes visible N bars after the pivot bar because the right-side bars need to exist first.

Once confirmed, the swing label, zone and zig-zag segment are fixed to that historical bar. This avoids the common confusion of a pivot appearing and then moving. The cost is a known confirmation delay, which is normal for symmetric pivot logic.

How zones are created and retired

When a swing high confirms, the script draws a supply zone from the swing high to the top of that candle’s body. When a swing low confirms, it draws a demand zone from the swing low to the bottom of the body.

An optional ATR floor sets a minimum zone thickness so very small candle bodies remain visible on different symbols and timeframes. Zones extend right until they are mitigated: a supply zone is broken on a close above it and a demand zone on a close below it. Broken zones can be removed or greyed out.

To keep the chart readable and stay within drawing limits, the indicator retains only the newest chosen number of zones on each side.

Market structure layer

LabelMeaning
HHConfirmed swing high above the previous swing high.
HLConfirmed swing low above the previous swing low.
LHConfirmed swing high below the previous swing high.
LLConfirmed swing low below the previous swing low.
BOSFirst close beyond the latest confirmed swing reference level.

The zig-zag connects consecutive confirmed swings, giving a stripped-back view of the path price has already taken. A bullish BOS is marked once when price closes above the latest confirmed swing high; a bearish BOS is the mirror below the latest confirmed swing low.

A useful way to read the two layers together

  1. Start with the most recent confirmed structure labels; do not assume a new candle has changed the structure before it closes.
  2. Identify active zones near current price rather than treating every old box as equally relevant.
  3. Check whether a demand zone aligns with bullish structure or a supply zone aligns with bearish structure.
  4. Define what would invalidate the chart idea before price enters the zone.
  5. Use alerts for a new zone or BOS as a prompt to review, not as an instruction to place an order.

Inputs and alerts

You can change swing length, show or hide the zig-zag, labels and BOS markers, choose how many zones remain, set the ATR thickness floor, choose what happens when a zone breaks and control zone extension and colours. The dashboard can show the current swing length, active-zone count and direction of the last BOS.

Alert conditions are available for bullish BOS, bearish BOS, new supply zones and new demand zones. If you use them with an external workflow, trigger on confirmed bars and keep a separate validation layer outside TradingView. Read Pine Script alert frequencies before wiring alerts to any execution process.

Limitations to understand first

  • Every zone and structure label has the fixed confirmation delay set by swing length.
  • Zone mitigation is evaluated on bar close, so a forming bar can still change state before close.
  • A supply or demand zone marks a historical area; it does not predict that price will react there again.
  • Settings that work on one instrument or timeframe may not translate to another.

If you want a more feature-rich SMC checklist, scanner and risk-size estimate, use the Smart Money Confluence Panel.

Open Supply and Demand Zones with Market Structure on TradingView — free

Source and disclosure

The indicator is published as an open-source TradingView script. This article is for analysis and education and is not financial advice.

Leave a Reply

Your email address will not be published. Required fields are marked *

[contact-form-7 id=”f245613″ title=”Newsletter”]