Amibroker does this out of the box. You can just use the EOD version. It will allow you to create a composite symbol from just about anything. Say, for instance, that you want to create a % of stocks from the S&P500 trading above their 50dma. Very easy to do.
http://www.amibroker.com...