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!
|
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
|
Registered User Joined: 7/11/2010 Posts: 12
|
Thats great, thanks!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|