Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

PCF problem in sorting Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
WallyStreet
Posted : Tuesday, February 15, 2011 7:57:55 PM
Registered User
Joined: 4/2/2005
Posts: 4
I wrote the attached pcf and the systax tests fine. The problem I'm having is that in some of the stocks that show "TRUE", the 30day exp MA is above the 20day exp MA. Can you see if there is an error in my formula?
Thanks
Jack
Bruce_L
Posted : Wednesday, February 16, 2011 8:22:15 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Welcome to the forums. A very good foundation for learning how to use TeleChart can be gained by reviewing the following:

If you are new to TeleChart READ THIS FIRST!

You haven't provided the formula. That said, the issue is normally one or both of the Moving Averages is of another Moving Average instead of Price or the Personal Criteria Formula representation of the Moving Average is Simple when it should be Exponential or vice versa.

Things to check if your moving averages don't "seem right" or "seem to match"
Moving Average PCF Templates
How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
WallyStreet
Posted : Wednesday, February 16, 2011 7:30:13 PM
Registered User
Joined: 4/2/2005
Posts: 4
Thanks for responding Bruce. Here is the formula for the pcf in guestion. I have the same problem in 2007 and TC2000 beta.

AVGC10 > XAVGC20 AND AVGC10 > XAVGC30 AND XAVGC20 > XAVGC30 AND AVGC10.6 < XAVGC20.6 AND XAVGC20.6 < XAVGC30.6 AND AVGC10.6 < XAVGC30.6 AND AVGV90 > 300000 AND C > 5

Thanks
WallyStreet
Posted : Wednesday, February 16, 2011 7:45:09 PM
Registered User
Joined: 4/2/2005
Posts: 4
Thanks to your post response Bruce, mystery solved and the sort working fine. Really appreciate your expertise.
Bruce_L
Posted : Thursday, February 17, 2011 8:04:03 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome. I'm happy to read you were able to figure it out on your own with the information provided.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.