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

PCF question Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Rick17
Posted : Monday, July 14, 2014 12:56:26 PM
Registered User
Joined: 5/27/2010
Posts: 153

Hello Bruce, 

I wrote a PCF C20>=20 AND V20>=500000

Looking for the past 20 days the price should be greater than or equal $20.00

but the scan is also returning stocks that price has been under $20.00 within those 20 days.

I am not using an average of 20 days.  Am I writting this correctly to find the last 20 days price has always been $20.00 or more and volume has always been 500k or more the last 20 days ?

Thank You 

Bruce_L
Posted : Monday, July 14, 2014 12:59:40 PM


Worden Trainer

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

You Condition Formula checks for the close of 20 bars ago to be at or above 20 and the volume of 20 bars ago to be at or above 500,000 shares.

Based on your description, you probably want the following:

MINC20 >= 20 AND MINV20 >= 500000

Or possibly:

MINL20 >= 20 AND MINV20 >= 500000

The first checks for the closing prices to be at or above 20 while the second requires all prices to have been at or above 20.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Rick17
Posted : Monday, July 14, 2014 1:15:53 PM
Registered User
Joined: 5/27/2010
Posts: 153

Thank You Bruce, 

Rick17
Posted : Tuesday, July 15, 2014 9:48:13 AM
Registered User
Joined: 5/27/2010
Posts: 153

Good Morning Bruce,

This worked fine after hours but trying it this am only returned those that were alrerady the 500k or more and the list increases as time goes on.  Any way to tweak this so it excludes today, so when I run it during market hours it will still show the list from before the open ? If not I would just save the list returned before the open to a seperate watch list.

Thank you

 

 

Bruce_L
Posted : Tuesday, July 15, 2014 10:08:38 AM


Worden Trainer

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

A one bar ago version of the first formula could be written as:

MINC20.1 >= 20 AND MINV20.1 >= 500000

And a one bar ago version of the second formula could be written as:

MINL20.1 >= 20 AND MINV20.1 >= 500000

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



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Rick17
Posted : Tuesday, July 15, 2014 10:15:23 AM
Registered User
Joined: 5/27/2010
Posts: 153

Thank You Bruce

Bruce_L
Posted : Tuesday, July 15, 2014 10:18:12 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.