pad

Click to enlarge

Stocks & Commodities V. 22:10 (86): Sidebar: Fitting a trendline by least squares by Arthur A. Merrill

Stocks & Commodities V. 22:10 (86): Sidebar: 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. 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.” The deviations of the points from the line are A, B, C, D and E in Figure 1. 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


\V22\C10\226sb.pdfpad$2.95pad



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.


Take Control of Your Trading.
Professional Traders' Starter Kit
All these items shown below only $495!
  • 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.)
  • S&C on DVD 10.25 plus next year's upgrade FREE!
  • 5-year subscription to Traders.com Advantage.
  • 5-year subscription to Working Money.
  • Free book selection.
  • Save up to 54% by purchasing today. Limited time offer. By purchasing today you also receive your choice of one volume from the Professional Traders' Series (Volumes 1-17 or Charting The Stock Market) for FREE!

    NOTE: Use the "comment" field during checkout to tell us which book you would like to receive.

    Click Here to Order
    You save $502.31 plus the value of the book you choose over the regular price of these items. Offer ends soon.



    Stocks & Commodities magazine Copyright © 1996-2008 Technical Analysis, Inc. All rights reserved. Read our privacy statement. Visit our main Website. www.traders.com

    Phone 1(800) 832 4642 or (206) 938 0570