Registered User Joined: 7/12/2008 Posts: 5
|
Good morning, I would like some help writing a pcf, having a close price above the 50 day moving average, for the last 5 days.
thank you, dman1
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If the Moving Average is Simple:
C > AVGC50 AND C1 > AVGC50.1 AND C2 > AVGC50.2 AND C3 > AVGC50.3 AND C4 > AVGC50.4
If the Moving Average is Exponential:
C > XAVG50 AND C1 > XAVGC50.1 AND C2 > XAVGC50.2 AND C3 > XAVGC50.3 AND C4 > XAVGC50.4
You may wish to review the following:
How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Moving Average PCF Templates
Things to check if your moving averages don't "seem right" or "seem to match"
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|