Library · TradingView & Chart Tools

Drawing Trend Lines

A trend line tool draws a straight line through two points chosen by the user. The tool is simple, and the judgment about which points to use is where the difficulty lies.

  • Beginner
  • 5 min read
  • Updated

Why it matters

The trend line is the most used drawing tool on any charting platform. It takes two clicks, and the result looks authoritative: a clean diagonal that price appears to respect.

The cleanliness is misleading. The platform does no analysis when a line is drawn. It joins two points that a person selected. The concept behind the lines is explained in Trend Lines.

About the platform named here

TradingView is used as the familiar example. edgeTR Academy is not affiliated with TradingView, and the same ideas apply to other charting tools.

What it looks like

Uptrend structure
HHHLHHHLHHHL
An uptrend is a series of higher highs and higher lows. A rising trend line is drawn under the lows. The swing points come first, and the line is a summary of them. Hypothetical data for illustration.

In an uptrend, a trend line is conventionally drawn under rising swing lows. In a downtrend, it is drawn over falling swing highs. The line is a compact way of showing the slope of the trend.

How it works

Most platforms offer a small family of line tools:

Tool What it draws
Trend line A segment between two chosen points
Ray A line from the first point through the second, continuing to the right
Parallel channel A trend line with a second, parallel line on the other side of price

Each anchor point is a price and a time. Once placed, the line stays at those coordinates when the timeframe is switched.

In plain words

A ruler laid across a scatter of dots can be lined up with many different pairs. The ruler does not choose. Whoever holds it decides which two dots matter, and a second person may reasonably pick two others.

How to read it: the judgment involved

Four choices behind every trend line
Which swing points?Different pairs of lows or highs give different lines.
Wicks or bodies?Anchoring on extremes or on closes moves the line.
Which timeframe?Swing points on a daily chart are not those on a 15-minute chart.
Which price scale?A straight line sits in different places on linear and log axes.
The tool draws exactly what it is given. Every one of these choices belongs to the person drawing.

Which points. There are usually several candidate lows. A line through the two most recent gives a steep slope. A line through the first and the latest gives a shallower one. Neither is wrong by any formal rule.

Wicks or bodies. Some chart readers anchor on the extreme of the wick, others on candle closes. The two methods give lines that differ by the length of the wicks. What matters most is consistency within one chart.

How many touches. Any two points make a line, so two touches show nothing. A long-standing convention gives a line some weight only after price has reacted near it a third time.

From two points to a tested line
  1. First pointA swing low.
  2. Second pointA higher swing low. A line now exists.
  3. Third reactionPrice returns near the line and turns.
  4. Close beyondThe line no longer describes price.
Two points define a line. By convention, a later reaction is what gives it some weight. Every line eventually stops describing price.

Steepness. Very steep lines describe fast moves and tend to be crossed quickly, because few markets keep such a pace. Such a cross can mean only that the pace slowed.

The scale. A line drawn on a linear axis and the same anchors on a log axis pass through different prices in between. See Price Scales: Log vs Linear.

Going deeper

Channels

Ascending channel
A channel adds a parallel line on the other side of price. The second line is copied from the first, so it inherits every choice made when the first was drawn. Hypothetical data for illustration.

A parallel channel tool copies the slope of a trend line and lets the user place the copy on the opposite swing points. The result frames the trend between two boundaries. See Channels.

When price crosses a line

A cross can mean the trend is changing. It can also mean the line was drawn through the wrong points, or that price overshot briefly and returned, as described in Fakeouts. Many chart readers distinguish between a wick through a line and a candle close beyond it. A crossed line is often redrawn through newer swing points, which is reasonable. It also shows that the line follows price and does not lead it.

A hypothetical rising lineHypothetical illustration

On a daily chart of a made-up asset, there is a swing low of 100 at candle 10 and a swing low of 110 at candle 30. A ray is drawn through both.

  • The line rises 10 over 20 candles, a slope of 0.5 per candle.
  • At candle 50 the line is at 100 + 0.5 x 40 = 120.
  • A swing low forms at candle 50 at 119.5, slightly under the line, and price turns up. By the usual convention this is a third reaction.
  • At candle 60 the line is at 125. A candle closes at 123.

Whether the close at 123 counts as a break depends on rules the tool does not supply: how far below, for how long, and on which timeframe.

The anchors leave room for choice as well. If a second reader placed the second anchor at 108, at candle 30, the slope would be 0.4 per candle. That line would be at 100 + 0.4 x 50 = 120 at candle 60, and the same close at 123 would be above it.

What it does NOT mean

  • A trend line is not a barrier. Nothing holds price on one side of it.
  • A touch is not a signal. It is a moment when price was near a line that someone drew.
  • A precise line is not a precise level. The anchors were chosen by eye.
  • A cross does not mean the trend has ended. The line may simply have been too steep.

Common mistakes

  1. Forcing a line to fit. Cutting through candles to make three touches appear is fitting the line to a wish.
  2. Mixing wicks and bodies on one line. The line then follows no consistent rule.
  3. Ignoring the scale. A line’s position depends on whether the axis is linear or log.

Risks and limitations

  • Trend lines are subjective. Two careful people can draw different lines on the same chart.
  • Lines look more reliable in hindsight, because failed lines are usually deleted.
  • Evidence that trend lines predict price is limited, and they are best seen as descriptive aids.

Key takeaway

A trend line tool joins two points and extends the result. Choosing the points, the anchoring rule, the timeframe and the scale is a matter of judgment, so a trend line is an approximate summary of a trend’s slope and not a boundary that price must respect.

Sources and further reading

  • Technical Analysis of the Financial Markets, John J. Murphy (1999). Drawing trend lines and channels, and judging their significance
  • Technical Analysis of Stock Trends, Robert D. Edwards and John Magee. Classic treatment of trend lines and their penetration
  • Trendline drawing tool (opens in a new tab), TradingView. TradingView help article on the trend line tool: drawing lines that illustrate trends, Shift for 45 degrees, exact coordinates