Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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
|
|
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
|
|
Registered User Joined: 5/27/2010 Posts: 153
|
Thank You Bruce,
|
|
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
|
|
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
|
|
Registered User Joined: 5/27/2010 Posts: 153
|
Thank You Bruce
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |