Back in my freshman year of high school, I embarked on an unusual journey. I had no way of knowing it at the time, but it was one that would forever change my life.

Of course, there were lots of special journeys that year: playing high-school football, parent-free parties, sneaking out of my basement at 1 a.m., etc. But it was my pre-calculus stock market simulation (of all things) that would ultimately teach me three simple rules that would change the way I would think about the world and would lead me down a path toward marketing beating stock selection.

Join me.

The stock simulation
Every day in math class, I sat next to a kid named George who I thought was pretty darn intelligent. Despite his dogged insistence that we ditch school every second day to either water-balloon kids at our rival school or hang around in the lobby of the all-girl's school next door, George was definitely a smart cookie.

What made George special was that he had this ability to intuitively know things about subjects that I'd never encountered before. A normal guy he wasn't (his hands would sweat profusely whenever we'd talk to girls and one could barely hold his attention for a minute during conversation before he'd just wander off), yet he had an uncanny ability to just figure things out. He was different.

Anyway, George and I started this stock market simulation amid a class of kids all eager to succeed. I had my strategy well-designed. I furiously read every article I could from The Wall Street Journal, Financial Times, and The Economist. Then, I'd buy companies like IBM (NYSE:IBM), ExxonMobil (NYSE:XOM), and Bank of America (NYSE:BAC) based on the advice of authors or analysts who advocated purchases of the stock. I brought newspapers to school every morning after my Dad was finished reading them. I brushed up on my knowledge before class every day. I was doing everything I was "supposed" to do, and I thought I was going to be the next Gordon Gekko.

What the heck?
A semester of this went by, and guess what? I was getting crushed.

I recall sitting in the third-to-last position in a class of about 17. My returns were garbage -- well in the red -- and far behind the returns of classmates who were literally doing nothing and just picking random tickers.

George, meanwhile, was off the charts. He was way off in first place. The guy didn't read a lot, didn't spend any extra time researching. What the hell was he doing? Was he cheating? Did he hack into the software somehow?

It took me a while to swallow my pride and ask him why his strategy was so much better than mine, but I did, eventually. His response:

Kapur, I just do the opposite of what you do.

Not what I wanted to hear
What? How can someone do the opposite of what every newspaper and analyst in the world told me to do and still win? How is that possible?

Well, it was in George's ability to be unlike everyone else that he found a way to thrash the market. It was brilliant.

George broke it down to me like this: Every time the media or the market would hammer a stock that he liked (he was partial to blue chips like General Electric (NYSE:GE) or Coca-Cola (NYSE:KO)), he would step in and buy. Every time the media or the market started to put a premium on a stock he didn't really feel confident in, like Yahoo! (NASDAQ:YHOO) or AT&T (NYSE:T), he'd short-sell it. He'd buy what went down and short what went up. That's it.

The three rules
He literally was doing the opposite of what I was doing and was crushing everyone in the class at the same time. In his explanation, he revealed to me three simple rules that have since changed my life:

  1. Ignore the media's advice.
  2. Do the exact opposite of what you expect everyone else will do.
  3. Feel comfortable being the only person doing what you're doing.

How he knew these things I have no idea. But they began to make a whole lot of sense once I developed an appreciation for how the market really functioned several years later.

In retrospect, this was incredibly prescient advice coming from a 13-year-old kid who'd rather spend his time water-ballooning fellow students than burying his face in an analyst report.

Think differently
Simplicity ruled George's strategy. He aspired to be a contrarian, to move against the whims of the market, to take advantage of the market's myopic and often irrational behavior, and to be completely unconventional. Many years later, I realized that these were the core tenets of some of the world's most famous investors. Names like Buffett, Templeton, Graham, and Soros sound familiar here, and yet this advice was being shared between two kids who couldn't even get into an R-rated movie.

Armed with this knowledge, I embarked on an investment career that was never quite the same. His ideas literally altered the way I viewed the world.

It all makes sense
To complete the story, let me say that following high school, George went off to Harvard, where he co-authored a book on behavioral finance at the tender age of 22. After that, he helped run a prop-trading desk at a major investment bank, and today he's finishing up an advanced degree at yet another Ivy League institution. Needless to say, when it comes to the stock market, George is working at an advanced level.

Unfortunately, there are many more thousands of investors who don't see the beauty of a system that asks you to go against the conventional wisdom of the masses. Why? It's probably because it's uncomfortable and it's difficult -- even unnatural -- to do the opposite of what everyone around you is doing. But, as George discovered at an early age, the stock market is not a popularity contest, it's a mechanism for building wealth. And thus, his strategy (which is the same for many of history's greatest investors) has some serious merit.

The Foolish bottom line
If you follow the rules set forth by my precocious classmate, I expect you'll develop a whole new way to look at the world. But more important, if you begin to push against the grain and truly think like an individual as opposed to thinking in a manner designed by others; you're likely to develop serious market-beating talent.

If you're intrigued by these ideas, I encourage you to take a look at the Motley Fool Inside Value service, where advisor Philip Durell seeks to unlock the value within stocks that the masses have tossed aside. It's the value investors approach. The strategy works, it's yours to examine free for 30 days, and it's one of the surest paths to a market-beating portfolio. Click here to see for yourself.

Fool Nick Kapur owns no shares of any company mentioned above. He also suspects he's becoming a better investor than George over time. Coca-Cola is an Inside Value and an Income Investor pick. The Motley Fool has a disclosure policy.