Trend indicatorsTechnical analysis

Trendlines: What They Are, How to Draw Them and How to Trade a Break

A trendline joins two or more swing lows in an uptrend, or swing highs in a downtrend, and extends them forward. Here is how to draw one with a fixed rule, why the linear and log scales give different breaks, and what followed 6,555 breaks of trendlines drawn by rule on 61 indices and ETFs since 1970.

· Founder of PatternsWizard
Checked 14 min read
Down trendline through swing highs, linear scale, swing points with 10 bars on each side on Bitcoin, daily, September 8, 2025 to May 15, 2026. Illustration of how the tool is drawn, not a backtest.
On this page
  1. How to draw a trendline
  2. A real example: the Bitcoin down trendline of 2025 to 2026
  3. Does a trendline break work? We tested every line drawn by rule
  4. Trading a trendline
  5. Patterns built from trendlines
  6. Trendline or regression line?
  7. Tested on our bench
  8. Frequently asked questions

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.

A trendline is a straight line drawn on a price chart through two or more swing points and extended to the right. In an uptrend it joins rising swing lows and runs under price; in a downtrend it joins falling swing highs and runs above price. As long as price stays on its side of the line, the trend is intact; a close through the line is the first sign that it may be over. Trendlines are a tool of support and resistance: an up trendline is a rising support, a down trendline a falling resistance.

Bitcoin down trendline through two swing highs, linear scale

Down trendline through swing highs, linear scale, swing points with 10 bars on each side on Bitcoin, daily, September 8, 2025 to May 15, 2026. Illustration of how the tool is drawn, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Trendline through October 6, 2025 and January 14, 2026, first close above on April 13, 2026 (solid line, second color)
Down trendline through swing highs, linear scale, swing points with 10 bars on each side on Bitcoin, daily, September 8, 2025 to May 15, 2026. Illustration of how the tool is drawn, not a backtest.

The examples below show how the tool reads on real prices. Further down, we answer the question every trader asks with numbers: we drew trendlines by a fixed rule on 15 stock indices and 46 ETFs, measured what came after 6,555 of their breaks, and compared what came next with random days.

How to draw a trendline

  1. Find the swing points. In a downtrend, the highs; in an uptrend, the lows. To avoid choosing them by eye, use a rule: here, a swing high is a bar whose high is above the highs of the 10 bars before it and the 10 bars after it. That rule has a delay: a swing point is only known 10 bars after it forms, so the line through it can only be drawn from that day on.
  2. Join two of them. Two points always make a line; that alone proves nothing.
  3. Wait for a third touch. A line that price comes back to and respects a third time has held once more after being drawn; two points alone have not been tested. ChartSchool states the rule this way: “It takes two points to draw a trend line, and the third one confirms the validity.”
  4. Choose wicks or bodies, and keep to it. Lines through the highs and lows of the candles and lines through the bodies give different breaks. Neither is right; mixing them on the same chart is wrong.
  5. Check the scale. On a linear chart, the line falls by the same amount of dollars every day; on a logarithmic chart, by the same percentage. Over months, the two lines drift far apart. ChartSchool notes that highs and lows “appear to line up better for trend lines when prices are displayed using a semi-log scale,” especially for long-term lines or after a large change in price.

Drawing an up trendline, and what counts as a break

Drawing an up trendline, and what counts as a break: a rising price with an up trendline through its first and second swing lows; a third low touches the line and confirms it. Near the end, one candle's lower wick goes through the line but the candle closes above it: not a break. The next candle closes below the line: that first close below is the break.
Schematic, not market data. Two points draw the line; the third touch is what tests it.

A real example: the Bitcoin down trendline of 2025 to 2026

