Skip to the content

Help / Indicator reference

Auto Trendlines

Trend lines through swings that still hold, found automatically.

Drawn on the price chart.

How it’s worked out#

Trend lines through recent confirmed swing highs and lows

How to read it#

A line touched several times is respected by many; a close through it reads as a break of that trend.

Note:These are the common readings, not trading advice: no indicator is right every time, and most work better with others and with the trend.

Settings#

  • Swing length: 10 (2 to 50)
  • Break margin (× ATR): 0.25 (0 to 2)
  • Closes to confirm a break: 2 (1 to 5)
  • Touches needed: 2 (2 to 6)
  • Lines shown each side: 6 (1 to 20)

What it draws#

    Add it to a chart#

    On the chart, open Indicators and search for “Auto Trendlines”. Its settings open with a double-click on its line or its name in the legend, where the ? button leads back here. Alerts can watch any of its lines.

    Open the chart · Every indicator

    TradingView and Pine Script are trademarks of TradingView, Inc. OpenTapefolio is not affiliated with or endorsed by TradingView.