Strategy · Price action and patterns

Trendline trading: drawing valid lines and trading the third touch

A trendline is the simplest tool on a chart: a straight line joining two or more swing lows in an uptrend, or swing highs in a downtrend. Drawn carefully, it shows where a pullback is likely to find buyers. Drawn carelessly, it shows whatever you hoped to see.

Last reviewed by the MarketPro research desk · Editorial policy

At a glance

Style
Trend pullback to a diagonal level
Timeframes
4-hour and daily
Markets
Major forex pairs, gold, indices
Holding time
1 to 10 days
Works when
A steady trend with evenly spaced swing lows
Level
Beginner
Short answer

Trendline trading uses a straight line drawn through at least two swing lows (in an uptrend) or two swing highs (in a downtrend) as a moving support or resistance level. The common strategy waits for price to come back to the line a third time, enters when a candle closes back away from it in the trend's direction, places the stop just beyond the touch low on the far side of the line, and targets the previous swing high or twice the risk. When price closes clearly through the line, the trend it described is in question and the strategy stops taking trades on it.

Key takeaways

  • Two points draw a line; the third touch tests it. The trade is on the third touch, not the second.
  • Draw through swing lows in an uptrend and swing highs in a downtrend, and be consistent about wicks or bodies.
  • Very steep lines break quickly. A line that matches the trend's normal pace lasts longer than one drawn through a burst.
  • Enter on a candle closing away from the line, not on the touch, and put the stop beyond the touch low.
  • Every trendline breaks eventually. A decisive close through it is a reason to stop, not to redraw the line.

How to draw a trendline that means something

An uptrend is a series of higher highs and higher lows. A trendline joins those higher lows with one straight line, so that it slopes up beneath price. A downtrend line joins the lower highs and slopes down above price. The line is a visual statement of the trend's pace: how much higher each pullback has been finding buyers.

The rules for drawing one are short, and following them strictly matters more than any entry technique:

  1. Use clear swing points. A swing low is a low with higher lows on both sides of it, visible at a glance. Do not connect random dips inside a move.
  2. Start from a significant low. In an uptrend, the first point is usually the low the trend began from or the first clear higher low after it.
  3. Choose wicks or bodies and stick to it. Drawing through wick lows is the most common convention. Some traders use candle bodies because wicks can be noisy. Mixing the two, picking whichever fits best each time, is how lines get fitted to hindsight.
  4. Do not cut through price. A valid uptrend line has no candle closing below it between the points it connects. A wick slightly through is acceptable; closes are not.
  5. Check the angle. A line much steeper than the trend's normal pace is describing a burst, not a trend, and will break soon. A very shallow line is barely a trend at all.

Two points are enough to draw a line, but any two points can be joined. The line becomes meaningful when price comes back and reacts at it a third time, and the more times it has held, the more traders are watching it. The academy lesson on trendlines and market structure has worked examples of valid and invalid lines.

The setup: the third touch

The core trendline strategy trades the bounce off the line in the trend's direction. It has three parts.

1. A valid line

Draw the line through two clear swing lows on the 4-hour or daily chart, following the rules above, and extend it to the right. Confirm the bigger picture agrees: an uptrend line on the 4-hour chart is stronger when the daily chart is also making higher highs and higher lows.

2. Price returns to the line

Wait for a pullback that comes back to the extended line. The touch does not need to be exact; within a few pips on a major pair, or a dollar or two on gold, counts. A touch that also lands on a horizontal level, such as an old swing high now acting as support, is a stronger setup.

3. The trigger

Enter when a candle closes back up and away from the line: a bullish engulfing candle, a candle with a long lower wick, or simply a strong close in the top part of its range. Buying the touch itself with a limit order gets a better price but takes every trade where price slices straight through the line.

USD/JPY 4-hour chart in an uptrend. A rising trendline joins swing lows near 148.40 and 148.95; price returns to the line a third time near 149.56, a bullish candle closes, and a long entry is taken with the stop below the touch low and a target at twice the risk.
Two swing lows draw the line; the third touch tests it. The entry waits for a candle to close back up from the line; the stop goes under the touch low, the target is twice the risk. Illustrative chart, not live market data.

In the chart above, the line joins two higher lows. The third touch near 149.56 holds, a bullish candle closes, and the long is taken with the stop below the touch low and a target at twice the risk.

Stops, targets and the break-and-retest

Put the stop below the low of the touch candle, on the far side of the line, plus a buffer for the spread. Because the line rises over time, a stop placed at a fixed price falls further below the line each bar; that is acceptable for a short trade, and it keeps the rule simple. Size the position from the stop distance with the position size calculator.

The first target is the previous swing high, the top of the last leg, or twice the risk if that is nearer. A trend that stays on its line will often carry on to a new high, so many traders take half at the first target and trail the rest below each new swing low, or exit on a close below the trendline itself.

The break-and-retest variation

When a trendline finally breaks, the line sometimes changes roles. Price closes clearly below an old uptrend line, rallies back up to the underside of it, and turns down again. Short traders use that retest as an entry, with the stop above the retest high. It is a trend-reversal trade with lower odds of a long run than a with-trend bounce, and it needs its own testing. The more conservative course is to treat the break simply as the end of the long setups on that line.

The rules, as a checklist

