Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Request PCF FOrmula Crossing Price vs LR Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
raider45
Posted : Wednesday, January 9, 2019 8:54:19 AM
Registered User
Joined: 9/30/2011
Posts: 788
 
On a daily chart I entered a 13-period Linear Regression, I would like a PCF Formula with the price signal that crosses the LR 13 upwards.
 
Thank you and goodbye. Raider45
Bruce_L
Posted : Wednesday, January 9, 2019 10:04:54 AM


Worden Trainer

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

Please try the following condition formula for the moving linear regression (which is really what you should be looking at).

XUP(C, 3 * FAVGC13 - 2 * AVGC13)

Or the following for an apparent cross of the linear regression line (but note that linear regression line for the previous bar is going to be entirely different than the current bar so price might not have actually ben below during the previous bar).

C > 3 * FAVGC3 - 2 * AVGC13 AND 2 * C1 <= 5 * FAVGC13 - 3 * AVGC13



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Wednesday, January 9, 2019 1:23:16 PM
Registered User
Joined: 9/30/2011
Posts: 788

Congratulations, thank you !                                                                                                                        Sincerely !

Bruce_L
Posted : Wednesday, January 9, 2019 1:28:12 PM


Worden Trainer

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

You're welcome.



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