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 |

% away from a MA Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
wayneuk69
Posted : Sunday, October 30, 2011 2:29:20 PM
Registered User
Joined: 7/11/2010
Posts: 12
Anyone have any PCFs that would give me the % away price is from a Moving Average? Eg I want to add a column from a PCF that would give a numerical value for how far away a price is from its 200 day MA so I can then sort by how far anything is from a MA.. any help much appreciated!
Bruce_L
Posted : Monday, October 31, 2011 9:00:19 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
A Personal Criteria Formula for the directional percent difference between Price and its 10-Period Simple Moving Average could be written as:

100 * (C / AVGC10 - 1)

A PCF for the absolute difference between Price and its 20-Period Exponential Moving Average could be written as:

100 * ABS(C / XAVGC20 - 1)

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
wayneuk69
Posted : Tuesday, November 1, 2011 6:51:26 PM
Registered User
Joined: 7/11/2010
Posts: 12
Thats great, thanks!
Bruce_L
Posted : Wednesday, November 2, 2011 8:30:44 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

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