Technical analysis

Trendline Breakout Strategy: Entry, Stop and Exit, Step by Step

A trendline breakout strategy buys the first close above a down trendline, or sells the first close below an up trendline, with a stop and an exit set in advance. Here are the rules step by step, applied to two real breaks, then tested on 6,555 breaks of trendlines drawn by rule on 61 indices and ETFs since 1970, against the same trades on random dates.

· Founder of PatternsWizard
Checked 11 min read
Down trendline through swing highs, linear scale, swing points with 10 bars on each side on S&P 500 ETF, dividend-adjusted prices, daily, December 5, 2024 to May 30, 2025. Illustration of how the tool is drawn, not a backtest.
On this page
  1. The rules, step by step
  2. Example 1: the S&P 500 ETF, April 2025
  3. Example 2: Bitcoin, November 2025
  4. The rules on 6,555 breaks: does the strategy make money?
  5. What makes a trendline break more or less reliable
  6. Frequently asked questions

A trendline breakout strategy trades the moment price closes through a trendline: a close above a falling line that joins lower highs is a buy signal, a close below a rising line that joins higher lows is a sell signal. The idea is that the trend the line described is over. ChartSchool puts it this way for a down trendline: as long as prices remain below it, the downtrend is intact, and a break above it means a trend change "could be imminent". Could be: a break is a warning, not a guarantee, so the strategy is only as good as its stop and its exit.

Break of a down trendline on the daily S&P 500 ETF, April 2025

Down trendline through swing highs, linear scale, swing points with 10 bars on each side on S&P 500 ETF, dividend-adjusted prices, daily, December 5, 2024 to May 30, 2025. Illustration of how the tool is drawn, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Trendline through February 19, 2025 and March 25, 2025, first close above on April 24, 2025 (solid line, second color)
Down trendline through swing highs, linear scale, swing points with 10 bars on each side on S&P 500 ETF, dividend-adjusted prices, daily, December 5, 2024 to May 30, 2025. Illustration of how the tool is drawn, not a backtest.

The rules, step by step

  1. Find the swing points with a rule. Here, a swing high is a bar whose high is above the highs of the 10 bars before and the 10 bars after it; a swing low is the reverse. The rule has a delay: a swing point is known 10 bars after it forms.
  2. Draw the line through two of them. For a down trendline, from the highest swing high of the chart to the later swing high that gives the flattest line with no later swing high above it; for an up trendline, the same with the lows. ChartSchool notes that two points draw a line and a third confirms it.
  3. Wait for a close beyond the line. An intraday poke through the line is not a break; the close is.
  4. Enter at the next open. You only know the close is beyond the line once the bar is over. A more patient variant waits for price to come back and test the broken line from the other side: the stop can be closer, but the breaks that never come back are missed.
  5. Put the stop beyond the breakout bar. Below its low for a long trade, above its high for a short.
  6. Exit on a rule set in advance. Here, at the close 20 sessions after the breakout, unless the stop is hit first. A target, such as a prior swing or a measured move, is another choice; what matters is to decide before the trade.

Signal, entry, stop and exit of a trendline breakout trade

Signal, entry, stop and exit of a trendline breakout trade: a falling price under a down trendline drawn through two lower highs. A candle closes above the line: that is the signal. The trade enters at the next open, just after it. A dashed stop level sits under the low of the signal candle. Price rises to an exit point set by a rule decided before the trade.
Schematic, not market data.

Example 1: the S&P 500 ETF, April 2025

On the daily S&P 500 ETF (dividend-adjusted prices), the rule draws a down trendline through the swing highs of February 19, 2025 (601.41) and March 25, 2025 (567.00). The ETF fell to a low on April 7, then rallied back toward the line.

  • Signal: on April 24, 2025, the ETF closed at 537.77, above the line at 536.90.
  • Entry: the next open, April 25, at 537.73.
  • Stop: under the low of the breakout bar, 526.71, 2.0% below the entry.
  • What followed: the lowest low over the next 20 sessions was 532.68 on April 30, above the stop. The close stayed above the line every day.
  • Exit: at the close 20 sessions after the breakout, May 22, 2025, at 573.58: a gain of 6.7% before costs, more than three times the risk taken.

Break of an up trendline on daily Bitcoin, November 2025

