I posted an article today about testing for and trading mean reversion. There is a Zorro script that can be used for experimentation in the downloads section. I'd be very interested in any feedback.

Thanks!

http://robotwealth.com/exploring-mean-reversion-and-cointegration-with-zorro-and-r-part-1/