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 Slope indicator in TC 2000 v12? Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
mrivmriv
Posted : Wednesday, December 14, 2011 10:30:02 PM
Registered User
Joined: 4/5/2007
Posts: 6
There is a video titled "Old Dog, New Trick" recorded on 11-23-10. In it was used an indicator called "linear regression slope". I use TC 2000 v12, and I believe the instructor was using something else. Is there a PCF I could use to recreate the linear regression slope set as a line?Thanks in advance.
Bruce_L
Posted : Thursday, December 15, 2011 8:04:57 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
It is possible to create a Linear Regression Slope indicator by using a Custom PCF Indicator, but the Period of the Linear Regression Slope needs to be known.

Using Linear Regression vs Classical Peaks/Valleys for Divergence Analysis

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
mrivmriv
Posted : Friday, December 16, 2011 1:07:38 AM
Registered User
Joined: 4/5/2007
Posts: 6
Could you do it with the period of 20?
Bruce_L
Posted : Friday, December 16, 2011 7:21:14 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The raw 20-Period Linear Regression Slope would be:

(9.5 * C + 8.5 * C1 + 7.5 * C2 + 6.5 * C3 + 5.5 * C4 + 4.5 * C5 + 3.5 * C6 + 2.5 * C7 + 1.5 * C8 + .5 * C9 - .5 * C10 - 1.5 * C11 - 2.5 * C12 - 3.5 * C13 - 4.5 * C14 - 5.5 * C15 - 6.5 * C16 - 7.5 * C17 - 8.5 * C18 - 9.5 * C19) / 665

The 20-Period Linear Regression Slope as a percentage of the current price would be:

100 * (9.5 * C + 8.5 * C1 + 7.5 * C2 + 6.5 * C3 + 5.5 * C4 + 4.5 * C5 + 3.5 * C6 + 2.5 * C7 + 1.5 * C8 + .5 * C9 - .5 * C10 - 1.5 * C11 - 2.5 * C12 - 3.5 * C13 - 4.5 * C14 - 5.5 * C15 - 6.5 * C16 - 7.5 * C17 - 8.5 * C18 - 9.5 * C19) / 665 / C

The 20-Period Linear Regression Slope as a percentage of the 20-Period Moving Average would be:

100 * (9.5 * C + 8.5 * C1 + 7.5 * C2 + 6.5 * C3 + 5.5 * C4 + 4.5 * C5 + 3.5 * C6 + 2.5 * C7 + 1.5 * C8 + .5 * C9 - .5 * C10 - 1.5 * C11 - 2.5 * C12 - 3.5 * C13 - 4.5 * C14 - 5.5 * C15 - 6.5 * C16 - 7.5 * C17 - 8.5 * C18 - 9.5 * C19) / 665 / AVGC20

-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.