Trading Systems | DEC 2007
Confirming Price Trend by Barbara Star, PhD
Confirming Price Trend by Barbara Star, PhD Regression And R-Squared, Together Again Confirming Price Trend Here’s a technique using linear regression slope and r-squared to confirm the price trend. Linear regression is a statistical method some traders use to filter the static, or “noise,” created by day-to-day or bar-to-bar price movements. Using the least-squares method, it minimizes the amount of deviation among price values to determine a best-fit line. In an earlier STOCKS & COMMODITIES article, I showed that applying a linear regression indicator to price creates less lag and more trading opportunities than a moving average of the same length. As useful as the linear regression indicator is for detecting price shifts, two other outputs derived from a linear regression may hold equal value for traders. In this article I will introduce two lesser-known indicators, r-squared and linear regression slope, which can serve as useful adjuncts when determining price trend and price direction. R-SQUARED R-squared is a measure of association. It measures the proportion of explained variation between the linear regression and the underlying data it is tracking. For traders that means the r-squared calculation identifies how closely the linear regression indicator matches the underlying price movement; the higher the r-squared value, the greater the correlation with the trending component of price. The eSignal code can be found in sidebar 1, “eSignal code for r-squared.”
by Barbara Star, Ph.D.
Technical Analysis of STOCKS & COMMODITIES
The Traders’ Magazine since 1982
has had over 1,226,237 subscribers from 174 different countries.
37,000 Page Traders’ Archive for $89.99
To continue reading, sign-up for trial access to Traders.com and the S&C Archive — 37,000 pages of trading ideas!
After verifying your email address, you will have limited access to the S&C Archive, as well as access to a Digital Edition of S&C, and access to Traders.com Advantage and Working Money for 30 days.
Not a subscriber to Technical Analysis of
STOCKS & COMMODITIES magazine?
Click
here to subscribe, or request
a trial subscription.
Log-in now to view articles from the S&C Archive.
Your Subscriber ID is located at the top of your magazine label, highlighted here in red.
Your last name can be found on the second line, highlighted here in blue.
*If you have a company name on the label, that can also be used. It will appear below your name on the label.
If you do not have a Subscriber ID on your label, you can find it on your statement or renewal form.
For help locating your Subscriber ID number, please call us at 1-800-832-4642 or send an email to Survey@Traders.com. If sending an email, please include your name and mailing address.