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 |

stocks that in a uptrend Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Solaris
Posted : Wednesday, March 7, 2007 11:27:17 AM
Registered User
Joined: 1/27/2006
Posts: 109
I am currently using this pcf to find stocks that are in a uptrend for a least that last 2 months ( C > XAVGC21 AND C21 > XAVGC21.21 AND C42 > XAVGC21.42)

Is this pcf formula correct, I am seeing different results

Thanks
Bruce_L
Posted : Wednesday, March 7, 2007 11:35:21 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The formula is correct if that is how you are defining an uptrend. We can't do that for you. I generally use a Linear Regression Slope:

(20.5 * C + 19.5 * C1 + 18.5 * C2 + 17.5 * C3 + 16.5 * C4 + 15.5 * C5 + 14.5 * C6 + 13.5 * C7 + 12.5 * C8 + 11.5 * C9 + 10.5 * C10 + 9.5 * C11 + 8.5 * C12 + 7.5 * C13 + 6.5 * C14 + 5.5 * C15 + 4.5 * C16 + 3.5 * C17 + 2.5 * C18 + 1.5 * C19 + .5 * C20 - .5 * C21 - 1.5 * C22 - 2.5 * C23 - 3.5 * C24 - 4.5 * C25 - 5.5 * C26 - 6.5 * C27 - 7.5 * C28 - 8.5 * C29 - 9.5 * C30 - 10.5 * C31 - 11.5 * C32 - 12.5 * C33 - 13.5 * C34 - 14.5 * C35 - 15.5 * C36 - 16.5 * C37 - 17.5 * C38 - 18.5 * C39 - 19.5 * C40 - 20.5 * C41) / 6170.5 > 0

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Solaris
Posted : Wednesday, March 7, 2007 11:38:36 AM
Registered User
Joined: 1/27/2006
Posts: 109
what exactly does this look for? I am not familiar with Linear Regression slope
Bruce_L
Posted : Wednesday, March 7, 2007 11:48:35 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
A Linear Regression Line is a "best fit" line normally calculated using the Least Squares Method. The Linear Regression Slope is just the slope of the Linear Regression Line. That's a bit of an oversimplification. You may wish to review the following for a more detailed explanation:

Linear Regression Slope
Linear Regression
Using Linear Regression vs Classical Peaks/Valleys for Divergence Analysis

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