New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Yesterday's close within 2% of 52 week high, but no new 52 week high in the last 90 days
I am trying to write a scan that will return all stocks that are within 2% of their 52 week high, but which have not had a new 52 week high in the last 90 days.
It is probably simple, but I a stuck.
[ [type = stock] and [country = US] ] and
[high > 1 day ago max(253,high) * .98] and // Price is greater than 98 of the 52 week high
[high < 1 day ago max(253,high)] and // but is less that the 52 week high
[1 day ago max(90,high) < 1 day ago max(253, high)] // and the hasn't made a new high in 90 days.
I am getting stocks that are making daily new highs.