Blog/Technical Analysis
Technical AnalysisJun 18, 202610 min read

How to Draw Trendlines (and Trade the Bounces and Breaks)

A trendline is the diagonal version of support and resistance. Connect the swing lows in an uptrend or the swing highs in a downtrend, then trade the bounce off it or the break through it. Here is how to draw one without curve-fitting, and how AI reads the trend structure off your chart.

BL
Benjamin Loh
Founder of SnapPChart · trader and dev

Every chart pattern you have ever traded is built out of trendlines. The flag, the triangle, the wedge, the channel, all of them are just lines connecting swing points, and if you draw those lines wrong, you grade the whole setup wrong. A trendline is the diagonal cousin of horizontal support and resistance: instead of a flat price that buyers keep defending, it is a sloped line that rises with an uptrend or falls with a downtrend, and price keeps reacting to it as long as the trend is alive. The trouble is that drawing one is where almost everybody cheats. You want the trade, so you nudge the line until it touches the points you need it to, and now you are looking at a level that only exists because you bent it. This post is about drawing the line honestly, trading the bounce and the break it gives you, and handing the chart to AI for a second read that does not have your bias leaning on the pencil.

Quick Answer

In one paragraph

To draw a trendline, connect at least two swing lows for an uptrend (a rising line that acts as dynamic support) or at least two swing highs for a downtrend (a falling line that acts as dynamic resistance). Two points draw the line; the third touch confirms it, and more clean touches make it more significant. Do not force the line through price or curve-fit it. Then trade it two ways: buy the bounce when price pulls back into a rising trendline and confirms, or trade the break when price closes decisively through the line on volume, ideally entering on the retest of the broken line. AI reads the trend structure and the trendline price is respecting off your chart screenshot, says whether price is bouncing or breaking, and grades the setup. It reads the line that is there; it does not predict the next touch.

What Is a Trendline?

A trendline is a straight diagonal line drawn along the swing points of a trend, and it works as dynamic support or resistance. In an uptrend you connect the rising swing lows, and that line sits underneath price as support, the level buyers keep stepping in at on every pullback. In a downtrend you connect the falling swing highs, and that line sits above price as resistance, the level sellers keep leaning on every time it rallies. The word dynamic is the whole point. Unlike a flat horizontal level that stays at one price, a trendline moves as time passes, because it is sloped. The price it represents is a little higher (or lower) on every new bar.

What makes a trendline useful is what its slope tells you. A rising trendline that price keeps respecting is visual proof the uptrend is intact: buyers are showing up at higher and higher prices. The moment price stops respecting it, the trend is in question. That is why a trendline is one of the cleanest ways to read whether you are trading with the trend or against it, which is the exact question the guide to AI trend detection is built around. The slope is the trend, drawn out so you can see it. Investopedia's primer on the trendline frames it the same way: it is a line connecting reaction points that shows the direction and speed of the move.

How Do You Draw a Trendline Correctly?

Drawing a trendline correctly is mostly about restraint. The mechanics are simple, but the discipline is hard, because the temptation is always to make the line say what you want. Start by finding two swing points of the same kind: two swing lows if you are drawing an up trendline, two swing highs if you are drawing a down trendline. Connect them. That gives you a line, but it is only a hypothesis at this stage. The line earns its keep on the third touch, when price returns to it and respects it again. Now you have evidence that traders are actually watching this level, not just two points that happened to fall along a line. The more clean touches the line collects after that, the more significant it is, because more of the market is leaning on it.

The rules that follow are all about not lying to yourself. Do not force the line through price: if it slices through the middle of candles, it is wrong, and you should be leaving price on one side of the line. Do not curve-fit, which is the polite word for nudging the angle so it tags more points than it honestly should. On the wicks-versus-bodies debate, there is no universal winner, so use whichever one catches the most touches cleanly on that particular chart. And redraw the line as the trend evolves, because a trendline is not a monument. As new swing points print, the valid line shifts, and a stale line from last week will have you reading today's structure wrong.

