V.9:12 (486-487): Fitting a Trendline by Least Squares by Arthur A. Merrill, C.M.T.

V.9:12 (486-487): Fitting a Trendline by Least Squares by Arthur A. Merrill, C.M.T.
Item# \V09\C12\FITTIN.PDF
Availability: In Stock

Product Description

Fitting A Trendline By Least Squares by Arthur A. Merrill, C.M.T.

Usually, trendlines are drawn through tops or bottoms. They are also drawn through the center of prices by a lagged moving average or by eye (Figure 1). A straight line through the center of a price channel, if the scale is logarithmic, will give you the percentage growth or decline rate.

If the straight line is drawn by eye, it is subject to debate. This question can be resolved by a mathematically calculated line called "least squares" (Figure 2). The deviations of the points from the line are marked A, B, C, D and E in Figure 2. The line produced by the least squares calculation reduces the sum of the squares of these deviations to a minimum, hence the name "least squares."

The formula for a straight line is:

Y = a + bX

where X is the value of the X (horizontal) axis. When X is zero, Y equals a, which is called the Y intercept (Figure 3). The distance from this level up to the line is bX, which is directly proportional to b, the slope of the line.

*Note: $2.95-$5.95 Articles are in PDF format only. No hard copy of the article(s) will be delivered. During checkout, click the "Download Now" button to immediately receive your article(s) purchase. STOCKS & COMMODITIES magazine is delivered via mail. After paying for your subscription at store.traders.com users can view the S&C Digital Edition in the subscriber's section on Traders.com.

Take Control of Your Trading.
Professional Traders' Starter Kit
All these items shown below only $299.99!
  • 5-year subscription to Technical Analysis of STOCKS & COMMODITIES, The Traders' magazine. (Shipping outside the US is extra. Washington state addresses require sales tax based on your locale.)
  • 5 year access to S&C Archive
  • 5 year access to S&C Digital Edition
  • 5-year subscription to Traders.com Advantage.
  • 5-year subscription to Working Money.
  • Free book selection.
  • Click Here to Order