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
|
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
|
Registered User Joined: 9/30/2011 Posts: 788
|
Congratulations, thank you ! Sincerely !
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|