How to draw a trendline: the rules
draw it honest, not to fit
The ruleWhy it matters
Connect at least two swing pointsTwo swing lows for an up trendline, two swing highs for a down trendline. Two points define the line; you cannot draw one with fewer.
Wait for the third touch to confirmTwo touches is a guess. The third respected touch is evidence that real orders are sitting on the line, not a coincidence.
More touches means more significanceA line price has respected four or five times is a level the whole market sees. A break of it carries far more weight than a break of a two-touch line.
Do not force the line through priceIf the line slices through the middle of candles, it is wrong. The trendline should touch the extremes and leave price on one side of it.
Do not curve-fit to add touchesNudging the angle so it tags more points than it honestly should is drawing, not analysis. A line that only works because you bent it is not a real level.
Pick wicks or bodies by what fits cleanlyUse whichever catches the most touches without forcing it. Wicks on one chart, closes on another. Consistency within a single line matters more than the dogma.
Redraw as the trend evolvesA trendline is not permanent. As new swing points print, the valid line shifts. Stale lines from last week mislead you on today's structure.

Run through that list every time and you avoid the single most common mistake, which is drawing the line you wish were there instead of the line the chart is showing you. The honest line is often less flattering to your trade idea, and that is exactly why it is worth drawing.

How to draw trendlines: an up trendline catching rising lows, then a break and retest

Schematic of an up trendline connecting three rising swing lows, with a later close below the line and a retest of the broken line as resistanceOn the left, a rising up trendline connects three higher swing lows and price bounces off it twice. On the right, price closes below the line, then rallies back to the underside of the broken line and rejects, the retest turning old support into new resistance.The bouncetouch 1touch 2touch 3 confirmsrising supportThe break and retestclose below = breakretest rejectsold support, now resistance

That picture is the whole post in two frames. On the left, three rising lows tag the line and bounce, each touch making the trendline more trustworthy. On the right, price finally closes through the line, then rallies back to kiss the underside of it and gets rejected, the same line flipping from support to resistance. The numbers and angles here are neutral placeholders to show the shape, not a real chart, but the structure is exactly what you are hunting for.

Up Trendline, Down Trendline, and Channels

An up trendline and a down trendline are mirror images, and getting them straight is half the battle. The up trendline connects rising swing lows and acts as dynamic support in an uptrend, the line you buy bounces off. The down trendline connects falling swing highs and acts as dynamic resistance in a downtrend, the line you short rallies into. Same tool, opposite slope, opposite trade. The table below puts them side by side so the symmetry is obvious.

Up trendline vs down trendline
mirror images
AspectUp trendline (uptrend)Down trendline (downtrend)
ConnectsRising swing lows (the higher lows in an uptrend)Falling swing highs (the lower highs in a downtrend)
Acts asDynamic support, price bounces up off itDynamic resistance, price gets rejected down off it
SlopeRising left to rightFalling left to right
The bounce tradeBuy the pullback into the rising line with confirmationShort the rally into the falling line with confirmation
The break signalsA close below it warns the uptrend may be endingA close above it warns the downtrend may be ending
Confirms the trend whenPrice keeps making higher lows that respect the linePrice keeps making lower highs that respect the line

Once you can draw one trendline, you can draw two. Add a second line parallel to the first, running along the opposite extremes, the swing highs above an up trendline or the swing lows below a down trendline, and you have a channel. Price ricochets between the two lines: buy near the lower rail, take profit near the upper rail, and treat a clean break of either rail as the trend either accelerating or ending. That parallel return line is the bridge from a single trendline to a full channel, which the price channel pattern guide covers end to end. The same logic powers the squeeze patterns: two trendlines that converge instead of running parallel give you a wedge, and a flat horizontal top with a rising trendline underneath is the ascending triangle. Learn to draw the line and the patterns stop being shapes you memorize and start being structure you can see.

How Do You Trade a Trendline Bounce and Break?

A trendline gives you two trades, and they are opposite sides of the same line. The bounce is the with-trend trade: in an uptrend, you wait for price to pull back into the rising trendline and buy the reaction off it, with confirmation, a bullish candle, a wick rejection, volume coming back in, rather than blindly catching the falling knife into the line. Your risk is clean and defined: a close below the line invalidates the idea, so your stop sits just under it. That defined-risk structure is why trendline bounces are a staple of the broader momentum trading strategy playbook: you are buying a pullback in an established trend at a level the whole market can see, with a stop that is a few cents away instead of a guess.

