Investors love market rallies, but major indexes such as the Nasdaq and S&P 500 can’t keep rising forever. And when the market tops and starts heading south, your hard-earned gains in stocks could evaporate fast. So it is very useful to know how to find out when a market’s uptrend is likely to end.