Trends/Support and resistance

Prior swing highs and lows

Flat lines drawn from earlier turning points and extended to the right, to show where price may react to old levels.

Support and resistanceBest on 3M, 6M, 1YAlso called swing levels, old highs and lows
Prior swing highs and lows diagramIllustration of the prior swing highs and lows shape. It is a sketch, not real price data.
Illustration of the prior swing highs and lows shape. It is a sketch, not real price data.

What it shows

Each swing high and swing low is a place where price once changed direction. If you extend a flat line from that point, you see whether price later returns to the same level.

Our code draws lines from the most important recent turning points. It skips old levels that price has already traded far through.

How we find it

The same code that draws it on your chart follows these steps, with the same result every time.

  1. Find swing highs and swing lows.
  2. Rank them by how far price moved away after the swing.
  3. Draw a flat line from each of the top ones to the right edge.
  4. Drop a line once price has closed beyond it by more than the margin.

Starting values: Swing size 3 bars each side (daily), 2 (weekly); Levels shown up to 4; Margin 1.0% of price. These are proposed and will be tuned on real price data before launch.

How to read it

  • Red dashed lines come from highs. Teal dashed lines come from lows.
  • A line that price has tested again is more meaningful than one never revisited.
  • Nearby lines can be treated as one zone.

Status labels you may see

LabelWhat it means
Between levelsThe last close is between two lines.
At a levelWithin 1% of a line.
Beyond all levelsAbove the highest or below the lowest line.

What cancels it

A close beyond the level by more than the margin removes it.

What traders check next

  • Which levels price has revisited.
  • Whether levels cluster close together.
  • The age of each level.

Limits

  • Every swing creates a level, so there are many candidates.
  • The ranking is our own choice.
  • A level can matter only for a while.

Try it in forecastviz

  • Open any ticker and choose Support and resistance → Prior swing highs and lows in the left menu.
  • Switch between 3M, 6M, 1Y to see how the picture changes.
  • Compare with Horizontal support and Horizontal resistance on the same chart.

Questions

How are these different from support and resistance?

They are the same idea in a simpler form: a flat line from one earlier turning point, without needing repeated touches.

Which swings matter most?

Our ranking prefers swings that were followed by a large move.

Related trends

Further reading

  • Murphy, Technical Analysis of the Financial Markets
  • Edwards and Magee, Technical Analysis of Stock Trends

Educational only. Not financial advice, and not a price forecast. Charts are drawn by code from past price data, which may be delayed.