The break is the other trade, and it is where the trend changes hands. When price closes decisively through the trendline, ideally on expanding volume, the level it was respecting has failed, and the structure flips. The cleaner entry on a break is usually not the break candle itself but the retest: after price closes below an up trendline, it often rallies back to the underside of that broken line, which now acts as resistance, and rejects there. Entering on the retest gives you the same tight, defined risk as the bounce, your stop goes just on the far side of the line. Chasing the break candle with no retest is how you end up buying or shorting the exact moment the move runs out of gas.

Trendline checkpoint

Drew the line three different ways and still not sure if it is holding or breaking?

Upload the screenshot and SnapPChart reads the trend structure for you, identifies the trendline price is respecting, says whether the chart is bouncing off it or closing through it, and folds the read into a setup grade, instead of you nudging the line until it agrees with the trade you already want.

Read the line on your chart

Why Do Trendline Breaks Fail?

The reason the retest matters so much is that trendline breaks fail all the time, and a failed break is a trap. The classic setup is a low-volume break: price closes through the line on thin, unconvincing volume, sucks in everyone who was waiting for the break, and then reverses straight back inside, leaving those traders offside. A break with no real participation behind it is exactly the signature of a bull trap or bear trap, the false breakout that catches the crowd leaning the wrong way. The defense is the same discipline every time: demand a decisive close, not just a wick poking through, prefer the break to come on volume, and let the retest confirm before you commit size.

Volume is the tell that separates a real break from a trap more often than anything else. A line that has been respected five times does not usually give way quietly, so a break on volume that looks identical to the chop before it deserves suspicion. Reading the volume behind the break, expanding into it versus fading through it, is the same check that decides whether any breakout has buyers behind it, which the guide to AI volume analysis walks through bar by bar. No volume, no retest, no trade.

Trendlines vs Horizontal Support and Resistance?

Trendlines and horizontal support and resistance are two flavors of the same idea, levels where price has reacted before, but they sit at different angles and do different jobs. A horizontal level is a fixed price: a flat line at a prior high, a prior low, or a round number that buyers or sellers keep defending, and it does not move as time passes. A trendline is diagonal and dynamic: it slopes with the trend, so the price it sits at changes on every bar. Horizontal levels are covered in full in the support and resistance guide, so this post stays on the diagonal side of the family. The two are not rivals.

Trendline vs horizontal support and resistance
diagonal vs fixed
TraitTrendline (diagonal)Horizontal S/R (fixed)
AngleDiagonal, sloped with the trendFlat, a fixed horizontal price
Moves over timeYes, dynamic, the price it sits at changes every barNo, the price stays put until it breaks
Drawn fromTwo or more rising lows or falling highsPrior highs, lows, or round numbers price reacted to
What it tells youThe trend is intact while price respects the slopeA fixed price buyers or sellers keep defending
Strongest whenIt lines up with a horizontal level at the same spotIt lines up with a trendline at the same spot

The best setups are where the two agree. When a rising trendline arrives at the same price as a horizontal level, a prior high, a round number, you have two different groups of traders watching the same spot from two different angles, and that confluence is what turns a decent level into a strong one. StockCharts' reference on trend lines makes the same point: the validity of a line goes up with the number of touches and with the levels it coincides with.

How Does AI Read a Trendline?

Here is the honest version, because the overselling is everywhere. AI-powered analysis reads the trend structure off the chart screenshot you upload: it sees the sequence of higher highs and higher lows (or lower highs and lower lows), identifies the up or down trendline that price is actually respecting, and reads whether price is currently bouncing off that line or closing through it. Then it folds that read into the overall setup grade alongside the trend, the structure, and the levels. It is doing visually what a careful trader does by eye when they draw the line, except it does not have your position whispering at it to make the line steeper or flatter than the chart deserves. That bias-free second read is the whole value. You can get the same structural read on any chart through ordinary AI chart analysis of the setup.

The limits matter as much as the read, and a tool that hides them is the one to distrust. It reads the structure the chart is showing right now, so it does not predict whether the next touch will bounce or break, because the break has not happened yet and nothing can know it in advance. It does not hand you a literal line you can export back onto your charting platform; it reads the line that is already there. And it reads one static screenshot, so it does not see live data, order flow, Level 2, or the tape, none of which lives in an image. What it gives you is an objective read on the trend structure and whether your setup is leaning with that structure or fighting it, which is the same disciplined check the AI trend detection read applies to direction. A second opinion on the line you drew, not a prophecy about the line you wish you had.

