CNBC's Jim Cramer outlined an investing strategy to avoid missing out on big winners during momentum-driven markets.