Trendline trading, written so you can test it before trading it.

Setup

What has to be true before you look for an entry

  • A trendline through two clear swing lows (highs for a downtrend), drawn consistently through wicks or bodies, with no closes through it.
  • The daily chart agrees with the direction of the line.
  • Price pulls back to the extended line for a third or later touch.

Entry

The trigger

  • A candle closes back away from the line in the trend direction after touching it.
  • Enter at that close, or skip the trade if price has already run far from the line.

Stop-loss

Where the idea is wrong

  • Below the touch candle's low on the far side of the line (above its high for a short), plus the spread.
  • Lot size set so the stop costs your fixed risk, for example 1% of the account.

Exit

How the trade ends

  • First target at the previous swing high, or twice the risk, whichever is nearer.
  • Optional: take half there and exit the rest on a close through the trendline.

Skip it when

Conditions that void the setup

  • The line has already been broken by a decisive close, even if it could be redrawn to fit.
  • The line is much steeper than the trend's normal pace.
  • Each bounce from the line is weaker than the one before.

When trendlines fail

Every trendline breaks in the end, because every trend ends. The strategy loses money on the touch that turns out to be the last one: price comes back to the line, the trigger candle closes, the trade goes on, and then the trend gives way and the line breaks.

EUR/USD 4-hour chart. An uptrend line joins swing lows near 1.0800 and 1.0840; a third-touch long near 1.0886 is taken, the bounce is weak, and price then closes through the line and hits the stop as the trend gives way.
The third touch gives a weak bounce that fails to make a new high. Price then closes through the line and the stop is hit. Once the line breaks, retire it rather than redrawing it. Illustrative chart.

You cannot avoid that loss, only keep it small and stop trading the line afterwards. Some warning signs help:

  • Weak bounces. Each push away from the line is smaller than the last, and the highs stop rising. The trend is losing pace even while the line holds.
  • Many touches. A line touched five or six times has held a long time, which can mean the trend is mature. It is also a line every trader can see, so the stops clustered beneath it make a tempting target.
  • A steep line. A line drawn through a fast move breaks sooner than one that matches the trend's usual pace.

The worst habit in trendline trading is redrawing. After a break, it is tempting to move the line to a shallower angle so that it fits again, and keep buying. That is no longer a trendline; it is a line fitted to justify a position. A useful rule: once a candle closes decisively through the line, the line is retired. If the trend is still alive, a new line through new swing lows will show it.

Trendlines are also subjective. Two traders can draw slightly different lines on the same chart and both follow the rules. That is a reason to treat the line as a zone a few pips wide and to look for agreement with horizontal support and resistance, not a reason to give up on them.

How to test a trendline strategy

Testing trendlines honestly is harder than testing an indicator, because you can always find a line that fits after the fact. The way round that is to draw only with information you would have had at the time.

  1. On one market's 4-hour chart, hide everything to the right of the point you are studying. Draw the line only after the second swing low is confirmed, following your written drawing rules.
  2. Step forward candle by candle. Record each third (and later) touch that meets the trigger rule, with its entry, stop and exit.
  3. When the line breaks, retire it, and record any touches you would have been tempted to trade on a redrawn line separately.
  4. Count the spread on every trade and gather at least fifty trades across a couple of markets.

Compare touches that coincided with a horizontal level with those that did not, and touches on lines of different steepness. Look at the average win against the average loss and the longest losing streak, and run that streak through the drawdown calculator before settling on a risk per trade.

Written and reviewed by the MarketPro research desk

MarketPro is a trading-signal and trading-education app operated by Harajuku Holdings LTD (Cyprus). Our signal desk publishes and tracks every trade idea in-app, and every page here is checked against the app's live behaviour before publishing. Last reviewed . How we produce signals and content · About MarketPro

FAQ

Frequently asked questions

How do you draw a trendline correctly?
In an uptrend, join two or more clear swing lows with a straight line beneath price; in a downtrend, join swing highs above price. Use wicks or bodies consistently, avoid lines that cut through candle closes, and be wary of lines much steeper than the trend's usual pace. A third touch confirms the line.
How many touches make a valid trendline?
Two points are needed to draw it and a third touch that holds confirms it. That is why the strategy trades the third touch. Lines with many touches are widely watched, but they can also mean the trend is mature, so do not treat more touches as automatically better.
Should trendlines be drawn on wicks or bodies?
Either works, as long as you choose one and keep to it. Wicks are the most common convention. Bodies ignore brief spikes. The mistake is switching between them to make a line fit better, which turns the line into hindsight.
What happens when a trendline breaks?
A decisive close through the line means the trend it described has at least paused. Stop taking bounce trades on that line. Some traders then look for a retest of the broken line from the other side as a reversal entry, but that is a separate setup with its own rules.
Do trendlines work in forex?
Yes, on the 4-hour and daily charts of the major pairs and gold, where swings are clear. On very short timeframes, lines break constantly and the strategy struggles. Treat the line as a zone a few pips wide rather than an exact price.
Trade · Learn · Earn

See strategies on live charts

Every MarketPro signal names its setup and timeframe, with the entry, stop and targets drawn on the chart. Free signals every week, and 320 lessons in the academy.

Same account as the app · No install · Free to start

Not investment advice. Past performance is not indicative of future results.