Chapter progress:

Support and resistance trend lines are useful for gauging the location of the current price within a range of likely prices and for setting stops and targets. You can draw a support line and see if the accompanying resistance line is parallel, or force the resistance line to be parallel, even if it breaks a few spiky outliers. The classic trend channel is therefore formed by parallel lines representing support and resistance.

The problem with a channel devised from parallel support and resistance lines is that they tend not to be very long-lasting. Prices simply do not move in such a tidy fashion for very long. And worse, if the channel is very narrow, it will be easily broken. The purpose of a breakout is to signal the end of a move, but a narrow channel breakout can easily be just a random aberration. If the channel is wide, you can feel comfortable that a breakout is authentic, but by the same token, your stop and target established by the lines may not be appropriate to your personal risk appetite.

The Linreg Channel

A better way to draw a channel is to center it on a linear regression line. The technique for doing this is to add the numerical value of two standard errors to the linreg to form the channel top and to subtract them from the linreg to form the bottom. This is exactly the same process as used in forming a Bollinger band by adding and subtracting standard deviations relative to the 20-period moving average. What is the difference between a standard error and a standard deviation?

You do not really need to know the exact statistical concepts to be able to use these two measures, but here goes anyway. Standard deviation is a measure of dispersion away from a mean, like the moving average in the instance of Bollinger bands. SD measures variability, or volatility. You start out by taking the difference between a price and the average of the prices for the period, squaring the difference, dividing by the number of periods, and taking the square root. Aren’t you glad you asked?

Standard error, in contrast, measures how closely prices cling to the linear regression line. The closer prices are to the linear regression line, the less variability away from the regression line and the stronger the trend. If you have a price that is very far away from the line, a real outlier, the SE is a high number. High numbers are noise. If the price is right on the regression line, the SE is zero and therefore the price is literally “on trend.” The figure below shows an example chart. In practice, you would never display standard deviation (blue) or standard error (red) in this manner, but the chart shows that standard deviation has far bigger peaks and valleys as it measures variation away from the average (in this case, 10 days). The red standard error is less spiky and means the variations, while sometimes extreme and thus denoting noisiness, are not so abnormal.

Standard deviation vs. standard error
Standard deviation and standard error lines on the same chart

Linear regression channels suffer from the same limitation that the linear regression has — you have to start and end the line yourself, always a subjective exercise. A good rule is to start and end at an obvious high or low, extending the lines artificially to project where support and resistance will lie if the trend continues at the same slope and speed.

The linreg channel on the chart below was drawn starting at the lowest low and ending at the highest high, with the projection marked in red dotted lines. Right away you can see that over this time period, the price occasionally broke the channel lines — on one occasion — but the channel accurately displays the ebb and flow of the prices. Note that over these eight months, the price seems to cycle between the channel top and the channel bottom. At the end of the price bars, you should have the idea that while the last few prices are headed for the channel bottom, the overall move is upward. If the price continues to the very bottom, you have just identified the ideal entry point for a long position. You also know your stop — some number of points below the channel bottom — and your target — the channel top. At the least, you expect the price to return to the center linear regression.

Linear regression channel
Linear regression channel encloses price

A few words of caution, though: the price will not always neatly hit the top and obediently turn around to hit the bottom. The last high on this chart did not hit the top before reversing downward. The linear regression channel is a thing of beauty that delivers perspective when you may not know what is going on, and it may offer trading rules, too, in terms of entries and exits, but that is if you are trading a long timeframe. For immediate practicality, you want to get out of a long position when the currency is retracing some of the gains. You can prepare to do that by adding bar-reading (failure to match the highest highs for three days running) or other indicators.

The chart below superimposes two red support lines over the channel chart. The first support line (S1) starts at the recent lowest low and would have you exit after the correction has already progressed for two days. The second, shorter support line (S2) gets you out on the breakout day itself. Another useful indicator for this set of conditions is the relative strength index (RSI). The vertical line marks where the RSI indicator in the bottom window is yelling that the upmove is fading and you should consider an exit — two days ahead of the downside breakout day.

Linear regression channel with RSI
Relationship between regression channel, support lines, and RSI

Fractal Quality

As you should know by now, Forex prices exhibit a fractal quality — you cannot tell in what timeframe a chart is drawn unless it is labelled. An hourly chart will look like a daily chart because trader behavior tends to be the same in each timeframe. See the next chart for the linear regression channel on the hourly chart. Again, the channel is drawn from the highest high to the lowest low and projected out from there. Notice that we had four downside breakouts in a downtrending move while none of the highs surpasses the channel top. If we believe that the trend is well-founded and also if we believe in the central tendency (that prices will cluster around the linreg), we want to be sellers at the point where the price series ends (a Friday close, by the way). As with linreg channels on daily charts, you can use the channel lines to set stops and targets, although it is always a good idea to apply a few other indicators, too.

Linreg on hourly timeframe
Linear regression channel on H1 chart

Did You Know?

Over the years, analysts have devised a number of variations on the linear regression channel that make it more trader-friendly. For example, Gilbert Raff recommends adding to the two standard deviations so that it is virtually impossible for any price to break the channel. The extra Raff cushion ensures that you will not take profit prematurely or get stopped out on an aberrant spike.


1. Channels are formed by

2. Standard error measures

3. You can set stops and targets at the channel lines, just as with support and resistance.

4. What does “fractal” mean?