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 |

PCF For Pocket Pivots Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Dray
Posted : Monday, July 15, 2013 7:37:53 PM
Registered User
Joined: 10/7/2004
Posts: 10

Chris Kacher in his book comments that TC2000 (assuming older version) has

the PCF for "Pocket Pivots".  I did find code but when I backtested it idid not test.

Could you please provide if available?
TY

Bruce_L
Posted : Tuesday, July 16, 2013 7:39:43 AM


Worden Trainer

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

A Personal Criteria Formula for a Pocket Pivot can be written as:

C > C1 AND V > ABS(C1 < C2) * V1 AND V > ABS(C2 < C3) * V2 AND V > ABS(C3 < C4) * V3 AND V > ABS(C4 < C5) * V4 AND V > ABS(C5 < C6) * V5 AND V > ABS(C6 < C7) * V6 AND V > ABS(C7 < C8) * V7 AND V > ABS(C8 < C9) * V8 AND V > ABS(C9 < C10) * V9 AND V > ABS(C10 < C11) * V10

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Dray
Posted : Tuesday, July 16, 2013 7:47:23 AM
Registered User
Joined: 10/7/2004
Posts: 10

Hi Bruce,

I copied the code exactly and it won't calculate.  Not sure why???

Thanks for the code (Pocket Pivot).

Dray

Bruce_L
Posted : Tuesday, July 16, 2013 7:57:32 AM


Worden Trainer

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

There is absolutely nothing wrong the Condition Formula. What specifically makes you say it "won't calculate." Do you get an error message of some sort?



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Dray
Posted : Tuesday, July 16, 2013 9:26:50 AM
Registered User
Joined: 10/7/2004
Posts: 10

Thanks Bruce. This AM pre-market it was not calculating.  Maybe that was the issue.

 

yjshaham
Posted : Friday, December 27, 2013 5:15:02 PM
Registered User
Joined: 4/9/2011
Posts: 30

Bruce,

What would be the Formula for plotting the Pocket Pivot as an indicator in a chart - showing the days in which it occured including today?

Jeff

Bruce_L
Posted : Monday, January 6, 2014 9:59:39 AM


Worden Trainer

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

I'm not sure I understand the question. A Condition Formula for the Pocket Pivot was given in my first post in this topic.

C > C1 AND V > ABS(C1 < C2) * V1 AND V > ABS(C2 < C3) * V2 AND V > ABS(C3 < C4) * V3 AND V > ABS(C4 < C5) * V4 AND V > ABS(C5 < C6) * V5 AND V > ABS(C6 < C7) * V6 AND V > ABS(C7 < C8) * V7 AND V > ABS(C8 < C9) * V8 AND V > ABS(C9 < C10) * V9 AND V > ABS(C10 < C11) * V10

You would use the Condition Formula as the Boolean Formula in a Custom PCF % True Indicator to plot spikes on the chart when it returns true.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
pdunn
Posted : Wednesday, December 10, 2014 11:18:51 AM
Platinum Customer Platinum Customer

Joined: 10/7/2004
Posts: 38

Bruce, can you provide a PCF for a Pocket Pivot occurring +/- 2% of the 50-day Moving Average?  I'm trying to capture pocket pivots either passing up through, or bouncing off of the 50-day.

Preston

Bruce_L
Posted : Wednesday, December 10, 2014 11:20:49 AM


Worden Trainer

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

Please try the following Condition Formula.

ABS(C / AVGC50 - 1) <= .02 AND C > C1 AND V > ABS(C1 < C2) * V1 AND V > ABS(C2 < C3) * V2 AND V > ABS(C3 < C4) * V3 AND V > ABS(C4 < C5) * V4 AND V > ABS(C5 < C6) * V5 AND V > ABS(C6 < C7) * V6 AND V > ABS(C7 < C8) * V7 AND V > ABS(C8 < C9) * V8 AND V > ABS(C9 < C10) * V9 AND V > ABS(C10 < C11) * V10



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
pdunn
Posted : Wednesday, December 10, 2014 3:42:49 PM
Platinum Customer Platinum Customer

Joined: 10/7/2004
Posts: 38

Thanks Bruce, could you also provide a PCF for a Pocket Pivot occurring +/- 2% of the 10-day Moving Average?

Bruce_L
Posted : Wednesday, December 10, 2014 3:44:18 PM


Worden Trainer

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

Please try the following Condition Formula.

ABS(C / AVGC10 - 1) <= .02 AND C > C1 AND V > ABS(C1 < C2) * V1 AND V > ABS(C2 < C3) * V2 AND V > ABS(C3 < C4) * V3 AND V > ABS(C4 < C5) * V4 AND V > ABS(C5 < C6) * V5 AND V > ABS(C6 < C7) * V6 AND V > ABS(C7 < C8) * V7 AND V > ABS(C8 < C9) * V8 AND V > ABS(C9 < C10) * V9 AND V > ABS(C10 < C11) * V10



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