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 |

Stock prices rising Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
spendabuck
Posted : Saturday, February 27, 2010 11:06:16 AM
Gold Customer Gold Customer

Joined: 3/24/2005
Posts: 18
How would I writer a scan to determine which stocks had closed higher in eleven of the past thirteen trading days?
Bruce_L
Posted : Monday, March 1, 2010 8:54:03 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
If you mean the Close is higher than the previous Close:

ABS(C > C1) - (C1 > C2) - (C2 > C3) - (C3 > C4) - (C4 > C5) - (C5 > C6) - (C6 > C7) - (C7 > C8) - (C8 > C9) - (C9 > C10) - (C10 > C11) - (C11 > C12) - (C12 > C13) >= 11

If you mean the Close is higher than the Open:

ABS(C > O) - (C1 > O1) - (C2 > O2) - (C3 > O3) - (C4 > O4) - (C5 > O5) - (C6 > O6) - (C7 > O7) - (C8 > O8) - (C9 > O9) - (C10 > O10) - (C11 > O11) - (C12 > O12) >= 11

You may wish to review the following:

PCF Formula Descriptions
How to create a Personal Criteria Forumula (PCF)
Handy PCF example formulas to help you learn the syntax of PCFs!

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
spendabuck
Posted : Monday, March 1, 2010 11:01:34 AM
Gold Customer Gold Customer

Joined: 3/24/2005
Posts: 18
Thanks,

You guys always deliver!
Bruce_L
Posted : Monday, March 1, 2010 11:02:32 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.