What makes the perfect portfolio? Well, maybe the following stocks:

  • Amgen (NASDAQ:AMGN)
  • Anheuser-Busch (NYSE:BUD)
  • Home Depot (NYSE:HD)
  • Walgreen (NYSE:WAG)
  • Disney (NYSE:DIS)
  • FedEx (NYSE:FDX)

Why did I pick these? Truth be told, they're just some of many that came to mind, and most people would be best off owning more than just six or seven stocks. But bear with me.

I chose these companies for a bunch of reasons: They've all had great runs in the stock market, making many investors rich. They're companies I have admired over the years. Some have played a big part in America's economic past, while others are major players in its future -- and some straddle both camps. They have strong brands, making it hard for others to compete with them. They have serious competitive advantages, too, such as sheer size, and they tend to have robust profit margins.

It's all in the timing
But you know -- this isn't enough. Timing plays a critical role in anyone's portfolio. You and I might have the same portfolio of stocks, but if I've owned them for just a year and you bought them a decade ago, the picture will differ quite a bit. Let's see how this portfolio would have fared if you owned it over the past decade versus just owning it during all of 2006. Here are the companies' compound annual growth rates for the 10-year period and trailing-12-month gains in 2006:

Company

10-Year Annualized Return

TTM

Amgen

15.1%

-26.2%

Anheuser-Busch

10.5%

-1.5%%

Home Depot

8.4%

-3.4%

Walgreen

13.7%

-8.4%

Disney

3.4%

10.0%

FedEx

12.5%

0.3%

One lesson to draw from this: It isn't enough to park your money in the "right" stocks, the stocks you believe in. You need to stash them in your portfolio at the right time. Over the past 12 months, the S&P 500 index has advanced nearly 9%. This basket of stocks underperformed the S&P, averaging a 5% loss.

Of course, no one knows ahead of time exactly when to best invest in any company. Still, smart investors do their best to determine the right time, which often proves to be "a long time." Over longer periods, strong, growing companies tend to perform well. (Most of the companies above topped the market over the past decade.) The right time also includes some discrete periods, which become apparent in retrospect but take some skill to estimate ahead of time. For example, check out these returns for Intel:

Total Gain

Average Annual Gain

December 1986 to December 2006

4,812%

21%

December 1986 to December 1996

3,656%

44%

December 1989 to December 1999

3,790%

44%

December 1992 to December 2002

486%

19%

December 1996 to December 2006

31%

3%

Clearly, if you'd invested in Intel 10 years ago, you wouldn't have fared so well (3%) (though the future is paramount, and if you aim to hold it for another 10 years, you might still do very well overall). If you'd invested in it 20 years ago, you'd have done rather well indeed (21%), but two intervening 10-year periods offered much higher growth rates (44%). Your level of happiness in having Intel in your portfolio would likely have differed widely, depending on when you put that stock in it.

So how would you have known when to invest in such a stock? Well, luck can certainly be a factor for many investors. Other than that, though, it wouldn't have been enough to just spot hefty profit margins, or a strong earnings growth rate. Such measures can decline over time. Ideally, you'd have wanted to be well-versed in the company's industry and familiar with its competitors and emerging technologies, and you'd have wanted to have a strong grasp of Intel's competitive advantages, operational risks, and future promise. You'd also have been looking out for a good price at which to buy into the company. All this research can't guarantee any kind of return, but it can significantly increase your odds of doing well.

Get guidance
That's all easier said than done, though. If you're not confident in your ability to find such promising companies at the right time, look for some trusted advisors. One resource I use is our Motley Fool Stock Advisor newsletter, which recommends two promising companies each month. Over five years, its average recommendation has beaten the S&P 500 by a resounding 63% to 27%. A free, no-obligation 30-day trial will give you full access to all recommendations and past issues.

Regardless, when you envision your perfect portfolio, don't just look at the quality of the company. Think about the stock's price as well, and whether this is a good time to jump aboard. When in doubt, focus on the long term! A growing company may falter over the short run, but in the long run, it usually fares well. (And when a healthy company falters, that can be the best time to buy.)

Here's to a more perfect portfolio!

This article was originally published on Apr. 2, 2007. It has been updated. 

Selena Maranjian owns shares of Amgen and Home Depot. Anheuser-Busch, Home Depot, and Intel are Motley Fool Inside Value recommendations. Disney and FedEx are Stock Advisor recommendations. The Motley Fool is Fools writing for Fools.