All Indicators
FREE

Auto Trendlines

Significance-scored automatic trendlines with breakout alerts. Draws the lines you would draw — instantly.

Add to TradingView
Get Free Access
Works on TradingView
Get Access
Overview

What It Does

Every experienced trader draws trendlines. The problem? It's manual, subjective, and you miss lines when you're not looking. One trader's key trendline is another trader's afterthought. And when you switch timeframes, you start from scratch.

Auto Trendlines solves this by algorithmically drawing trendlines from confirmed swing points — the same swing points you'd identify manually, but computed instantly and consistently. Each line is scored for significance based on the number of price touches it has: a line with five touches is objectively more important than one with two. You see that information at a glance.

But the real power is in breakout detection. When price breaks through a significant trendline, you get an alert. Not a lagging alert based on a close beyond the line — a precise, confirmed breakout signal that tells you a key level just gave way. Combine this with the Swing Detection Engine for a clean, objective trend-following system that draws itself.

Features

Key Features

Auto-Drawn from Swing Points

Trendlines are anchored to confirmed swing highs and lows, not arbitrary price points. This means every line has structural significance — the same lines a skilled manual trader would draw, computed in milliseconds.

Touch Counting (2-5+ Touches)

Each trendline tracks how many times price has respected it. More touches mean more significance. You can filter to show only lines with a minimum number of touches, keeping your chart focused on what matters.

Significance Scoring

Lines are categorized as Weak, Moderate, or Strong based on touch count, line age, and the significance of the swing points they connect. Strong lines get more visual weight so you can prioritize at a glance.

Breakout Detection with Alerts

Get notified the moment price breaks through a scored trendline. Breakouts from Strong lines are the highest conviction signals — these are the moves that often kick off new trends or accelerations.

Support & Resistance Lines

Both ascending support trendlines and descending resistance trendlines are drawn and tracked independently. Color-coded green for support and red for resistance so you can read the chart instantly.

How to Use

Get Started in 4 Steps

01

Add to Your Chart

Search for 'Auto Trendlines TheTraderShark' on TradingView and add it to your chart. The default settings draw trendlines with a minimum of 2 touches — a good starting point.

02

Identify Key Lines

Look for trendlines labeled 'Strong' or with 3+ touches. These are your key structural levels. Price tends to respect these lines until it doesn't — and when it breaks, the move is often significant.

03

Set Breakout Alerts

Enable breakout alerts to get notified when price breaks a trendline. Focus on breakouts from Strong lines for the highest probability trades. Alerts fire on confirmed closes beyond the line.

04

Combine with Structure Tools

Pair with the Swing Detection Engine or Structure Zig-Zag for confluence. A trendline break that aligns with a BOS (Break of Structure) is a powerful trade signal.

Customization

Settings & Configuration

Swing Length10

Number of bars used to confirm swing points for trendline anchoring. Lower values create more lines from minor swings.

Min Touches2

Minimum number of price touches required before a trendline is drawn. Increase to 3+ for fewer, more significant lines.

Show Significancetrue

Display the significance label (Weak/Moderate/Strong) next to each trendline for quick quality assessment.

Max Lines10

Maximum number of trendlines displayed at any time. When the limit is reached, the weakest lines are removed first.

Line Width1

Width of the trendlines in pixels. Strong lines are automatically drawn slightly thicker regardless of this setting.

Support Color#00C853

Color for ascending support trendlines.

Resistance Color#CC2936

Color for descending resistance trendlines.

Show Breakout Alertstrue

Enable visual markers and alert conditions when price breaks through a trendline on a confirmed close.

Non-Repainting Verified

Once a signal prints on the chart, it stays. No redrawing, no lookback bias, no false history. Every signal you see is exactly what you would have seen in real-time.

FAQ

Frequently Asked Questions

No. Trendlines are anchored to confirmed swing points that don't change after bar close. Once a line is drawn, it stays. Breakout signals are confirmed on bar close — no phantom breakouts that disappear.

Ready to Try Auto Trendlines?

Add it to your TradingView charts and see the difference instantly.