Since it's hard to post equations on ET, I'll link ONE paper on the matter instead,
http://www.cenet.org.cn/userfiles/2010-6-13/20100613145858930.pdf
And perhaps the best known paper on the subject,
Jegadeesh, N., and S. Titman, 1993, âReturns to buying winners and selling losers...