Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Linear regression channel Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Readyforaction
Posted : Wednesday, August 28, 2013 6:21:12 AM
Registered User
Joined: 10/28/2012
Posts: 9

Hello Bruce i am looking for these regression Line pcf :

 

1- Linear regression line 30 period 1% deviation

2- Linear regression line 30 period 2% deviation

3- Linear regression line 30 period -1% deviation

4- Linear regression line 30 period -2% deviation

 

Thank you

Readyforaction
Posted : Wednesday, August 28, 2013 6:30:45 AM
Registered User
Joined: 10/28/2012
Posts: 9

should read degres instead of percentage , thanks bruce

Bruce_L
Posted : Wednesday, August 28, 2013 8:57:23 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Your clarification is unfortunate because we can calculate the percent change in a linear regression line over its length:

100 * (29.5 * (29 * (C - C29) + 27 * (C1 - C28) + 25 * (C2 - C27) + 23 * (C3 - C26) + 21 * (C4 - C25) + 19 * (C5 - C24) + 17 * (C6 - C23) + 15 * (C7 - C22) + 13 * (C8 - C21) + 11 * (C9 - C20) + 9 * (C10 - C19) + 7 * (C11 - C18) + 5 * (C12 - C17) + 3 * (C13 - C16) + C14 - C15) / 4495 / (AVGC30 - 14.5 * (29 * (C - C29) + 27 * (C1 - C28) + 25 * (C2 - C27) + 23 * (C3 - C26) + 21 * (C4 - C25) + 19 * (C5 - C24) + 17 * (C6 - C23) + 15 * (C7 - C22) + 13 * (C8 - C21) + 11 * (C9 - C20) + 9 * (C10 - C19) + 7 * (C11 - C18) + 5 * (C12 - C17) + 3 * (C13 - C16) + C14 - C15) / 4495))

Or the percent change from bar to bar compared to the average value of all of the bars:

100 * (29 * (C - C29) + 27 * (C1 - C28) + 25 * (C2 - C27) + 23 * (C3 - C26) + 21 * (C4 - C25) + 19 * (C5 - C24) + 17 * (C6 - C23) + 15 * (C7 - C22) + 13 * (C8 - C21) + 11 * (C9 - C20) + 9 * (C10 - C19) + 7 * (C11 - C18) + 5 * (C12 - C17) + 3 * (C13 - C16) + C14 - C15) / 4495 / AVGC30

But we cannot calculate the slope in degrees as measuring the slope in degrees is absolutely meaningless. The degrees will change based on the scroll, zoom and even the aspect ratio of the chart (resizing the chart).

Using Linear Regression vs Classical Peaks/Valleys for Divergence Analysis



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
tepoteat
Posted : Tuesday, December 31, 2013 6:49:25 PM
Registered User
Joined: 1/26/2005
Posts: 4

How to plot 1 and 2 standard deviation off any linear regression line? Thanks, Tom

Bruce_L
Posted : Tuesday, January 7, 2014 3:17:24 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

TC2000 version 12.4 does not have an indicator available which will plot a Linear Regression Line with Standard Deviation Channels. It does have a Drawing Tool available which will plot Standard Deviation Channels around a Linear Regression Line however.

Using Drawing Tools in TC2000



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.