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

PCF Help - Volume higher than max negative volume of last 10 days Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
mac28rmm
Posted : Monday, September 6, 2010 8:35:15 PM
Gold Customer Gold Customer

Joined: 9/29/2007
Posts: 19
Hi, I am trying to make a PCF to give me stocks up on the session with volume higher than the max negative volume (stock closing lower) of the past ten sessions.  This is what I came up with but I don't think (or know) if it's correct.

C > C1 AND ((V > MAXV10 AND C1 < C2) OR (V > MAXV10 AND C2 < C3) OR (V > MAXV10 AND C3 < C4) OR (V > MAXV10 AND C4 < C5) OR (V > MAXV10 AND C5 < C6) OR (V > MAXV10 AND C6 > C7) OR (V > MAXV10 AND C7 < C8) OR (V > MAXV10 AND C8 < C9) OR (V > MAXV10 AND C9 < C10) OR (V > MAXV10 AND C10 < C11))

Any help would be appreciated - thank you. 
mac28rmm
Posted : Monday, September 6, 2010 8:40:10 PM
Gold Customer Gold Customer

Joined: 9/29/2007
Posts: 19
Slight Typo - sorry.

C > C1 AND ((V > MAXV10 AND C1 < C2) OR (V > MAXV10 AND C2 < C3) OR (V > MAXV10 AND C3 < C4) OR (V > MAXV10 AND C4 < C5) OR (V > MAXV10 AND C5 < C6) OR (V > MAXV10 AND C6 < C7) OR (V > MAXV10 AND C7 < C8) OR (V > MAXV10 AND C8 < C9) OR (V > MAXV10 AND C9 < C10) OR (V > MAXV10 AND C10 < C11))
Bruce_L
Posted : Tuesday, September 7, 2010 9:40:53 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Please try the following instead:

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

How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
mac28rmm
Posted : Tuesday, September 7, 2010 4:01:56 PM
Gold Customer Gold Customer

Joined: 9/29/2007
Posts: 19
Thank you very much Bruce.   I appreciate your help.   That seemed to do it.
Bruce_L
Posted : Tuesday, September 7, 2010 4:04:50 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Reynolds05
Posted : Friday, September 10, 2010 9:14:40 PM
Registered User
Joined: 3/6/2005
Posts: 16
Bruce: 

Can you write the PCF in real code so I can use it in stockfinder5?
Bruce_L
Posted : Saturday, September 11, 2010 10:02:59 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The RealCode is provided in Need PCF Converted to S.F.. You just need to set the Period to 10.

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