STANDARD ERROR: Linear Regression Trendline?

CAVEAT: I have a limited knowledge of statistics and and am not particularly adept with respect to formulas. Hence, kindly explain using prose if you would.

ISSUE: Using stock trading software by, a 64-day Linear Regression Trendline ("LRT") is currently the best fit for a particular stock. The 64-day LRT has an R-squared of .933. Now, the trading software has an indicator called "Standard Error Bands" which allows you, for example, to enter (64,3), (64,2), (64,1) etc. In this example, of course, the indicator plots "standard error band" values ("SE") (3SE, 2SE, 1SE etc.) both above and below the 64-day LRT.

With all this in mind, I have researched how to calculate "standard error" but my results don’t seem to match the trading software. The trading software determines the 64-day LRT by using the CLOSING prices for the last 64-days. Can someone give me a step-by-step on how to calculate the 1SE of the 64-day LRT. ASSUME THAT I ALREADY HAVE THE LRT VALUE–I do.
It’s my understanding that the "Standard Error" is the "Standard Deviation" divided by the square root of the number of samples. I tried taking the Standard Deviation of the Closing Prices over the last 64 days and, alternatively, the Standard Deviation of the 64-day Linear Regression Trendline itself–both of which come out to 3.15 and 3.18 respectively, and then divided both of those numbers by 8, which gives me a value of .39 or so for 1 Standard Error. The software, however, has a value that is much greater–closer to .80.

Trading indicators are best used along with money management and good risk control, using trading indicators alone will not enable you to be a successful trader, even if you learn everything about day trading indicators the market is just too random and unless risk is controlled, over time your account will slowly get wiped out, regardless how good a “trader” you think you are.

This question was about day trading indicators and there have been some pretty good answers that should help in your trading, and especially in relation to day trading indicators, the answer has been posted in the categories listed below:

Related Trading Posts

Leave a Reply

Your email address will not be published.