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 |

New Day High Scan Needed Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
VanHWhite
Posted : Thursday, September 20, 2012 5:39:45 PM
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

Bruce_L
Posted : Friday, September 21, 2012 8:43:35 AM


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
VanHWhite
Posted : Tuesday, September 25, 2012 6:17:16 PM
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.

Bruce_L
Posted : Wednesday, September 26, 2012 8:13:35 AM


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
VanHWhite
Posted : Wednesday, September 26, 2012 8:23:59 AM
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.

Bruce_L
Posted : Wednesday, September 26, 2012 8:25:41 AM


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
VanHWhite
Posted : Wednesday, September 26, 2012 9:14:16 AM
Registered User
Joined: 1/19/2011
Posts: 13

Exactly.

I will try it out this morning.

 

stratiG
Posted : Tuesday, July 2, 2013 2:49:36 PM
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

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.