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 |

Request PCF Crossing Formula Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
raider45
Posted : Friday, August 31, 2018 2:26:28 PM
Registered User
Joined: 9/30/2011
Posts: 788
I would like to have a PCF Formula with the following parameter:
 
Coppock Curve 1-2-1 Crossing Up on Linear Regression 10
 
Thank you and goodbye.
 
Raider45
Bruce_L
Posted : Friday, August 31, 2018 2:47:49 PM


Worden Trainer

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

I am going to assume you mean a moving linear regression of the Coppock Curve 1-2-1 as it is a continuous function. If you are looking at a linear regression line instead, it might look like it was below during the previous bar and above during the current bar even though that isn't actually the case (because the slope of the line was different one bar ago).

XUP(C / C1 + C / C2, 3 * FAVG(C / C1 + C / C2, 10) - 2 * AVG(C / C1 + C / C2, 10))



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Saturday, September 1, 2018 3:31:00 AM
Registered User
Joined: 9/30/2011
Posts: 788
Thanks for your attention and collaboration, however, the formula does not reflect what I already have on the chart:
 
1) I set the Coppock Curve 1 - 2 - 1 indicator on the graph
 
2) On the Indicator I set a Linear Regression with period 10
 
3) Using the Create condition function: Coppock Curve Vs Lin Reg 10, I have set
     Crossing Up Li nReg 10
 
So, the Formula should signal the Crossing, instead it signals the Indicator above Lin Reg !
Bruce_L
Posted : Saturday, September 1, 2018 2:08:48 PM


Worden Trainer

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

Seriously, you really should be doing this with a moving linear regression and not a linear regression line as pointed out in my previous post.

Very strange things can happen when you do this with the linear regression line instead of the moving linear regression such as being able to cross up two bars in a row.

But if this is really the formula you want, then please try the following.

C / C1 + C / C2 > 3 * FAVG(C / C1 + C / C2, 10) - 2 * AVG(C / C1 + C / C2, 10) AND C1 / C2 + C1 / C3 <= AVG(C / C1 + C / C2, 10) + 7 * (FAVG(C / C1 + C / C2, 10) - AVG(C / C1 + C / C2, 10)) / 3



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Sunday, September 2, 2018 8:00:51 AM
Registered User
Joined: 9/30/2011
Posts: 788
The formula works well as I wanted, congratulations and thanks !
 
Best regards !
Bruce_L
Posted : Tuesday, September 4, 2018 9:34:15 AM


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.