SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : The 56 Point TA; Charts With an Attitude -- Ignore unavailable to you. Want to Upgrade?


To: bdog who wrote (22281)10/23/1998 2:59:00 PM
From: Bob Jagow  Read Replies (1) | Respond to of 79230
 
You'd do that with tsp, bdog.
tspflag:= 1; // 0 for LR
tsp:= a + b*tspfalg;

Bob

-----------------------

The Linear Regression indicator is based on the trend of a security's price over a specified time period. The trend is determined by calculating a linear regression trendline using the "least squares fit" method. The least squares fit technique fits a trendline to the data in the chart by minimizing the distance between the data points and the linear regression trendline.
Any point along the Linear Regression indicator is equal to the ending value of a Linear Regression trendline. For example, the ending value of a Linear Regression trendline that covers 10 days will have the same value as a 10-day Linear Regression indicator. This differs slightly from the Time Series Forecast indicator (see Time Series Forecast) in that the TSF adds the slope to the ending value of the regression line. This makes the TSF a bit more responsive to short term price changes. If you plot the TSF and the Linear Regression indicator side-by-side, you'll notice that the TSF hugs the prices more closely than the Linear Regression indicator.

Rather than plotting a straight Linear Regression trendline, the Linear Regression indicator plots the ending values of multiple Linear Regression trendlines.