Skip to content

Auto trend lines

Auto Trend Lines is an indicator that finds the support and resistance lines in the price action and draws them for you. Where the drawing tools let you mark up structure by hand, this reads the recent swing pivots, fits the strongest lines through them, and extends each one out to the right edge - so the levels the market is actually respecting are on the chart without you placing a single point.

Where: Indicators ▸ Auto Trend LinesPanel: Chart
📷
Screenshot needed
id: indicators-auto-trend-lines

A chart with auto-fitted support and resistance trend lines extending to the right edge

suggested 1280x720

The indicator scans the recent bars for swing pivots - the local highs and lows that stand out from their neighbours - and looks for structure in them two ways. It finds horizontal levels by clustering pivots that stack up near the same price (a level tested several times), and angled trendlines by connecting pivots into a sloped line that price never breaks through across its span (a resistance stays above the highs, a support below the lows). Both kinds are pooled per side, ranked by how many pivots they touch and how recent those touches are, and the strongest few drawn - so a repeatedly-tested flat level shows up rather than being passed over for a sloped line.

It is pure geometry over the bars on screen - no model, no forecast. The lines describe the structure that is already there; they don’t predict the next move.

  1. Open the Indicators menu and add Auto Trend Lines.

    📷
    Screenshot needed
    id: indicators-auto-trend-lines-add

    The Indicators menu with Auto Trend Lines in the overlays list

    suggested 640x480
  2. Read the lines as levels to watch. A solid segment runs through the touch points; a dashed projection carries the line forward to the current edge, where price is most likely to meet it.

  3. Check the touch tag. Each line is labelled R ·N or S ·N - the number is how many pivots it touches. More touches means a level the market has respected more often.

    📷
    Screenshot needed
    id: indicators-auto-trend-lines-touches

    Close-up of a resistance line with its touch-count tag where price approaches it

    suggested 900x540
  4. Tune it from the indicator’s gear icon:

    • Lookback - how many recent bars feed the fit. Shorter reacts to the latest swings; longer favours the bigger, slower structure.
    • Lines / Side - how many lines to keep per side, 1 to 4. Lower keeps only the strongest support and resistance; raise it to surface more secondary levels.
    • Pivot Strength - how many bars on each side a swing must lead to count as a pivot. Higher means fewer, more significant pivots.
ElementMeaning
Teal lineSupport - a floor fitted under the swing lows
Red lineResistance - a cap fitted over the swing highs
Solid segmentRuns through the pivots the line actually touches
Dashed projectionThe line extended forward to the right edge
·N tagHow many pivots the line touches - higher is stronger