The quick answer
Automatic support and resistance tools find swing highs and lows, group the ones that sit close together into price levels, and keep the levels price has visited more than once. Automatic trendlines join two swing points and survive only if no candle has closed through the line since and a third swing touches it. Use the result as a map of where a trade idea is wrong and where it has room to run—not as a forecast of where price will bounce.
What support, resistance, and trendlines mean
Support is a price area where declines have repeatedly stopped; resistance is an area where rallies have repeatedly stalled. A trendline is a sloped version of the same idea: a line along rising lows in an uptrend or falling highs in a downtrend. When a support breaks, it often acts as resistance on the way back up, and the reverse—traders call this role reversal.
None of these are exact prices. Orders cluster around round numbers, previous highs, and stops that many people placed in the same spot, so a level behaves like a band. Drawing one by hand invites hindsight: it is easy to pick the two wicks that make the line you already believe. An automatic tool applies one written rule to every chart, which makes its lines consistent and checkable. It does not make them predictive.
Step 1: Find the swing points
Every automatic level starts from swing highs and swing lows. Software uses one of two definitions:
- Pivots (fractals): a bar whose high is higher than the highs of a fixed number of bars on each side—for example two bars left and two right. TradingView's Pivot Points High Low indicator uses this definition. It is simple and precise, but it needs the bars on the right to exist: as TradingView's own Pine Script FAQ puts it, a pivot is only confirmed after a certain number of bars have passed, so the newest bars can never be pivots yet.
- Zigzag (directional change): a high is confirmed once price falls a set distance from it, and a low once price rises that distance. The distance can be a fixed percentage, but a multiple of the average true range (ATR) adapts to each market's volatility, so “a real swing” means the same thing on a currency pair and on a small-cap stock.
The choice matters. Pivots find many small turns, which suits horizontal levels. Zigzag swings ignore noise, which suits trendlines, because a line drawn between two tiny wiggles means little.
Step 2: Group swing points into levels
A single swing high is a data point, not a level. To find levels, the software sorts the swing highs and lows by price and merges those that sit within a tolerance of each other—often a fraction of ATR. The level's price is usually the median of the merged points, and its strength is the number of separate visits: two pivots a bar apart are one visit, not two.
Most tools keep a level only if price visited it at least twice, or if it holds an important single turn such as the highest high or lowest low on the chart. Highs and lows both count on either side of price, which is how a broken support becomes resistance without any special rule.
Step 3: Choose which levels to show
A year of daily candles can produce dozens of valid levels. Showing all of them hides the useful ones, so every tool ranks them, and the ranking decides what you see.
- Strongest first: rank by touches, volume, or recency and show the top few. This favors old, heavily tested levels—and often skips the level price is about to meet, which is the one a stop or target depends on.
- Nearest first: show the closest qualifying level below price and above price, then the next ones out. This answers the trader's actual questions—where is the floor, where is the ceiling—at the cost of sometimes showing a weaker level.
A practical compromise is to show the nearest levels on each side and add one major level further out, such as the year's high, so the chart also shows the line everyone else is watching.
Step 4: Draw trendlines that respect the candles
Any two points can be joined by a line, which is why naive automatic trendlines look random: they cut straight through candle bodies. A useful trendline algorithm adds constraints:
- Anchor on confirmed swings. Join two swing lows for a rising support line or two swing highs for a falling resistance line.
- Require distance between anchors. Two swings a few bars apart define a steep, meaningless line.
- Require a third touch. The line is a hypothesis until a later swing reaches it.
- Reject lines price has closed through. If a candle closed beyond the line after the first anchor, the line is broken, however good it looked.
- Cap the slope and the distance from price. A near-vertical line or one far from today's price will not inform a decision.
Published tools follow the same pattern. TradingView's built-in Auto Trendlines indicator connects alternating pivots, requires a minimum swing measured in ATR, counts a touch when a later pivot comes within half an ATR of the line, prefers the line with more touches when lines overlap, and treats several consecutive closes beyond the line as a breakout. TrendSpider draws trendlines from reaction highs and lows, scores them by bounces and breakthroughs, hides lines too far from price, and by default shows only the highest-scoring ones.
How Trend IQ draws its lines
Our rules, stated so you can check them on any chart. Trend IQ's line engine follows the steps above with these settings:
- Swings: a high or low is confirmed when price reverses by one ATR from it.
- Levels: local highs and lows (two bars each side) within half an ATR merge into one level; a level needs two separate visits, unless it is the chart's extreme or a settled swing; levels closer than about 0.6 ATR collapse into the more visited one.
- Which levels: the nearest levels below and above price come first, so the floor and ceiling closest to price are always on the chart.
- Trendlines: two confirmed swings at least eight bars apart, at least three touches within about a third of an ATR, and no close more than a small fraction of an ATR through the line since its first anchor.
- The plan: the AI reads those lines, the trend, and detected patterns, then places the stop beyond the level that would prove the idea wrong and sets the target from the reward-to-risk ratio. In the mobile app, an alert on the stop or target sends a push notification when price gets there.
These rules make the lines consistent and easy to audit. They do not make any level more likely to hold. That is why the analysis is written as a scenario with an invalidation point rather than a call.
How to trade with automatic levels
1. Read levels as zones
Give each level a band—roughly a quarter to half an ATR either side. A wick into the band is a test, not a break.
2. Wait for a close
Breakouts and breakdowns that only show up as wicks fail often. A candle closing beyond the zone on your timeframe is the minimum evidence that the level gave way.
3. Put the stop where the idea is wrong
For a long trade off support, the stop goes below the support zone plus a buffer, not at an arbitrary percentage. If that stop is too far away for your position size, take a smaller position or skip the trade.
4. Check the room to the next level
The nearest opposite level is the first realistic target. If it is closer than your stop is deep, the trade does not pay for its risk, however good the setup looks.
5. Confirm on a higher timeframe
A 15-minute support that sits right under daily resistance is weaker than it looks. Check one timeframe up before committing.
6. Refresh after big moves
New swings create new levels and retire old trendlines. Re-run the analysis after a large move instead of trading yesterday's lines.
Where automatic lines fail
Know the failure modes
- Confirmation lag: a swing is only known after price moves away from it, so the newest turn is always missing.
- Lookback dependence: six months of candles and two years of candles produce different levels for the same stock.
- Gaps and news: earnings, rate decisions, and overnight gaps jump straight through levels; stops can fill far beyond them.
- Clutter: too many lines hide the two that matter; prefer tools that show fewer, nearer lines.
- False confidence: a clean line looks authoritative. It is still only where buyers and sellers met before.
The research is mixed in a useful way. A Federal Reserve Bank of New York study of support and resistance levels published by six foreign-exchange firms found the levels did help flag where intraday trends were interrupted—but none of the firms could tell which of their levels were more likely to hold. That is the right expectation for any tool, automatic or not: levels tell you where to pay attention and where to put a stop, not which one will hold.
Tools that draw support, resistance, and trendlines automatically
The main difference between tools is whether the lines come with a plan—entry, stop, and target—or stay as drawings you interpret yourself.
| Tool | What it draws automatically | Builds a trade plan? | Platforms | Free option |
|---|---|---|---|---|
| Trend IQ | Support and resistance, trendlines, chart patterns | Yes: entry, stop, and target around the lines | Web, iOS, Android | No, paid plans |
| TradingView | Auto Trendlines, Auto Key Levels, Auto Fib, Pivot Points, Zigzag; auto chart patterns on Premium and up | No; the AI Copilot add-on draws levels on request | Web, desktop, iOS, Android (Copilot: web and desktop) | Yes, Basic plan; auto chart patterns need Premium |
| TrendSpider | Automated trendlines, support and resistance heatmaps, Fibonacci, chart patterns | No; Sidekick AI explains and draws horizontal levels | Web, desktop, iOS, Android | No; paid trial |
| LuxAlgo | Key levels, market structure, patterns via indicators and the Quant AI agent | No | Browser and desktop; toolkits also on TradingView | Yes, free plan |
For a broader comparison of AI chart tools, see the best AI chart analysis apps; if you are weighing a switch away from a charting platform, see TrendSpider and TradingView alternatives.
Frequently asked questions
How does automatic support and resistance work?
The software finds swing highs and lows, groups the ones that sit close together into a single price level, and keeps the levels price has visited more than once. Good tools measure “close together” in multiples of the average true range (ATR), so the same rule works on a quiet utility stock and on Bitcoin.
How many touches make a support or resistance level valid?
Two separate visits is the usual minimum for a horizontal level; touches a bar or two apart are one visit, not two. A trendline needs three touches—two to draw it and a third to confirm it—because any two points can be joined by a line.
Do automatic trendlines and levels repaint?
They change, which is not the same as cheating. A swing high is only confirmed once price has moved away from it, so the newest bars cannot form a level yet, and a new swing can add, move, or retire a line. Judge a tool by whether it redraws past lines with hindsight or only adds lines as swings are confirmed.
Are automatic support and resistance levels accurate?
They are consistent, not predictive. A rule applies the same definition on every chart, which removes the habit of drawing the line you want to see. It does not know whether a level will hold. Use the level to decide where your idea is wrong and where it has room to run.
Which timeframe should I use for support and resistance?
Use the timeframe you trade plus one above it. Swing traders usually plan on the daily chart and check the weekly; intraday traders plan on 15-minute to 1-hour charts and check the 4-hour or daily. A level that shows on both carries more weight than one that shows on a single short timeframe.
Does TradingView draw support and resistance automatically?
TradingView has no built-in indicator called “Support and Resistance,” but it has several automatic tools: Auto Trendlines connects pivots and counts touches, Auto Key Levels marks volume-profile and prior-period levels, and Pivot Points High Low marks swing points. Its paid AI Copilot add-on can also draw horizontal support and resistance when you ask, on web and desktop.
Can AI predict whether support will hold?
No. AI can find, explain, and organize levels faster than you can, and it can describe what would invalidate a setup. It cannot know the next order or the next headline. Treat any “will hold” claim as a scenario with a stop, not a forecast.
How does Trend IQ draw support, resistance, and trendlines?
Trend IQ confirms swings by a reversal of about one ATR, groups nearby highs and lows within half an ATR, keeps levels price visited at least twice, and shows the nearest levels on each side of price first. Its trendlines join two confirmed swings, need a third touch, and are dropped once a candle closes through them. The AI then builds the entry, stop, and target around those lines.
Sources and verification notes
Definitions and product capabilities were checked against official documentation on November 6, 2026. Trend IQ's rules are taken from its own line-detection code.
- TradingView — Pivot Points High Low
- TradingView — Pine Script FAQ: techniques
- TradingView — Zigzag indicator
- TradingView — Auto Trendlines
- TradingView — Auto Key Levels
- TradingView — Auto chart patterns
- TrendSpider — Automated trendline detection
- TrendSpider — Types of automated analysis
- LuxAlgo — Plans
- StockCharts ChartSchool — Support and resistance
- StockCharts ChartSchool — ZigZag
- Federal Reserve Bank of New York — Osler, Support for Resistance: Technical Analysis and Intraday Exchange Rates (2000)
- CFTC — AI Won't Turn Trading Bots into Money Machines
Important: not financial advice
This article is for educational and informational purposes only. It does not constitute investment, financial, legal, or tax advice and is not a recommendation to buy, sell, or hold any security or use any trading strategy. Trading and investing involve risk, including possible loss of principal. AI output and market data may be delayed, incomplete, or wrong. Verify important information through independent sources and consider consulting a licensed professional.
Want the levels drawn on your chart?