It's easy -- and useful -- to follow the crowd at times. Folks follow trends in fashion (what's in for spring?) and electronic gadgets (another iPod, anyone?), for instance. But following the crowd as an investing strategy? That's an entirely different story, and for those of us who had huge losses in the post-2000 Nasdaq crash, it's one we'd like never to repeat again.

Sure, if you get in early enough, you can make some big short-term gains by following what's commonly called momentum investing. There's even a pretty savvy measure you can use to push these dollars up the hill -- it's called "relative strength." But for most of us, that's a recipe for buy-high-sell-low disaster.

Take advantage of the herd
A little thing called value investing -- preached by a few luminaries you may have heard of (Graham, Buffett) -- can help you buck such a herd mentality. Value investing involves using financial metrics to determine what companies are great and have the potential for long-lasting returns. But the important thing is to wait for the rainy day when the market panics -- and buy the stock at a discount to its intrinsic value.

Consider a few examples:

Case in point No. 1: The aforementioned tech bubble
During that bubble, CommScope (NYSE:CTV) was the next big thing. Along with PC Connection (NASDAQ:PCCC), Systemax (NYSE:SYX), 24/7 Real Media (NASDAQ:TFSM), iGate (NASDAQ:IGTE), and Buyjunknow.com. As investors who played the momentum game at that time now know, following the train (wreck) can lose you some hefty stacks of cash.

Year-End Prices

1998

1999

2000

2001

2002

CommScope

$16.81

$40.31

$16.56

$21.27

$7.90

Systemax

$23.38

$8.50

$1.25

$2.40

$1.55

PC Connection

$11.75

$23.00

$10.38

$14.83

$5.07

24/7 Real Media

$140.00

$281.25

$2.66

$1.15

$1.15

iGate

$28.63

$24.75

$2.88

$4.10

$2.62

*Data provided by Capital IQ.

But if you'd recognized the worth of these companies and their business models while the market was reacting to the crash, you could have found some real value -- the average gain for these companies from the end of 2002 is more than 650%, or about 56% annualized. That's a lot of incentive to be contrarian when the masses are screaming "Buy!" or "Sell!"

Case in point No. 2: Overanalyzed and overhyped IPOs
For a more recent example, take a look at CBOT Holdings (NYSE:BOT). It IPO'd late last year at $96 a share, shot up to $131 a share purely on momentum, and then plummeted to $89 a share. If you'd followed the momentum crowd, you would have lost a significant amount of money when you sold on the weakness. But if you chose CBOT as a value play, you could have bought into it at the low price and held it for a 90% gain.

Case in point No. 3: Great business, short-term worry
According to Jeremy Siegel's The Future for Investors, the best-performing stock in the entire S&P 500 since its inception has been Altria, with an annualized return of 19.75%. But even this mammoth performer had its ups and downs when the momentum crowd was changing its mind -- the company's stock price was halved from a split-adjusted high of $37.86 a share in 1998 to $14.53 less than two years later. And with worries of never-ending lawsuits abounding in the market, it traded in this range until 2003. This is a prime example of a value play -- if you had the knowledge and courage to invest in a great company when the rest of the market was overreacting to a negative outlook, you would be very happy with your returns today.

Up and down, and back around
Value investing can help you beat the momentum crowd. It's where you find a great company and simply wait for it to go on sale.

If you think this can't happen, even the greatest of great companies -- Microsoft (NASDAQ:MSFT) and Apple, to name two recent examples -- fall out of favor at times. When the Open Source and Linux platforms came into the public eye, investors shied away from Microsoft. When Apple seemed to have stagnated amid slow product offerings and lack of innovation, it, too, was suffering from shareholders' revenge. But when Apple's management and product team introduced a new product that took advantage of consumer trends, the stock suddenly came back into favor.

Motley Fool Inside Value analyst Philip Durell waits for exactly these opportunities. He creates a wish list of stocks and waits to pay the right price. This contrary strategy has put his service 6 percentage points ahead of the market, and several of his most recent picks are still trading at what he considers to be bargain prices. To find out what they are, click here to be Philip's guest at the service free for 30 days.

Everyone wants a piece of a stock on the rise. But by being a value investor, you can find stocks before they rise.

This article was originally published on April 17, 2006. It has been updated.

Shruti Basavaraj owns shares of Microsoft. Microsoft is an Inside Value pick. The Fool's disclosure policy is sealed for freshness.