Whatever money you may need for the next five years, please take it out of the stock market right now, this week. I do not believe that you should risk those assets in the stock market right now."
-- Jim Cramer, Oct. 6, 2008, with the S&P 500 at 1,056.89.

One year ago, thanks in no small part to the statement above, I concluded that Jim Cramer was a menace to investors.

It only took a few months for the rest of the nation to catch on. Jon Stewart finally jumped on the bandwagon in March, exposing the man for what I think he really is: an entertaining (if not, irritating) media personality, but certainly not the champion of the individual shareholder that he often claims to be.

In fact, I consider him to be the closest thing there is to a walking, talking hazard for the individual investor. Stewart may have the jokes, but I have the real reasons why Cramer is such a danger, and why you should take a pass on any investment advice he tries to give you.

Thanks, Jon
I continue to fully applaud Cramer's stated goal -- to help people make money by investing in the stock market. But Cramer's outburst last year was a mistake, plain and simple. And, as Stewart so kindly illustrated, it wasn't Cramer's first time giving such flawed advice.

You see, when someone issues panic-inducing market calls (as Cramer does from time to time) -- and urges investors to avoid long-term strategies to buy and hold good companies -- the average investor simply gets crushed.

Cramer's Oct. 6, 2008 plea on the Today show was grounded in a sound reality: Fools should never have money they need during the next five years in the market. But by advising people to indiscriminately sell, he helped contribute to exactly the thing that he was supposedly trying to avoid -- namely, investors losing money.

Chances are, when the market was taking a chainsaw to some of our more closely held assumptions about the U.S. financial system, most viewers were so petrified that even a very small push was all they needed to join the terrified herds pulling their money out of the market. And pull they did.

Between October and the end of November 2008, investors withdrew a whopping $140 billion from U.S. equity funds. Based on what these funds were holding, those fearful investors were indirectly pulling out of mutual fund mainstays like ExxonMobil (NYSE: XOM), Qualcomm (Nasdaq: QCOM), Johnson & Johnson (NYSE: JNJ), Microsoft (Nasdaq: MSFT), and Procter & Gamble (NYSE: PG) -- many of which had already been hammered.

With the market now priced just a bit above last year's "call," what the heck has Cramer's advice done for you? Perhaps he saved you money in the collapse that occurred in the ensuing months. But in order to complete the circle, he would have had to tell these people precisely when to get back in. Where the heck was he on March 6, when we reached the low? He was nowhere to be seen on national television. Those people who were convinced to run for the hills just missed out on one of the biggest market rallies ever—that no one saw coming. No matter how good his first call was, that's 50% he won't be able to give you back. And therefore, it was a huge mistake.

Instead of holding onto the steady blue-chip stocks that have historically provided investors with some of the strongest long-term returns, many investors were just progressively selling at historic lows ... thereby ignoring the sound and sage advice from names like Buffett, Lynch, Graham, Munger, and Bogle. That's the larger point.

You don't need a weatherman ...
I'll admit that Cramer is entertaining, but no one can consistently forecast the direction of the market as he pretends to be able to do. I repeat: No one can consistently forecast the direction of the market. That is the point.

It moves completely unpredictably over the short-term, which means that trying to make a "call" on the market won't consistently work out for you. Pick a direction (up or down), and you have a 50% chance of being right -- even though the prediction is rather meaningless.

Think of Punxsutawney Phil. When the furry little critter climbs out of his hole each February, either he sees his shadow, or he doesn't. Whichever it is, the result has nothing to do with whether winter is over -- just like a stock market prediction has nothing to do with the market's movements.

The scary part is that Cramer flip-flopped numerous times in 2008, trying to call the bottom at various points throughout the year. While CNBC may gloss over this fact, I've taken careful notice. Don't forget about his theory that 2008 would be the year of natural gas. Ouch.

The talking heads on TV get paid to put on a song-and-dance show and attract viewers. It's entertainment, folks. Your education or your personal success, as Jon Stewart as kindly brought to light, is a secondary priority (or not a consideration at all). Following the advice of those who say they can predict the markets is likely to cost you thousands (if not more).

Why?
In the real world, there are commission costs, taxes, and opportunity costs -- all of which have a tremendous impact on the returns that you're likely to experience.

Every time you pull the trigger in your account, think about your broker and the IRS doing a little touchdown dance. Much of their income is predicated on you transacting as much as possible.

Take a hint from someone who knows a lot about the hidden costs of investing: John Bogle, the founder of Vanguard Investments. He writes: "No matter how efficient or inefficient markets may be, the returns earned by investors as a group must fall short of the market returns by precisely the amount of the aggregate costs they incur. It is the central fact of investing."

Think about that the next time you hear "Buy, Buy, Buy" or "Sell, Sell, Sell."

And for those who listened to Cramer's "prescient" market call to sell, don't forget that he probably didn't bang on the table loud enough to get you back in on the 50% rally we've just had. Hopefully, you got yourself back in.

The Foolish bottom line
If you want to make money in the stock market, you need to tune out the panic -- or the euphoria. You need to remember that no one has any idea where the market is going in the near or medium term. You need to buy shares of great, built-to-last businesses. You need to hold for the long term. And you need to keep as much money as you can from the IRS or your broker.

That's what we do at Motley Fool Stock Advisor, and it's paying off. Take one of our best stocks, Costco (Nasdaq: COST). We recommended buying shares of it more than six years ago. It has thrashed the market by an incredible margin. I bet we'll continue to hold these it for a long time to come.

What was the cost of doing all this? Probably $24 in broker fees, and $0 in taxes. That's a perfect example of what I'm talking about. In fact, our whole scorecard is beating the S&P 500 by 49 percentage points.

As for Cramer ... he undoubtedly has an uncanny knowledge of tickers, prices, and strange catch-phrases. But what he sorely lacks -- and what you must never forget in your investing days -- is temperament. As Warren Buffett once said, "The most important quality for an investor is temperament, not intellect."

Want to see what else we've recommended and what we're recommending now? Click here to get a free, 30-day trial to Stock Advisor -- there's no obligation to subscribe.

Nick Kapur has no positions in any company mentioned above. Costco is a Motley Fool Stock Advisor selection. Johnson & Johnson and Procter & Gamble are Income Investor recommendations. Microsoft and Costco are Inside Value picks. The Fool owns shares of Costco and P&G. The Motley Fool's disclosure policy would never suggest it could predict or time the market.