On daily Bitcoin, two swing highs by the 10-bar rule stand out at the start of the decline: 126,199.63 on October 6, 2025 and 97,924.49 on January 14, 2026. Here is the line drawn through those two highs, on both scales. The rule that picks them: the highest swing high of the window, then the later swing high that gives the flattest line, so that no later swing high is above it. The January 14 high was confirmed by the rule on January 24, 2026, so this line could be drawn long before price reached it.

  • Linear scale: the line falls by 282.75 dollars a day. On April 10, 2026, the high of 73,434 came within 1% of the line, at 73,607.87. On April 11 and 12, the highs went above the line but the closes stayed below. The first close above came on April 13, at 74,417.99 against a line at 72,759.62.
  • Logarithmic scale: the line falls by 0.2533% a day. On April 17, 18 and 21, the highs went above the line but the closes stayed below. The first close above came on April 22, at 78,178.23 against a line at 76,370.90.

On the log chart, the line falls by a smaller amount at low prices, so it sat higher, and the break came nine days after the linear one, at a price about 5% higher. The same two points, read on two scales, gave two different signals; our guide to linear and log price scales explains why. Note also that this line was never touched a third time before it broke: by the rule of step 3, it was never confirmed.

The same two swing highs, line drawn on a log scale

Down trendline through swing highs, log scale, swing points with 10 bars on each side on Bitcoin, daily, September 8, 2025 to May 15, 2026. Illustration of how the tool is drawn, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Trendline through October 6, 2025 and January 14, 2026 (log scale, curved on this linear axis), first close above on April 22, 2026 (solid line, second color)
Down trendline through swing highs, log scale, swing points with 10 bars on each side on Bitcoin, daily, September 8, 2025 to May 15, 2026. Illustration of how the tool is drawn, not a backtest.

S&P 500 ETF up trendline through two swing lows

Up trendline through swing lows, linear scale, swing points with 10 bars on each side on S&P 500 ETF, dividend-adjusted prices, daily, September 8, 2025 to February 27, 2026. Illustration of how the tool is drawn, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Trendline through November 21, 2025 and January 20, 2026, first close below on February 5, 2026 (solid line, second color)
Up trendline through swing lows, linear scale, swing points with 10 bars on each side on S&P 500 ETF, dividend-adjusted prices, daily, September 8, 2025 to February 27, 2026. Illustration of how the tool is drawn, not a backtest.

In these examples, wicks crossed the line before a close did. A rule based on closes gives fewer and later signals than one based on any touch, and even a close can be reversed the next day.

Does a trendline break work? We tested every line drawn by rule

