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 |

moving average pcf Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
dman1
Posted : Sunday, July 26, 2009 8:44:36 PM
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
Bruce_L
Posted : Monday, July 27, 2009 10:31:20 AM


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
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.