Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 6/6/2007 Posts: 5
|
I AM LOOKING FOR A PERSONAL CRITERIA FORMULA FOR STOCKS THAT ARE AT THEIR ALL TIME HIGHS AND THE LAST TWO DAYS THEY HAVE CLOSED AT HIGHER HIGHS.
SUSAN
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
There is no way to use PCFs to scan for all time highs as most stocks have a variable number of days of trading history. The PCF language requires that we define days in the syntax.
- Craig Here to Help!
|
|
Registered User Joined: 10/18/2005 Posts: 49
|
Seems like a perfect time to add an indicator, that tracks the number of available days.
I ran afoul of this shortcoming as well, in that I wanted to screen out stocks, that had less than 5 years of posts. The PCF I created for this calculates only a single day, yet it slows down the UPDATE enough so I can get a cup of coffe while it updates!
I'd give up the relatively USELESS "Tracking Days in List" for such an indicator.
With such an indicator, call it "N" for number of available days, one could create PCFs like:
MAXC.N (period for emphasis)
Abair Here to criticise
|
|
Registered User Joined: 6/6/2007 Posts: 5
|
QUOTE (Craig_S) There is no way to use PCFs to scan for all time highs as most stocks have a variable number of days of trading history. The PCF language requires that we define days in the syntax.
|
|
Registered User Joined: 6/6/2007 Posts: 5
|
CAN USE YOU 365 DAYS AS THE NUMBER OF DAYS? IF NOT HOW MANY DAYS IN THE SYNTAX CAN YOU GO BACK TO HELP ME?
ZUZAN
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
zuzan, Please try the following:
H > H1 AND H1 > H2 AND H = MAXH365
If you want a year instead of 365 days (the days are Trading Days), you may wish to try the following instead:
H > H1 AND H1 > H2 AND H = MAXH252
You may wish to review the following:
All-Time high
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |