wealth-lab and tradestation will do this.... tradestation is a bit easier to code for non-programmers, but doesn't have as much pre-programmed result-based indicators; however, you can program them very easily. you will have to use 'pushpop' -- just do a lookup on their site (or google it) -- this will enable you to do even the most complex portfolio analysis.