Categories
Search
 

Web

TigerShark
Popular Authors
  1. Dave Mecklenburg
  2. Momentum Trader
  3. Candlestick Trader
  4. Stock Scalper
  5. Pullback Trader
  6. Breakout Trader
  7. Reversal Trader
  8. Mean Reversion Trader
  9. Frugal Trader
  10. Swing Trader
  11. Canslim Investor
  12. Dog Investor
  13. Dave Landry
  14. Art Collins
  15. Lawrence G. McMillan
No popular authors found.
Website Info
 Free Festival of Traders Videos
Article Options
Popular Articles
  1. A 10-Day Trading System
  2. Use the Right Technical Tools When You Trade
  3. Which Stock Trading Theory Works?
  4. Conquer the Four Fears
  5. Advantages and Disadvantages of Different Trading Systems
No popular articles found.
A Look at Regression Lines And Channels
By Price Headley | Published  04/2/2009 | Currency , Futures , Options , Stocks | Unrated
A Look at Regression Lines And Channels

Linear regression, regression lines and regression channels can be useful tools in technical analysis. In its mathematical form linear regression examines how two variables (labeled X and Y) interact with each other. Theoretically, you know the values for X and Y and you are searching for the best straight line through the data filling the gap between the two. Often the formula will be used to find values for X using Y, or for Y using X.

Let's now look at how to use linear regression in technical analysis. Simply stated, a linear regression trendline is drawn between two points using the least squares method (defined as a statistical formula that fits a straight line through a set of points so the sum of the squared distances from X and Y to the line is lessened). The formulas used for the least squared method involves quite a bit of calculus and other fun math. For those wanting the formula, here you go: Y= a + bX + u, where Y is the variable to predict, X is the variable used to predict Y, a is the intercept, b is the slope, and u is the regression residual.

In technical analysis, linear regression theoretically helps examining a chart by showing what could be considered a "fair" or "average" value at a moment in time. Using the least squares method, draw a trendline between two points. The trendline will fall right at the middle of the prices. The chart below shows a linear regression trendline, drawn on a monthly chart of the Dow Jones Industrial Average.

Monthly DJIA Chart with Linear Regression Trendline


You can see from the above chart that a Linear Regression line is basically a fixed "best fit" line. These can be useful for purposes such as tracing retracement rallies and fibonacci sequences. You can also "roll" these lines by moving them forward each day (or unit) based on a fixed number of back data ... this could be called a Rolling Regression Line. The following chart shows an example of this.

Daily AAPL Chart with 14 Unit Regression Line


The next step that many utilize from here is to make the Rolling Line into a "Regression Channel", usually through the use of Standard Deviations that create a Top and Bottom Band around the middle line. These can then be utilized to determine support, resistance, breakout, re-test, and acceleration areas.

Price Headley is the founder and chief analyst of BigTrends.com.