On the 30 year chart, the peaks on the 20-50% line are a couple percent above the peaks on the all line. Boosting returns from 7% to 9% over 30 years, or from 12% to 14% over 30 years, results in over 70% more total wealth after compounding. The visual difference is not as striking on the 30 year chart as on the 5 year chart, but that's because you're presenting annualized rather than total returns.
> During the decade of the 1980s, the Standard & Poor's 500 Index provided a very handsome total return (including dividends and capital changes) of 17.6 percent. But an investor who happened to be out of the market and missed just the ten best days of the decade—out of a total of 2,528 trading days—was up only 12.6 percent. [...] market timers risk missing the infrequent large sprints that are the big contributors to performance.
Invest in S&P 500 ETF (SPY) starting at inception
Growth of $100,000 from 1/29/1993-8/30/2010
Buy and Hold: $324,330.15
10 Best Days Removed: $156,354.12
10 Worst Days Removed: $692,693.90
10 Best and 10 Worst Days Removed: not listed, but very close to Buy and Hold (the green line in the chart)
Rob Bennett's followup comments are quite good, as well.
That depends very much on exactly what you mean by "time the market".
It is impossible to reliably predict whether the market will go up or down on any given day. It is also impossible to reliably predict exactly when a market will hit a peak or trough. Dollar-cost averaging is a great strategy to reduce the risk associated with the inability to "time" markets in this sense.
But it is completely possible to recognize that a particular asset (or class) is over- or under-valued, as long as you have good enough information. You can't necessarily predict how long it will take for its value to be more accurately reflected in the price (another sense in which you "can't time the market"), but you can recognize that certain assets are on sale or commanding a premium price, and therefore get a good price on/for certain assets.
Portfolio rebalancing is, in part, meant to help capture this. Investing more in assets that have fallen behind, and less in those that have gotten ahead, is a (very rough) mechanism for selling high and buying low. Value investing is even more about this -- explicitly putting money into assets when it is cheap to do so, and selling assets that people are putting money into when it's expensive to do so. The idea is not to "time the market" in the sense of knowing exactly what day the market will turn, but simply to take advantage of really good deals (in the long-term sense) when they present themselves.