Up trendline through swing lows, linear scale, swing points with 10 bars on each side on Bitcoin, daily, May 14, 2025 to November 29, 2025. Illustration of how the tool is drawn, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Trendline through June 22, 2025 and October 10, 2025, first close below on November 4, 2025 (solid line, second color)
Up trendline through swing lows, linear scale, swing points with 10 bars on each side on Bitcoin, daily, May 14, 2025 to November 29, 2025. Illustration of how the tool is drawn, not a backtest.

Example 2: Bitcoin, November 2025

On daily Bitcoin, the rule draws an up trendline through the swing lows of June 22, 2025 (98,200) and October 10, 2025 (102,000).

  • Signal: on November 4, 2025, Bitcoin closed at 101,497.22, below the line at 102,863.64.
  • Entry (short): the next open, November 5, at 101,497.23.
  • Stop: above the high of the breakout bar, 107,299.00, 5.7% above the entry.
  • What followed: the price did not leave the line. It closed back above it on November 5, below on November 6, above on November 7, below on November 8, above on November 9 and 10. On November 11 the high reached 107,500.00 and hit the stop, for a loss of 5.7% on the short: (101,497.23 − 107,299.00) / 101,497.23.
  • And then: the same day Bitcoin closed back below the line, and it did not close above it again in the window. It fell to a low of 80,600 on November 21. Twenty sessions after the breakout, on November 24, it closed at 88,300.01, 13.0% below the breakout close.

The two trades, by the rules and without the stop

The two trades, by the rules and without the stop. S&P 500 ETF long, April 2025: exit day 20: +6.7%; Bitcoin short, November 2025: stopped: −5.7%; Same Bitcoin short held 20 days, no stop: +13.0%. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.Result of each trade from the entry at the next open, before costs. The third bar is not a rule we traded: it shows what the stop cost on that break.

The rules on 6,555 breaks: does the strategy make money?

Two trades prove nothing, so we ran the same rules on every break of a trendline drawn by rule on 15 stock indices and 46 ETFs, in daily data from January 2, 1970 to October 28, 2026. The lines are the ones of our trendlines test, a stricter version of steps 1 and 2: swing points of 10 bars on each side, the latest swing high joined to the most recent higher one at most 250 sessions before with no high above the line between them (the lows for an up line), a log scale, and a third touch within 0.25 ATR before the line counts. Lines pierced by a wick before that third touch are dropped. Then the trade:

  • Entry: the next open after the first close through the line; long on a down line, short on an up line.
  • Stop: beyond the breakout bar, under its low for a long trade, above its high for a short; if the open is already beyond the stop, the trade exits at the open.
  • Exit: the close 20 sessions after the break, unless the stop is hit first.
  • Costs: 0.05% of the price per round trip on indices and ETFs.
  • Comparison: the same trades, same side, same stop rule and same exit, from days drawn at random in the same markets, as many as there were breaks, 200 times with a fixed seed.

Trendline breakout trades against the same trades on random dates

Trendline breakout trades against the same trades on random dates. Long on down-line breaks, with stop: Trendline breaks +0.25%, Random dates +0.11%; Long on down-line breaks, no stop: Trendline breaks +0.66%, Random dates +0.61%; Short on up-line breaks, with stop: Trendline breaks −0.47%, Random dates −0.19%; Short on up-line breaks, no stop: Trendline breaks −1.08%, Random dates −0.73%. Our computation; the inputs and the method are in the text.
  • Trendline breaks
  • Random dates
Our computation; the inputs and the method are in the text.Average result per trade after costs, in % of the entry price. 6555 breaks of trendlines drawn by rule and confirmed by a third touch, 15 stock indices and 46 ETFs, daily data from 1970-01-02 to 2026-10-28. Entry at the next open, stop beyond the breakout bar, exit at the close 20 sessions after the break. Random dates: same markets, same number of trades, same side and rules, 200 draws, median.

The result, side by side:

  • Long on breaks of down lines (3,020 trades). With the stop, the average trade earned 0.25% against 0.11% on random dates, but only 23.5% of trades were winners: the stop, a median 1.03% under the entry, was hit in 74.6% of trades. Part of that gap comes from the stop itself: on random dates, the same stop rule sat a median 0.72% under the entry and was hit in 83.3% of trades, so random trades were stopped out more often. Without the stop, the cleaner comparison, breaks earned 0.66% per trade against 0.61% on random dates, and 70 of 200 random draws did as well.
  • Short on breaks of up lines (3,535 trades). The short side lost more than random dates, with or without the stop: 0.47% per trade lost with the stop against 0.19% on random dates, 1.08% without it against 0.73%. In these mostly rising markets, prices tended to recover after a close under a rising line.

