Clean swing highs and lows with break-of-structure labels.
Swing Structure marks confirmed swing points using a configurable lookback and labels each break of structure, so the prevailing structure is visible at a glance without drawing it by hand.
A swing high is confirmed when a candle's high is the highest of the N candles on either side of it (a swing low mirrors this). Because confirmation requires N candles to the right, a swing is always drawn N bars after it forms. The indicator never repaints a confirmed swing.
A break of structure is printed when a candle closes beyond the most recent confirmed swing in the direction of the move.
| Setting | Default | Notes |
|---|---|---|
| Swing length | 5 | Higher values show only major swings |
| Break confirmation | Close | Close or Wick |
| Show internal structure | Off | Adds a second, faster swing layer |
Swing detection is lagging by design. Structure describes what price has done; it does not predict what it will do next.
Indicators describe price data; they do not predict future prices or guarantee results. Test any tool against your own journal before relying on it.
Market Structure · v2.3
ProInternal and external structure, CHoCH and strong/weak highs and lows.
Public script — free to add to any TradingView chart.
The TradingView publication link will appear here once the script is published.