Skip to main content

Command menu

Jump to a page or search the catalog

ZigZag Indicator on TradingView: Swing Structure Only

ZigZag Indicator on TradingView: Swing Structure Only

November 29, 2026

A zigzag does not predict. It removes everything that is not a turn.

That is a smaller claim than most indicators make, and it is the reason the tool is still useful after the novelty wears off.

The three settings, in plain words

Depth — how many bars on each side a point needs to count as a swing. A larger depth means fewer, bigger swings.

Deviation — the minimum price distance between two swings, measured in ticks. It filters out moves too small to be a turn.

Backstep — how many bars back a stronger candidate can replace a weaker one. It stops the line from locking onto a minor point too early.

Three numbers, and the shape of the line is decided. No hidden logic.

The labels

Every swing point is labelled:

  • HH — higher high.
  • HL — higher low.
  • LH — lower high.
  • LL — lower low.
  • Four labels, and the structure of the market is readable without measuring anything. Higher highs and higher lows is an uptrend. The moment the labels start alternating, the trend is in question.

    Confirmed and live

    The confirmed line is fixed. It does not move after the swing is confirmed.

    The live leg is different: a dotted line from the last confirmed anchor to the current price, which follows the candle while realtime updates arrive. It is provisional, and it can change until the swing is confirmed.

    That distinction matters. A tool that redraws its history is a tool you cannot trust, and a tool that pretends the live leg is confirmed is a tool that lies to you.

    Alerts on confirmed points

    Alerts fire on confirmed points, not on the live leg. That is deliberate: you get told when the structure is real, not when it is still forming.

    What this does not do

    It does not predict the next swing. It does not tell you where price will turn.

    It removes the noise, labels the structure and tells you when a point is confirmed. The live leg is a convenience, not a promise.

    The tools

    ZigZag with depth, deviation and backstep, HH/HL/LH/LL labels, a live leg and confirmed-point alerts:

    TradingView ZigZag Indicator — Swing Highs & Lows, v1.3 | SOFLMARKET

    TradingView ZigZag Indicator — Swing Highs & Lows, v1.3 | SOFLMARKET

    $25.00

    Level strength, for scoring the levels the swings leave behind:

    TradingView Support & Resistance Levels — Strength Score | SOFLMARKET

    TradingView Support & Resistance Levels — Strength Score | SOFLMARKET

    $39.00

    And the free clock, because a swing on the daily and on the hourly are not the same event:

    Free TradingView Session Clock — Sessions & Countdowns | SOFLMARKET

    Free TradingView Session Clock — Sessions & Countdowns | SOFLMARKET

    Free

    A note on risk

    A zigzag describes swings that already happened. It does not predict price and does not promise results. Trading leveraged instruments carries a high risk of loss. This is not financial advice.