Guide · Price action

What is a trendline?

The short answer

A trendline is a straight line connecting a series of swing points that defines the direction and slope of a trend. An uptrend line connects rising swing lows, the higher lows, and slopes up as a moving support. A downtrend line connects falling swing highs, the lower highs, and slopes down as a moving resistance. It visualises the market structure of higher highs and higher lows, or lower highs and lower lows, and it describes that structure. It does not predict price.

A trendline looks like the simplest tool on the chart, and that simplicity hides where it goes wrong. Two things separate a line that means something from a doodle: what it connects, and whether it is extended to where price will actually meet it. This guide builds the mechanism from the market structure it traces, shows how to draw a validated line rather than a flattering one, covers the point most explanations skip, that the chart scale silently changes the line, and ends with the break and the polarity retest, where a broken trend line flips role for the same reason horizontal support and resistance do.

The structure a trendline traces

A trend is not a line; it is a pattern of pivots. An uptrend is a sequence of higher highs and higher lows: each rally peak clears the last, and each pullback low holds above the last, so buyers keep regaining control at a rising floor. A downtrend is the mirror, lower highs and lower lows. This is the definition Charles Dow set out in his editorials around 1900, later codified by Robert Rhea in The Dow Theory in 1932, and it is still the structure every trendline is trying to capture. The line is only the visual summary; the higher lows are the trend.

An uptrend line connects higher lows, a downtrend line connects lower highs The left panel shows an uptrend as a series of higher highs and higher lows, with a rising trendline anchored to the higher lows and extended forward as moving support. The right panel shows a downtrend as a series of lower highs and lower lows, with a falling trendline anchored to the lower highs and extended forward as moving resistance. The line summarises the pivots; the pivots are the trend UPTREND · higher highs, higher lows DOWNTREND · lower highs, lower lows low 1 higher low 2 higher low 3 extended high 1 lower high 2 lower high 3 Illustrative. An uptrend line rests under the higher lows; a downtrend line caps the lower highs. Both are drawn, then extended forward.
The trendline is anchored to the swings, not the closes. On a rising trend you connect the higher lows and the line becomes a moving support; on a falling trend you connect the lower highs and it becomes a moving resistance. If the higher-lows sequence stops, the trend has changed whether or not a line was ever drawn.
Uptrend line versus downtrend line, illustrative
LineConnectsStructure it marksActs as
Uptrend lineRising swing lows (higher lows)Higher highs and higher lowsMoving support beneath price
Downtrend lineFalling swing highs (lower highs)Lower highs and lower lowsMoving resistance above price
Range boundaryRoughly level highs or lowsNo net higher or lower structureNear-flat support or resistance

Why a trendline works as a dynamic level

A trendline is not magic and it is not merely a drawing convention; it works for a reason you can state in terms of supply and demand. Along a valid uptrend line, buyers keep stepping in at progressively higher lows. That is the visible signature of demand outpacing supply at a consistent rate: each time price dips, it is bought sooner than before, so the floor rises at a steady slope. The line traces the pace of that demand.

On top of that real imbalance sits a second, reflexive force. Because the line is easy to see, many participants watch the same line and act near it, resting bids just above it, covering shorts as it holds, placing protective stops just below it. Their orders cluster around the line, which makes it more likely to hold, which makes more people trust it. This is the self-reinforcing attention that gives a well-watched trendline its power. The two forces matter in that order: the attention amplifies a level that real demand and supply created, and when the underlying imbalance fades, the attention alone cannot hold the line for long.

Read it as a zone, not a wire. Because the level is a sloping line that many eyes approximate slightly differently, price often reacts in a small band around it rather than to the pixel. Treat the trendline as an area where demand has repeatedly appeared, and judge it by how price behaves as it approaches, not by whether a wick tags an exact coordinate.

How to draw one that means something

Most bad trendlines fail in one of three ways: too few anchors, a line drawn through the price rather than along its extremes, or a line that is never extended to where price is heading. The discipline is simple to state and the whole value of the tool lives inside it. Connect at least two, ideally three or more, real swing pivots. Let the line touch the wicks or extremes it is meant to connect, not slice through the candle bodies. And extend it forward, because a line is only useful where price has not yet arrived. A stub that stops at the last touch tells you nothing about the next test.

