V.6:7 (254-254): Fitting a trendline by least squares by Arthur A. Merrill

V.6:7 (254-254): Fitting a trendline by least squares by Arthur A. Merrill
Item# \V06\C07\LEASTSQ.PDF
$2.95
Availability: In Stock

Product Description

Fitting a trendline by least squares by Arthur A. Merrill

Trendlines usually are drawn through tops or bottoms. They also are 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 doubt can be resolved by a mathematically calculated line called "least squares" (Figure 2). The deviations of the points from the line are A, B, C, D and E. 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."

Now, the formula for a straight line is:

Y = A + BX

X is the value of the X axis and 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 regression line. X is the value of the X axis.




FOR THOSE ORDERING ARTICLES SEPARATELY:
*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