Registered User Joined: 7/12/2008 Posts: 5
|
how are you, i wrote the following code to find some cross over candidates but my results were not that
good, for most the cross over was a thing of the past,way to late to be of any signifigance.
thanks in advance
avgc10.1<avgc50.1 and avgc>=avgc50
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I suspect you want (the second 10-Period Simple Moving Average was missing its 10):
AVGC10.1 < AVGC50.1 AND AVGC10 >= AVGC50
That said, if it still does not match the chart, the Things to check if your moving averages don't "seem right" or "seem to match" topic is a good place to start trying to figure out why.
Moving Average PCF Templates
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
|