On the count of touches, the old desk rule is blunt but honest: one touch is an accident, two is a coincidence, three or more is a line. Two points are all it takes to draw something straight, but only a third touch that the market respects raises the odds that participants are actually reacting to it rather than that you drew a line between two random dips. Each further clean touch validates the line further.

A validated trendline versus a flattering one The left panel shows a good trendline: it touches three real swing lows at their extremes, does not cut through price, and is extended forward. The right panel shows a bad trendline: it cuts through the candle bodies, rests on only two points, and is not extended beyond the last touch. Same chart, two lines: only one is validated WELL DRAWN · touches, 3+, extended BADLY DRAWN · cuts price, 2 points, stub clean touches extended line cuts through stops here Illustrative. The good line rests under the extremes and reaches forward; the bad line is forced through the bodies on two points and never extended.
A line you can trade off is under the price, not through it. The well-drawn line kisses the swing extremes, has three touches, and is extended into empty space where the next test will happen. The flattering line is forced through candle bodies on two anchors and dies at the last touch, so it can neither be validated nor used.
Drawing rules and why each one matters
RuleWhy it matters
Use two or more, ideally three-plus, pivotsTwo points always form a line, so two alone can be chance; a third respected touch is evidence the market reacts to it.
Anchor to real swing highs or lowsThe line should mark genuine turning points, not minor wiggles, so it traces the demand or supply that actually formed the trend.
Touch the extremes, do not cut through priceA line slicing candle bodies is fitted to a view, not to structure, and it will not mark where price actually turned.
Extend the line forwardThe value is at the next test, in empty space; a stub ending at the last touch cannot tell you where price will meet the line.
Note the scale it was drawn onLog and linear scales give different slopes, so a line is only valid on the scale that produced its touches.

The scale trap: log versus linear changes the line

Here is the detail most trendline explanations omit, and it quietly invalidates lines all the time. The slope of a trendline depends on the chart's price scale. On a linear (arithmetic) scale, equal rupee moves take equal vertical space, so as price rises the same percentage gain covers more pixels and a long trend appears to accelerate. On a logarithmic scale, equal percentage moves take equal vertical space, so a trend that compounds at a steady rate plots as a straight line.

The practical consequence is concrete: a line that shows three clean touches on a log chart can miss those same lows on a linear chart, and the reverse. A break that has already triggered on one scale may not have triggered on the other. Over long or high-volatility histories, the log scale usually fits the structure better, because trends there compound in percentage terms. None of this makes one scale right and the other wrong, but it does mean a trendline is only valid on the scale that produced its touches, and comparing a line across scales without saying so is how two people end up drawing incompatible lines and both believing they are correct.

The same lows form a straight trendline on log but not on linear scale On a linear price scale, a steadily compounding series of lows bends upward, so a straight trendline drawn through the early lows sits below the later ones and the line loses its touches. On a logarithmic scale, the same series of lows lies on one straight line, so the trendline stays valid across all the touches. One trend, two scales, two different lines LINEAR scale · equal rupee spacing LOG scale · equal percent spacing later lows pull away, line misses all lows on one straight line Illustrative. A steady percentage trend bends on a linear axis but straightens on a log axis, so the valid line differs by scale.
The scale is part of the line. A compounding trend curves on a linear axis, so a straight line fitted to the early lows falls away from the later ones; on a log axis the same lows lie on one clean line. Always know which scale you are on before you trust, or reject, a trendline or its break.

Trendlines are subjective, and that is fine

Unlike a horizontal price level, which is a single number everyone reads the same way, a sloping trendline involves choices: which pivots to anchor to, whether to use wicks or bodies, how much minor overshoot to forgive. Two competent analysts can therefore draw slightly different lines on the same Nifty chart, and neither is simply wrong. This subjectivity is not a flaw to be embarrassed about; it is a property of the tool that you handle by being honest about it.

