Best of s.c.a.n.

« Previous Article | Top | Next Article »

Best of s.c.a.n. is an ongoing collection of the the best responses to the questions submitted to our StockCharts Answer Network. Selected by our customer support team and s.c.a.n. editors, these responses are the answers to your questions that we wish we'd written ourselves.

If you have a question you'd like to ask the StockCharts community, please visit the s.c.a.n. homepage. You can create your s.c.a.n. account and submit the question from there.

Scanning for Stocks that Outperform their Indexes

 

Is it possible to use the scan engine to pull out stocks contained within an index that are outperforming that index? I would like to run a scan for stocks in the S&P 500 that are outperforming the S&P 500 as a whole. Thanks!

relaycharger

 

Here is a link to an article I wrote for the Scanning blog which should answer your question with even a few more ideas you may not have thought of.

For those who don't want to follow the link, I'll give you just a couple of snippets from that article. The very simple scan was as follows.

(Note you could turn on or off any of the individual groups by removing the double //, or just us the clause with the "OR" conditions to get the whole S&P 1500 index.)

In this case, there where two previous Highs in the $SPX index some time ago, and we were looking for stocks in that index that had now, during the last 6 days, exceeded their previous Highs during that time and were also more than 5% higher than those previous Highs.

[type = stock]
//and [group is SP500]
//and [group is SP400]
//and [group is SP600] and
[[group is SP500] or [group is SP400] or [group is SP600]]
and [max(5, close) > 6 days ago daily max(90,close) * 1.05 ]

Now for these types of scans, it is often helpful to see it in graphical form, so here are the conditions and criteria which had to exist to satisfy the scan and return a result.

Gordscan

I hope this gives you some other ideas. If you find this interesting, please read the entire article which contains much more information.

Cheers!

Gord

To see all the responses to this question, go to the original post on s.c.a.n.

To read other questions and answers or to submit your own questions, please visit the s.c.a.n. homepage.

« Previous Article | Top | Next Article »

Other StockCharts Blogs

Subscribe to this blog