Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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
|
|
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
|
|
Registered User Joined: 1/27/2006 Posts: 109
|
what exactly does this look for? I am not familiar with Linear Regression slope
|
|
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
|
|
Guest-1 |