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

Scan and sort needed Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
RonS
Posted : Friday, October 7, 2011 7:18:59 PM
Registered User
Joined: 10/7/2004
Posts: 19
Hi,

I am looking for a scan and a sort that would show the percentage amount a stock is over its 50 day simple moving average.  A point amount would secondarily be useful too.  I am only interested in stocks above its 50 day MA.

Thanks,

RonS
diceman
Posted : Friday, October 7, 2011 9:47:30 PM
Registered User
Joined: 1/28/2005
Posts: 6,049

This would guarantee its above the 50:

C>AVGC50



This would show the percent:


(C/AVGC50*100)-100


Ths would show points:


C-AVGC50 


Thanks
diceman

RonS
Posted : Saturday, October 8, 2011 10:41:31 PM
Registered User
Joined: 10/7/2004
Posts: 19
Thanks,

The expression (C/AVGC50*100)-100 doesn't make sense to me.  The expression (C-AVGC50)/(AVGC50) * 100 makes better sense to me to create the % difference of the close over its 50 sma.

What would you suggest to show the point difference of the close over the 50 sma for a 5 day week, one day at a time?
diceman
Posted : Sunday, October 9, 2011 1:38:09 AM
Registered User
Joined: 1/28/2005
Posts: 6,049
QUOTE (RonS)

What would you suggest to show the point difference of the close over the 50 sma for a 5 day week, one day at a time?



You mean all at once?

This is today:

C-AVGC50


This is the day before that:

C1-AVGC50.1

The last 5 values would be:

C-AVGC50

C1-AVGC50.1

C2-AVGC50.2

C3-AVGC50.3

C4-AVGC50.4

I would guess putting them in watchlist columns would be the easiest way to see them all at once.
(unless you have something else in mind)


If you just want the week ago value than use:

C5-AVGC50.5


Thanks
diceman

Bruce_L
Posted : Monday, October 10, 2011 8:49:09 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Just a note that the following formulas are all the same:

(C / AVGC50 * 100) - 100
100 * C / AVGC50 - 100
100 * (C / AVGC50 - 1)
(C - AVGC50) / (AVGC50) * 100

The advantage of the first three forms over the fourth is that they only require one reference to AVGC50.

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.