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.
percentage decline from 52 week highs
How can I set up a scan in order to find the percentage of stocks in the S&P 500 and the NYSE that are down 20% from their 52 week highs
0
Answers
http://stockcharts.com/school/doku.php?id=chart_school:scanning
To help jump start you in the right direction, just use the drop down menus in the advanced scan workbench. Delete the default criteria then select and insert type is stock and group is S&P500, thats the first part.
[type = Stock]
and [ group is SP500 ]
Now select predefined scans and insert new 52 week high.
and [today's high > yesterday's daily max(253,high)]
So notice that this predefined scan code looks for todays high to be greater than the highest high over the previous 253 days (thats 52 weeks of trading days). So lets just switch this around a little.
You want todays high to be at least 20% less than the value of the max high over the previous 52 weeks (253 trading days). Note 20% less is the same as multiplying a value by 0.8 and we want todays high to be less than not greater than.
and [today's high < yesterday's daily max(253,high) * 0.8 ]
Hope this gives you some new ideas.
As my result was a zero count, I'd appreciate any suggestions
leading to a definitive answer.
Your scan should look like this.
[type=stock]
and [group is SP500]
and [today's high< yesterday's daily max(253,high) * 0.8]
let us know how it works