All trades together, with the stop, the rules lost 0.14% per trade, against a loss of 0.05% on random dates; 197 of the 200 random draws did at least as well. By decade, the breaks did better than random dates in 3 of 6 decades, the early ones with few markets and few trades, and worse in every decade since 2000:

All breakout trades by decade, with the stop

All breakout trades by decade, with the stop. 1970s (59 trades): Trendline breaks +0.27%, Random dates −0.23%; 1980s (94 trades): Trendline breaks +0.38%, Random dates +0.24%; 1990s (401 trades): Trendline breaks +0.49%, Random dates +0.11%; 2000s (1847 trades): Trendline breaks −0.13%, Random dates −0.11%; 2010s (2446 trades): Trendline breaks −0.19%, Random dates −0.06%; 2020s (1708 trades): Trendline breaks −0.26%, Random dates −0.04%. Our computation; the inputs and the method are in the text.
  • Trendline breaks
  • Random dates
Our computation; the inputs and the method are in the text.Average result per trade after costs, long and short together, in % of the entry price; random dates drawn in the same markets with the same sides, kept when they fall in the decade (200 draws, median). Fewer markets before the 1990s.

Our reading: a close through a trendline, traded with these rules, did not beat the same trades taken on random days once the stop's effect is set aside. The buy side earned about what any long position earned in these markets; the sell side lost a little more than a random short. If you trade trendline breaks, the edge has to come from something else: the market, a filter such as the level of a prior swing, or the exit. Test it before you trust it.

What makes a trendline break more or less reliable

  • Touches. ChartSchool calls a line valid after a third touch; a line through two points is only a hypothesis.
  • Slope. ChartSchool warns that the steeper the line, the less meaningful the support or resistance, and that trading the break of a steep line is difficult.
  • Scale. Over long periods, a line on a logarithmic chart breaks at a different date from the same line on a linear chart.
  • Volume. Some traders want the breakout bar on heavy volume. Our two examples show why that rule needs its own test: the winning S&P 500 ETF break of April 24, 2025 came on 0.59 times its 20-session average volume, an average still swollen by the selloff of early April, while the losing Bitcoin break of November 4, 2025 came on 2.47 times its 20-day average, in our series from one exchange. A volume filter would have skipped the winner and taken the loser.
  • Confirmation by levels. ChartSchool suggests checking a break against horizontal support and resistance or the sequence of peaks and troughs.

A trendline break is one kind of breakout, and it has the same failure mode: a close beyond the line followed by a close back inside within a few sessions, the bull trap or bear trap. Other tools of technical analysis can serve as filters; our test above shows that the bare close through a line, without one, did no better than a random day, and that about half of all breaks closed back across the line within days, as measured on our trendlines page. The chart patterns built from two converging trendlines are measured; the method is described in how we test patterns.

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 152 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

The PDF by email, plus our newsletter: new tests and results that change. Unsubscribe anytime. Privacy.

Frequently asked questions

What is a trendline breakout?

A close beyond a trendline: above a falling line that joins lower highs, or below a rising line that joins higher lows. It warns that the trend the line described may be over.

How do you confirm a trendline breakout?

Wait for a close beyond the line, not an intraday move. A break that also clears a horizontal level or a prior swing point, or that comes after a line with three touches, carries more weight.

Where do you put the stop on a trendline breakout?

Beyond the extreme of the breakout bar, or beyond the last swing point for a wider stop. A tight stop can be hit in the days after a break, as on Bitcoin in November 2025; a wide one costs more when the break fails. In our test, a stop beyond the breakout bar sat a median 1.03% from the entry on long trades and was hit within 20 sessions in 74.6% of them.

Is a trendline breakout strategy profitable?

Not by these rules on our data. Over 6,555 breaks of trendlines drawn by rule on 61 indices and ETFs since 1970, with a stop beyond the breakout bar and an exit 20 sessions later, the average trade lost 0.14% after costs, against a loss of 0.05% for the same trades on random dates. Long trades without the stop earned 0.66%, about what random dates earned (0.61%).

Sources

  1. StockCharts ChartSchool, Trend Lines
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

Related guides

All technical analysis articles