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 |

Santa Claus Rally Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
tfelts
Posted : Thursday, September 8, 2005 12:50:17 PM
Registered User
Joined: 11/10/2004
Posts: 21
I'm interested in a PCF that will look for stocks that rallied significantly in the last 90 days of each calender year. Defining a 'significant rally' is one variable to tweak, say starting with 300% over 90 to 120 day period. I'm having trouble slicing the MA's over the 240 day period prior, to compare with.


Thanks in Advance....
Craig_S
Posted : Thursday, September 8, 2005 12:56:01 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
I would use the date format in a PCF

Find your range of dates from year to year and replace the dates I use below. Be sure you use only market days when you pick your dates.

Here is a PCF that returns the average return for the month of July for the last three years:

(((C'7/29/05'-C'7/1/05')/C'7/1/05') + ((C'7/31/03'-C'7/1/03')/C'7/1/03') + ((C'7/30/04'-C'7/1/04')/C'7/1/04'))/3*100

Pick your dates and using the above template you should have no trouble writing this PCF for any dates. You may also like how Doug uses Custom Date Sort in this video:

Industries With Consistent Performance over Specific Time Periods

- Craig
Here to Help!
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.