Registered User Joined: 12/2/2004 Posts: 10
|
[Jim Bennett] Trying to write a PCF to find stocks with 10 day moving average > 20 day MA and 20 day MA > 50 Day MA. I get syntax errors with (XAVGC10 > XAVGC20) AND (XAVG20 > XAVGC50). Help!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're missing a C in the second XAVGC20 term. Please try the following instead:
XAVGC10 > XAVGC20 AND XAVGC20 > XAVGC50
You may wish to review the following:
How to create a Personal Criteria Forumula (PCF)
Moving Average PCF Templates
Things to check if your moving averages don't "seem right" or "seem to match"
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|