The point of drawing the line honestly

You are not trying to predict where price goes. You are drawing the line the chart actually shows, connecting real swing points without bending the angle to fit your trade, then taking the bounce or the break it gives you on its terms. Let the AI read the trend structure it can genuinely see and tell you whether price is respecting the line or breaking it, and take the setup only when the structure agrees with you. A trendline you curve-fit to justify a trade is the most expensive line on the chart.

Frequently Asked Questions

How many touches make a valid trendline?

You need two swing points to draw a trendline at all, because two points define a line. But two touches is just a hypothesis, not a confirmed line. The third touch is what confirms it: when price comes back to the line a third time and respects it, you have evidence that real buyers or sellers are watching that level, not just a line you drew through two coincidental points. After that, the more clean touches a line has, the more significant it is and the more traders are leaning on it. A line with four or five respected touches is a level the whole market can see, which is exactly why a decisive break of it matters.

Should I draw trendlines on the wicks or the candle bodies?

There is no rule that wins every time, and anyone who tells you otherwise is overselling it. The honest answer is to use whichever one catches the most touches cleanly without forcing the line through price. On some charts the wicks line up almost perfectly and the bodies are messy, so you connect the wicks. On others the closing prices, the bodies, tell the cleaner story because the wicks are noise. Pick the version that touches the most swing points without slicing through the middle of candles. The worst thing you can do is curve-fit, nudging the line so it tags more points than it honestly should. A trendline that only works because you bent it to fit is not a level, it is a drawing.

What is the difference between a trendline and support and resistance?

Both are levels where price has reacted before, but they sit at different angles and behave differently over time. Horizontal support and resistance is a fixed price, a flat line at a round number or a prior high or low that does not move as time passes. A trendline is diagonal, dynamic support or resistance that slopes with the trend, so the price level it sits at keeps changing every bar. An up trendline is rising support, a down trendline is falling resistance. They are complementary, not competing: the strongest setups are where a diagonal trendline meets a horizontal level at roughly the same spot, because two different kinds of traders are watching the same price.

How do you trade a trendline break?

Wait for a decisive close through the line, not a wick that pokes through and snaps back. A break that closes back inside on the same candle is usually noise. Ideally the break comes on expanding volume, which says real participation is behind it rather than a thin air pocket. The cleaner entry is often the retest: after price closes through an up trendline, it frequently comes back up to the underside of that broken line, which now acts as resistance, and rejects there. Entering on the retest gives you a defined risk, your stop goes just on the other side of the line, instead of chasing the break candle itself. A low-volume break with no retest is the one that traps people.

Can AI draw trendlines for me?

AI-powered analysis reads the trend structure and the trendlines that price is actually respecting off the chart screenshot you upload, identifies whether the line is an up trendline acting as support or a down trendline acting as resistance, says whether price is currently bouncing off it or breaking through it, and folds that into a setup grade. What it does not do is hand you a literal line you can export back onto your charting platform, and it does not predict whether the next touch will bounce or break. It reads the structure the chart is showing you right now. The break has not happened yet, so nothing can know it in advance. Treat it as an objective second read on the trend you are looking at, not a crystal ball.

Disclaimer

This article is for educational and informational purposes only and does not constitute financial advice. The bounce, break, retest, and trendline examples are illustrative and are not trade recommendations or records of actual trades. The prices, angles, and touch points shown in the diagram are neutral, schematic placeholders, not real data. Day trading carries a substantial risk of loss and is not suitable for every investor. AI analysis evaluates the trend structure and the trendlines visible in a single chart screenshot; it does not draw an exportable line, predict whether a line will bounce or break, or read live data, order flow, Level 2, or the tape, and it does not guarantee trade outcomes or fills. Always do your own research and never trade with money you cannot afford to lose.

BL
Benjamin Loh
Founder of SnapPChart · trader and dev

Writes about AI-assisted day trading, technical analysis, and the systems traders actually use to stay disciplined.

Not sure if that trendline is actually holding?

Upload a chart and SnapPChart reads the trend structure, identifies the up or down trendline price is respecting, says whether price is bouncing off it or breaking through, and folds that into an A-to-F setup grade. It reads the line your chart already shows; it does not predict the break. No card required.