I am trying to understand how trend lines are calculated, but looking at an example I found online I am having trouble understanding how the trendline was calculated.

Where it says 1. Trendline break, you could have drawn a line from that low point and the trend would have still been an uptrend.

So how was that point considered a 'trendline break'?

How do you calculate where the uptrend start and where it ends?

  • Should probably rename this post as you are not asking how to do the calculation itself judging by the answer you selected.
    – Ross
    Nov 23, 2016 at 18:10
  • 1
    The answer I selected gives information on how to calculate the trend(s) If you know of an actual formula, I am more than happy to look at it, (and I am able to change the accepted answer if need be). Nov 23, 2016 at 18:51

1 Answer 1


An uptrend-line, by definition, needs to touch a minimum of 2 low points but the more low points it touches the higher the confirmation of the trend. Note that many times you might get the low of the day crossing below the trend-line but it then closes back above the trend-line - this would not be considered a break of the trend-line as it needs to close below the trend-line.

A downtrend-line, by definition, needs to touch a minimum of 2 high points but the more high points it touches the higher the confirmation of the trend.

The trend-line is used to give a visual indication of the trend. If you have a trend-line drawn that touches at least 2 points and then try to redraw it when there is a close below it then you are curve fitting the trend-line to suit your biases, and that will not end up well if you are using it to trade with. Also note that sometimes you might have an existing uptrend-line drawn, and then the price starts moving higher at a faster rate - so in this case you might consider drawing a secondary steeper uptrend-line. If the steeper uptrend-line is broken you are still in the original uptrend until that line is broken. The same would be the case with downtrend-lines.

You have picked up on one problem with trend-lines, different people can place different trend-lines on the same chart based on their biases. For example, some can use the low of the day for the points the trend-line touches whilst others may use the closing prices. You should choose what you want to use as your criteria and then be consistent each time you draw a trend-line.

For this reason, a better way to determine the status of any trend is to use price action itself. The definition of an uptrend is higher highs and higher lows. The definition of a downtrend is lower lows and lower highs. In using this definition to determine the trend there is no bias as you are using price action itself, and not any indicator derived from the price action and in which you can change parameters to get different results.

So in using this definition you can determine the start and end of an uptrend and downtrend. As a downtrend is defined by lower lows and lower highs, when you get a higher low and then confirmed with a higher high, the downtrend would have ended and an uptrend would have started.

Similarly, as an uptrend is defined by higher highs and higher lows, when you get a lower high and then confirmed with a lower low, the uptrend would have ended and a downtrend would have started.

Many times a trend may end without the opposite trend commencing and the price simply moves sideways in a trading range for a period before the original trend continues or the opposite trend commences. Also, you can have a trend within a trend. The price might be in an uptrend on the daily chart, however, on the weekly chart it is in a downtrend. So the trend will depend on the time frame you trade in and period of time you hold on to positions. It is no use looking at the weekly trend if you hold positions for a few days, and it is no use looking at the hourly trend if you plan to hold positions for months or years.

The more charts you look at to determine the status of any trend and draw in trend-lines, the better you will get at reading trends and changes in trends. Good luck.

  • Many thanks for your detailed answer, when you say, "higher highs and higher lows, ... lower high and then confirmed with a lower low", following this rule, in the example I gave, we can say that the uptrend was broken after the 7th candle, so why did that uptrend continue? or is it because it was not confirmed on the next candle? But if that's the case, it was then broken on the 18th candle... or are they just not following the same rule? Nov 23, 2016 at 6:36
  • 1
    @SimonGoodman - if you are referring to the charts in the link you provided, then the first chart has not shown a change in trend yet, only a break in the trend-line. Chart 2 then shows a lower high which means the trend may be about to change, but the uptrend has actually not ended yet as it has not been confirmed by a lower low. Chart 3 then shows a lower low following the lower high, so the uptrend has ended at this point - the point where the price closed below the previous low, and a new downtrend has commenced.
    – Victor
    Nov 23, 2016 at 7:01
  • thanks but looking at Chart 1, how was that particular trend line calculated? It could have been a shallower trendline and there wouldn't have been a break at all. Nov 23, 2016 at 8:16
  • @SimonGoodman - as I said different people will draw the trend line in different places, but even with the break through the trend line the trend has not ended yet. The trend line here is only used as an early warning system to say - the trend may be weakening - keep a close eye on things. The trend has not ended until the previous low is broken in chart 3. The trend-line was placed in that place to represent 3 touches of that line, if you move it shallower so that you can say it was not broken, then that is curve fitting and could be dangerous, and it was broken anyway about 1 month after.
    – Victor
    Nov 23, 2016 at 8:59
  • Ok, if I understand correctly, the trend line in this case made up of 3 points, (maybe 4 if we include the first one), when a point falls below the line we have a 'break', but it has not ended yet, when it falls below point number #3 then uptrend has ended. The devil is in finding the 3 or more points that will make up the trend. The more points the more 'reliable' the chosen trend is. Nov 23, 2016 at 9:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .