Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Need PCF for Price within 3% of Weighted Moving Avg Weekly 30 Period Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
vworden
Posted : Friday, July 26, 2013 6:01:10 PM
Registered User
Joined: 5/8/2005
Posts: 36

Hi,

Need a PCF to scan for stocks where price is within 3% of Weighted Moving Avg Weekly 30 Period.

 

Thank You.

 

Bruce_L
Posted : Monday, August 5, 2013 9:20:26 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Please try the following Condition Formula with the Time Frame of the Condition Formula set to Weekly:

ABS(C / ((30 * C + 29 * C1 + 28 * C2 + 27 * C3 + 26 * C4 + 25 * C5 + 24 * C6 + 23 * C7 + 22 * C8 + 21 * C9 + 20 * C10 + 19 * C11 + 18 * C12 + 17 * C13 + 16 * C14 + 15 * C15 + 14 * C16 + 13 * C17 + 12 * C18 + 11 * C19 + 10 * C20 + 9 * C21 + 8 * C22 + 7 * C23 + 6 * C24 + 5 * C25 + 4 * C26 + 3 * C27 + 2 * C28 + C29) / 465) - 1) <= .03

PCF Formula Descriptions
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.