Registered User Joined: 10/7/2004 Posts: 39
|
Looking for a PCF where a stock GAPS up 1% or greater than the 20sma
tu
TT
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you mean the gap up is at least 1% of the SMA20, then you might want to try one of the following:
Gap Up as previous High to current Low:
L - H1 >= AVGC20 * .01
Gap Up as previous High to current Open:
O - H1 >= AVGC20 * .01
Gap Up as previous Close to current Open:
O - C1 >= AVGC20 * .01
Gap Up as previous Close to current Low:
L - C1 >= AVGC20 * .01
If you mean that there was a gap up and than the Price is now 1% or more greater than the SMA20 then you may wish to try one of the following instead:
Gap Up as previous High to current Low:
L > H1 AND C / AVGC20 >= 1.01
Gap Up as previous High to current Open:
O > H1 AND C / AVGC20 >= 1.01
Gap Up as previous Close to current Open:
O > C1 AND C / AVGC20 >= 1.01
Gap Up as previous Close to current Low:
L > C1 AND C / AVGC20 >= 1.01
If you mean that there was a gap up and than the current Price component used is is 1% or more greater than the SMA20 then you may wish to try one of the following instead:
Gap Up as previous High to current Low:
L > H1 AND L / AVGC20 >= 1.01
Gap Up as previous High to current Open:
O > H1 AND O / AVGC20 >= 1.01
Gap Up as previous Close to current Open:
O > C1 AND O / AVGC20 >= 1.01
Gap Up as previous Close to current Low:
L > C1 AND L / AVGC20 >= 1.01
You may wish to review the following:
How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|