What are the best ways to identify market tops and bottoms?

How can traders determine when a market is nearing a peak or bottoming out?,