Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 1/19/2011 Posts: 13
|
Is there any way to make a scan that identifies new day highs? I am very comfortable with pcfs, but haven't figured this one out yet. I am not asking about a new, 2 day high, which is simply, H>H1. Rather, I am looking to find stocks that are currently making a new high of the day and didn't do this 30 minutes ago, for example. Thanks for your help!
Van
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I do not know of a way to do this using intraday PCFs. There is no way to determine the starting bar in the day or how many bars have passed during the current day using the Personal Criteria Formula Language.
About the best you can do is to check to see if the current price is the high of the day on a daily Time Frame:
C = H
When this is used on a Daily Time Frame, it works intraday as well as end of day. As long as price has not retreated from the high of the day, it will return true.
What it can't do is determine if the high of the current bar is the high of the day if the close of the current bar is not also the high of the current bar.
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/19/2011 Posts: 13
|
Bruce,
Thanks so much for investigating my request. Your answer is what I expected.
One slight modification that I might try will be to lessen the tightness of the C=H parameter, by merely requiring it to be within a small fraction of a percent of the high and not actually equal to it.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Then you could use something like the following instead (this requires the close to be within a tenth of a percent of the high):
C >= .999 * H
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/19/2011 Posts: 13
|
Yes, I put that in exactly. Then, I got the idea to make a (H-C)/H*100 percentage difference indicator into a column and sort by it. That way I can see as many hits as I want to by space barring down the watchlist until I am not at all near the NH.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
It reads like it would create a very effective work flow while giving you the opportunity to be a bit fuzzy about how close you need to be to the high depending on the overall volatility of the market so far during the day.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/19/2011 Posts: 13
|
Exactly.
I will try it out this morning.
|
|
Registered User Joined: 10/14/2010 Posts: 55
|
I was looking for HOD/LOD pcf and found this. It works great. Kudos to VanHWhite.
George
|
|
Guest-1 |