Registered User Joined: 2/15/2012 Posts: 25
|
Sorry, this is probably very simple: How would I write a pcf that says i'm looking for stocks that are gapping up a minimum of 2% from the prior days close?
C1 < O AND O >= 1.02 * C1
This is what i have but the names its producing often time are below the prior days close. Thankyou for your help.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Gap up can mean a variety of things (even when specifying "from the close")..
If you mean the open is at least 2% above the prior close than you should already be getting than as part of your formula.
O >= 1.02 * C1
If you need some sort of unfilled gap where the low has never gone below that close.
O >= 1.02 * C1 AND L > C1
If price just needs to also currently be above that close.
O >= 1.02 * C1 AND C > C1
If price needs to be still be at least 2% above the previous close.
O >= 1.02 * C1 AND C >= 1.02 * C1
If the price of the current bar needs to have remained above the previous close the entire time.
L >= 1.02 * C1
If none of these does what you want, please provide additional clarification as to your requiements along with examples of symbols returning true which do not meet those requirements.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 2/15/2012 Posts: 25
|
Thankyou very much for all the varying ways and ideas....Its very appreciated and helpful Bruce! Best regards!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|