The honest posture is to treat every trendline as an approximate zone and let evidence, not conviction, decide how much weight it carries. A line the market has touched and respected three or four times deserves attention. A line drawn once through two dips, forced to fit a bias, deserves very little. The goal is a line that fits the structure cleanly, validated by touches, not the most flattering line you can force through the wicks to support a position you have already taken. Judgement about which pivots matter, and how much to trust the resulting line, is precisely the reading skill that the method we teach is built around.

The break, and the polarity retest

A trendline is a statement about slope: buyers are defending each higher low at roughly this pace. A decisive break is the market withdrawing that statement. When price closes clearly through a rising support line, rather than briefly piercing it and recovering, it says the higher-lows rhythm has failed at that slope, and the trend is weakening or turning. As with any level, the break must be judged by the close, not by a wick poking through, because false breaks are common here too: price stabs past the line, traps the traders who reacted to the poke, then snaps back inside. That is the same trap mechanism covered under a horizontal breakout, and it applies identically to sloping lines.

What happens after a genuine break is where trendlines share the deepest behaviour of horizontal support and resistance: change of polarity. Once a rising support line breaks, the traders who bought near it are now offside; many wait to sell into any return to the old line to escape at a better price, while the buyers who used to defend it no longer do. On a retest from below, those two shifts combine, so the broken support can act as resistance. It is the identical trapped-trader mechanism that flips a horizontal level, only running along a slope. And like every such reading, it is a tendency, not a law: the retest can fail, and price can push straight back through.

A broken uptrend line acts as resistance on the retest Price rises along a trendline that supports several higher lows. It then closes decisively below the line, breaking the uptrend. On a later rally, price returns to the underside of the broken line, is rejected there, and turns down again, so the former support now behaves as resistance through change of polarity. Support breaks, then caps the retest: polarity flip higher lows hold decisive break (close below) retest rejected at old line trend turns down Illustrative. After the break, the underside of the former support line acts as resistance on the retest. This is a tendency, not a certainty.
The old floor can become the new ceiling. Trapped longs selling into the return, and former defenders standing aside, let the broken support cap a retest from below. It is the same polarity that flips horizontal levels, drawn along a slope, and, like the break itself, it can fail.
Reading a trendline break, with the caveats, illustrative
What you seeWhat it suggestsThe caveat
Wick pierces, close holdsThe line is defended; trend likely intactA single wick is not a break; watch the close
Decisive close through the lineThe slope has failed; trend weakening or turningCan still be a false break that snaps back
Retest from the far side, rejectedPolarity: old support acting as resistanceThe retest can fail and price push back through
Break on one scale onlyAmbiguous; log and linear disagreeConfirm on the scale the line was drawn on
Where trendlines mislead. A steep line breaks constantly because no trend sustains that pace, so a break of a near-vertical line often means little. Very short timeframes produce noisy lines with weak touches. And because the tool is subjective, it is easy to redraw a broken line a little flatter and pretend it held. A trendline describes the current structure and the pressure on it. It does not forecast the next move, and it is context to weigh with other evidence, not an instruction on its own.

Where a trendline fits

Read plainly, a trendline is a disciplined way to see one thing: the direction and slope of the prevailing swing structure, and the moment that structure is under threat. It earns its place because it makes the higher-highs-and-higher-lows definition of a trend visible and gives you a specific, watched level to judge a break against. It does not tell you what price will do next, it does not survive being forced to fit a view, and it changes with the scale you plot it on.

Used well, the line is downstream of the reading, not a substitute for it. The pivots have to be real, the touches have to be earned, the extension has to reach where price is going, and the break has to be judged by the close and, often, the retest. That reading sits alongside the wider toolkit: the horizontal levels of support and resistance, the shapes in chart patterns, and the proportional pullbacks of Fibonacci retracement. The line is one honest lens among several, and its whole value is in drawing it honestly.

Common Questions

Frequently Asked Questions

A trendline is a straight line connecting a series of swing points that defines the direction and slope of a trend. An uptrend line connects rising swing lows, the higher lows, and slopes up as a moving support. A downtrend line connects falling swing highs, the lower highs, and slopes down as a moving resistance. It visualises the market structure of higher highs and higher lows in an uptrend, or lower highs and lower lows in a downtrend, and it describes that structure rather than predicting price.

Connect at least two, ideally three or more, real swing pivots. For an uptrend line join the rising swing lows, for a downtrend line join the falling swing highs. The line should touch the wicks or extremes it is meant to connect, not cut through the price bodies, and it should be extended forward to where price will meet it. A stub that stops at the last touch is useless. More clean touches means a more validated line.

Two points are enough to draw a line, but two touches alone can be coincidence. A third touch that respects the line is the usual bar for treating it as meaningful, and each additional clean touch validates it further. The more times price approaches the line and turns without closing decisively through it, the more participants are watching that line and the more weight it carries.

Along a valid uptrend line, buyers keep stepping in at progressively higher lows, so demand is outpacing supply at a consistent slope, and the line marks where that demand has repeatedly appeared. It becomes a moving support for two reinforcing reasons: it traces real demand, and participants watch it and act near it, so their orders cluster there. The attention is self-reinforcing, but it rests on the underlying supply and demand the line traces.

Yes. On a linear scale, equal rupee moves take equal vertical space, so a long rising trend looks ever steeper. On a logarithmic scale, equal percentage moves take equal vertical space, so a steady compounding trend plots as a straight line. The same touches that form a clean line on a log chart can miss the line on a linear chart, and the reverse. For long or high-volatility histories, a log scale usually fits the structure better, so always note which scale a line was drawn on.

To a degree, yes. Two analysts can anchor to slightly different pivots or use body versus wick and draw slightly different lines on the same chart. That is expected. The honest way to treat a trendline is as an approximate zone rather than a precise law: validate it with the number and quality of touches, prefer the line that fits the structure cleanly, and do not force a single line through every wick to fit a view you already hold.

A decisive break, price closing clearly through the line rather than briefly piercing it, signals that the slope the line described is failing: buyers are no longer defending each higher low at that pace. It is a warning that the trend is weakening or changing, not a guarantee of reversal. False breaks are common, where price pokes through and snaps back, so the break has to be judged by the close and often by a retest, exactly as with a horizontal breakout.

This is the change-in-polarity principle applied to a trendline. Once a rising support line breaks, traders who bought near it are now offside, and many sell to escape as price returns to the old line, while buyers who watched it defend it less. Their combined orders can cap a retest, so the broken support acts as resistance. It is the same trapped-trader mechanism that flips horizontal support and resistance, and it too can fail.

The construction is identical on the Nifty 50, the Sensex, and individual NSE and BSE stocks as on any chart, because it depends only on swing highs and lows. Lines drawn on higher timeframes such as the daily or weekly tend to carry more weight, because each candle reflects more participation than on a one-minute chart. The trendline still only describes structure, so it is context to combine with other evidence, not a forecast or an instruction to trade.

Where the facts come from

Sources

  • Dow theory definition of trend. A primary uptrend is a series of successively higher peaks and higher troughs, a primary downtrend a series of lower peaks and lower troughs, from Charles Dow's editorials around 1900 and codified by Robert Rhea in The Dow Theory (1932). This is the structure every trendline captures. fidelity.com
  • Drawing and validating a line. Connect at least two, ideally three or more, real swing pivots at their extremes and extend the line forward; more clean touches validate it. The desk rule that three touches make a credible line reflects standard technical-analysis practice. trendspider.com
  • Log versus linear scale. Linear scales space equal rupee moves equally and log scales space equal percentage moves equally, so the same lows can form a clean line on one scale and miss it on the other; a line is valid only on the scale that produced its touches. allstarcharts.com
  • Change of polarity. Once broken, a support becomes resistance and a resistance becomes support, a principle that applies to trendlines as well as horizontal levels and rests on trapped-trader psychology, with false breaks a known caveat. chartschool.stockcharts.com
Educational note. This guide explains a chart-reading tool and the market structure behind it. It is not a recommendation to trade or invest, and it is not investment advice. Bharath Shiksha is an educational publisher, not a SEBI-registered investment adviser or research analyst.

Related guides

Market structure: highs and lows

Read →

Support and resistance on Indian stocks

Read →

The line is the easy half. Learn to read the structure.