Two examples cannot say whether a break means anything. So we let a rule draw the lines, with no hand on the chart, on 15 stock indices and 46 ETFs, in daily data from January 2, 1970 to October 28, 2026. Each market starts on its first day in our data, so the early years hold only a few indices. The rule, set before we looked at any result:

  • Swing points. A swing high is a high above the highs of the 10 bars before it and the 10 bars after it, known 10 bars later; a swing low is the reverse.
  • Two points. A down line joins the latest swing high to the most recent earlier swing high that stands above it, at most 250 sessions before, with no high between the two above the line. An up line does the same with the lows. Lines are drawn on a log scale.
  • Third touch. Price must first close more than 1 ATR away from the line (ATR: the 14-day average true range, Wilder's method). The third touch is the first later day whose high comes within 0.25 ATR of a down line, or whose low comes within 0.25 ATR of an up line, with the close still on the right side, once the second point is confirmed.
  • Clean lines only. A line closed through before a third touch is a two-point line, kept apart. A line pierced by a wick by more than 0.25 ATR before a third touch is dropped, because an observer could fairly say it was drawn wrong.
  • Break. The first close through the line, within 250 sessions of the third touch. When two lines broke on the same day in the same market and direction, the break is counted once.
  • Comparison. For every break, a day drawn at random in the same market, 200 times with a fixed seed. If a break means something, the days after it should differ from the days after a random day.

The rule drew 13,909 lines that a trader could have seen in time. 7,134 of them, 51.3%, were touched a third time; 4,654 were closed through before a third touch, and 2,121 were pierced by a wick and set aside.

How long a trendline holds

Once price came back to a confirmed line, the line rarely lasted. The median line broke 3 sessions after its third touch; 64.8% broke within 5 sessions and 83.9% within 20. Only 2.6% were still unbroken 250 sessions after the third touch. Part of this is mechanical: a touch puts price within a fraction of a day's range of the line, so a close through it takes little. But it is also the honest reading of the textbook rule: the third touch that confirms a line is, more often than not, the start of its break.

How long a confirmed trendline held after its third touch

How long a confirmed trendline held after its third touch. 1 to 5 sessions: 64.8%; 6 to 20 sessions: 19.1%; 21 to 60 sessions: 8.3%; 61 to 250 sessions: 5.1%; Still unbroken after 250 sessions: 2.6%. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.Share of 7112 confirmed trendlines, by sessions from the third touch to the first close through the line. Lines still open when our data end are left out.

What follows a break

In the textbook, a close above a down line is a buy signal and a close below an up line a sell signal. Here is the average move after 6,555 breaks, from the close of the break, next to the move after random days in the same markets:

After a trendline break: average move, against random dates

After a trendline break: average move, against random dates. Down line broken upward, 5 sessions: After the break +0.19%, Random dates +0.17%; Down line broken upward, 20 sessions: After the break +0.74%, Random dates +0.70%; Up line broken downward, 5 sessions: After the break +0.25%, Random dates +0.18%; Up line broken downward, 20 sessions: After the break +1.04%, Random dates +0.72%. Our computation; the inputs and the method are in the text.
  • After the break
  • Random dates
Our computation; the inputs and the method are in the text.6555 breaks of trendlines drawn by rule and confirmed by a third touch, on 15 stock indices and 46 ETFs, daily data from 1970-01-02 to 2026-10-28. Price change from the close of the break. Random dates: the same number of days drawn in the same markets, 200 draws, median.
  • Down lines broken upward (3,020 breaks). Prices rose 0.74% on average in the next 20 sessions, against 0.70% after random days. 62 of the 200 random draws did at least as well: the buy signal added nothing we can tell apart from chance. 59.6% of breaks were followed by a rise, against 58.4% of random days.
  • Up lines broken downward (3,535 breaks). The supposed sell signal was followed by a rise of 1.04% on average in 20 sessions, more than the 0.72% after random days (0 of 200 random draws did as well). The share of rises was about the same, 58.9% against 58.8%: a close under a rising line was not followed by a fall, on average, in these markets that mostly rose over the decades.

About half the breaks did not last: after 51.9% of them, price closed back on the other side of the line within 5 sessions. That is no surprise once you see how small a break is: the median break close was 0.33 ATR beyond a down line and 0.43 ATR beyond an up line, less than half a normal day's range.

Does the third touch matter?

ChartSchool says two points draw a line and a third confirms it. We compared the breaks of confirmed lines with the breaks of two-point lines, closed through after they could be drawn but before any third touch (4,123 breaks):

Does the third touch matter? Move 20 sessions after the break

Does the third touch matter? Move 20 sessions after the break. Down line broken upward: after a third touch: After the break +0.74%, Random dates +0.70%; Down line broken upward: two points only: After the break +0.85%, Random dates +0.65%; Up line broken downward: after a third touch: After the break +1.04%, Random dates +0.72%; Up line broken downward: two points only: After the break +0.42%, Random dates +0.72%. Our computation; the inputs and the method are in the text.
  • After the break
  • Random dates
Our computation; the inputs and the method are in the text.Average price change 20 sessions after the first close through the line. Two points only: lines broken after they could be drawn but before any third touch. Random dates: same number of days in the same markets, 200 draws, median.

For down lines, the third touch changed little: 0.74% after a confirmed line, 0.85% after a two-point line, both close to random days. For up lines, breaks of two-point lines were followed by 0.42%, below the 0.72% of random days, while breaks of confirmed lines were followed by 1.04%, above it. The third touch did not make the break of a down line more useful. For up lines it changed the side of the gap, but in neither case was the break of an up line followed by a fall on average.

Trading a trendline

  • The bounce. Buy near an up trendline, or sell near a down trendline, with a stop on the other side. The line gives a clear point where the idea is wrong.
  • The break. Act on a close through the line, or after a retest of the broken line from the other side. On our data, a bare close through a line did no better than a random day, so a break needs a stop, an exit and a test of its own. The trendline breakout strategy covers entries, stops and targets, and our page on the breakout covers false breaks.
  • The trend filter. Take only trades in the direction of the line, and stand aside once it breaks.

Patterns built from trendlines

Two trendlines on the same chart make a pattern: converging lines make a triangle or a wedge, parallel lines a channel. Like the single lines tested above, these patterns are detected by rule and measured on our bench (see our methodology).

Trendline or regression line?

A trading trendline goes through chosen swing points and leaves price on one side. A regression line, like the linear trendline of a spreadsheet chart, is fitted through all the points, with price on both sides. Microsoft describes Excel's linear trendline as the least squares fit of a line, y = mx + b, where m is the slope and b the intercept. It answers a different question: the average direction of the data, not the level where a trend would break.

Moving averages give a curved version of the same idea: the moving average indicator and the Gann HiLo Activator both follow the trend under or above price without drawing anything by hand. More tools are listed with the trend indicators, and the Trend Intensity Index measures how strong a trend is.

Data from our test bench

Tested on our bench

We coded the 2 strategies taught on this page, buy and sell side, and ran them on stocks, ETFs, indices, forex, crypto and commodities. With all markets pooled (daily bars): 1 showed no edge, 1 was inconclusive or not measured.

Close breaks a falling trendlineNo edge found

Entry: Line through the last two confirmed swing highs (5 bars each side), the second lower; signal on the first close above the extended line, within 120 bars of the second swing. Exit: Fixed horizon: 20 bars.

In detail, all markets pooled

On daily bars, the rule fired 147,076 times on 2,350 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 58 bars on each asset.

The average trade returned +1.17% before costs and the median trade +1.01%; 55% of trades made money, and the gains added up to 1.32 times the losses.

A trade lasted 20 bars at the median, half of them between 20 and 20 bars. 100% of trades never met the exit rule and were closed at the maximum holding time.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.14% per trade after costs (95% interval −0.22% to −0.06%).

Signals
147,0762,350 assets, 1970 to 2026
Average trade
+1.17%before costs; median +1.01%
Winning trades
55%profit factor 1.32
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
−0.14%95% interval −0.22% to −0.06%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal50.3%52.3%52.6%54.2%55.0%
Random dates50.5%51.8%52.4%53.3%54.3%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201249,026+0.001%
2012 to 202149,073+0.01%
2021 to 202648,977−0.12%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 39% of 146,316 trades hit the target first, for +0.18 R per trade on average against +0.14 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −97.6% on SUNE, signal of 2025-03-24.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

Close breaks a falling trendline: real trade on WDAY, 2026-09-30, daily chart
Most recentWDAY 2026-09-30 daily chartBought at the close of 2026-09-30 (190.5), sold at the maximum holding time, 20 bars later (204.4): +7.3% before costs.Against the other stocks over the same bars, after costs: +3.4%.Falling trendline (swing highs)
Close breaks a falling trendline: real trade on NBR, 2020-05-08, daily chart
Best tradeNBR 2020-05-08 daily chartBought at the close of 2020-05-08 (14.12), sold at the maximum holding time, 20 bars later (84.16): +496.0% before costs.Against the other stocks over the same bars, after costs: +398.3%.Falling trendline (swing highs)
Close breaks a falling trendline: real trade on SUNE, 2025-03-24, daily chart
Worst tradeSUNE 2025-03-24 daily chartBought at the close of 2025-03-24 (108.0), sold at the maximum holding time, 20 bars later (2.58): −97.6% before costs.Against the other stocks over the same bars, after costs: −97.5%.Falling trendline (swing highs)
Close breaks a falling trendline: real trade on MDU, 2017-10-31, daily chart
Typical tradeMDU 2017-10-31 daily chartBought at the close of 2017-10-31 (7.98), sold at the maximum holding time, 20 bars later (8.07): +1.2% before costs.Against the other stocks over the same bars, after costs: −2.2%.Falling trendline (swing highs)

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily126,474+1.30%56%−0.12%No edge found
ETFsdaily4,124+0.93%60%+0.02%No edge found
Indicesdaily2,156+0.92%62%n/aNot measured
Forexdaily1,623−0.03%51%−0.13%No edge found
Cryptodaily11,368+0.11%41%−0.40%No edge found
Commoditiesdaily1,331+0.74%52%−0.07%No edge found
All markets4-hour82,541+0.01%46%−0.29%Lagged the market
Forex4-hour9,696+0.003%50%−0.03%No edge found
Crypto4-hour72,845+0.01%46%−0.33%Lagged the market
All marketsweekly23,658+4.36%57%−0.73%Inconclusive
Stocksweekly20,735+4.43%58%−0.81%Lagged the market
ETFsweekly703+2.78%60%−0.35%No edge found
Indicesweekly378+3.77%65%−0.40%No edge found
Forexweekly351−0.50%46%−0.50%No edge found
Cryptoweekly1,217+5.85%33%n/aNot measured
Commoditiesweekly274+4.42%56%+1.44%No edge found
Close breaks a rising trendlineInconclusive

Entry: Line through the last two confirmed swing lows (5 bars each side), the second higher; signal on the first close below the extended line, within 120 bars of the second swing. Exit: Fixed horizon: 20 bars.

In detail, all markets pooled

On daily bars, the rule fired 170,802 times on 2,351 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 50 bars on each asset.

The average trade returned −0.89% before costs and the median trade −0.82%; 46% of trades made money, and the gains added up to only 0.80 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 20 bars at the median, half of them between 20 and 20 bars. 100% of trades never met the exit rule and were closed at the maximum holding time.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.03% per trade after costs (95% interval −0.09% to +0.04%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
170,8022,351 assets, 1970 to 2026
Average trade
−0.89%before costs; median −0.82%
Winning trades
46%profit factor 0.80
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
−0.03%95% interval −0.09% to +0.04%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal48.0%47.7%46.7%46.5%45.6%
Random dates48.2%47.4%47.0%46.1%45.2%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201256,961+0.11%
2012 to 202056,944+0.01%
2020 to 202656,897+0.12%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 28% of 169,856 trades hit the target first, for −0.15 R per trade on average against −0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −668.0% on LUNA/USDT, signal of 2021-01-21.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

Close breaks a rising trendline: real trade on ADA/USDT, 2026-10-08, daily chart
Most recentADA 2026-10-08 daily chartSold short at the close of 2026-10-08 (0.2322), bought back at the maximum holding time, 20 bars later (0.2061): +11.2% before costs.Against the other crypto pairs over the same bars, after costs: +1.2%.Rising trendline (swing lows)
Close breaks a rising trendline: real trade on CYN, 2025-01-27, daily chart
Best tradeCYN 2025-01-27 daily chartSold short at the close of 2025-01-27 (66.00), bought back at the maximum holding time, 20 bars later (6.04): +90.8% before costs.Against the other stocks over the same bars, after costs: +90.4%.Rising trendline (swing lows)
Close breaks a rising trendline: real trade on DOGE/USDT, 2021-01-25, daily chart
Worst tradeDOGE 2021-01-25 daily chartSold short at the close of 2021-01-25 (0.008351), bought back at the maximum holding time, 20 bars later (0.0627): −650.6% before costs.Against the other crypto pairs over the same bars, after costs: −226.7%.Rising trendline (swing lows)
Close breaks a rising trendline: real trade on CATY, 2018-08-10, daily chart
Typical tradeCATY 2018-08-10 daily chartSold short at the close of 2018-08-10 (31.91), bought back at the maximum holding time, 20 bars later (32.22): −1.0% before costs.Against the other stocks over the same bars, after costs: +1.0%.Rising trendline (swing lows)

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily147,043−1.12%45%−0.07%No edge found
ETFsdaily5,469−0.89%41%−0.06%No edge found
Indicesdaily2,891−0.71%42%n/aNot measured
Forexdaily1,689−0.01%50%+0.04%No edge found
Cryptodaily12,237+1.75%61%+0.45%Inconclusive
Commoditiesdaily1,473−0.54%49%+0.09%No edge found
All markets4-hour84,303+0.07%53%−0.11%No edge found
Forex4-hour10,165+0.001%49%−0.02%No edge found
Crypto4-hour74,138+0.08%54%−0.12%No edge found
All marketsweekly31,853−5.25%39%−0.25%No edge found
Stocksweekly28,319−5.99%38%−0.21%No edge found
ETFsweekly1,073−3.51%34%−0.38%No edge found
Indicesweekly582−4.41%30%−0.08%No edge found
Forexweekly331−0.93%47%−0.79%Lagged the market
Cryptoweekly1,253+7.85%74%n/aNot measured
Commoditiesweekly295−2.03%46%+0.17%No edge found

Each strategy enters at the close of the signal bar and exits at the exit it teaches, without a stop. The test compares the asset with an equal-weight basket of the other assets of its market over exactly the same bars, net of trading costs; for a sell signal, beating the market means the asset did worse than the others. A result is shown as beating or lagging the market only when it survives a correction for the number of tests and holds in both halves of the history; it is marked fragile when entering at the next open, doubling costs or trimming extreme trades removes it. Daily index bars are not compared with other indices, because their closes fall at different hours; “Not measured” also covers samples too small to test. Rules were fixed before any result was seen. How we test

Frequently asked questions

What do trend lines do?

They show the direction of a trend and the level where it would be broken: under rising lows in an uptrend, above falling highs in a downtrend. Traders use them as support or resistance, and a close through the line as a warning that the trend may be over.

Do trendline breaks work?

Not on their own, on our data. Over 6,555 breaks of trendlines drawn by rule on 61 indices and ETFs since 1970, prices 20 sessions after a break of a down line were up 0.74% on average, against 0.70% after random days; after a break of an up line they were up 1.04%, not down. About half the breaks closed back across the line within 5 sessions.

How long does a trendline last?

Not long once price comes back to it. On our data, a line confirmed by a third touch broke a median of 3 sessions after that touch, and only 2.6% were still unbroken 250 sessions later.

How do you draw a trendline correctly?

Join two swing lows in an uptrend, or two swing highs in a downtrend, chosen by a fixed rule, then wait for a third touch. Keep to wicks or to bodies, and check whether your chart is on a linear or log scale.

What is the slope of a trendline?

The change in price per bar along the line. On a linear chart it is a fixed amount, for example −282.75 dollars per day on the Bitcoin line above; on a log chart it is a fixed percentage, −0.2533% per day for the same two points.

How do you make a trendline in Excel?

Excel adds a trendline to a chart series, linear or of other types such as exponential, logarithmic, polynomial, power or moving average. Its linear trendline is a least squares fit through all the points: a regression line, not a trading trendline through swing points.

What is the difference between a trendline and a regression line?

A trendline is drawn through selected swing points and leaves price on one side; a regression line is fitted through every point and splits price on both sides. The first marks a break level, the second an average direction.

Sources

  1. StockCharts ChartSchool, Trend Lines
  2. Microsoft Support, Trendline options in Office
, 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 trend indicators articles