That's not quite what I said. But the math isn't hard. Picture buying the first Monday of the month for each of twelve months in the year, where the thirteenth month returns to the same price as the first, such as the following per-share prices:
$10
$11
$10
$9
$10
$11
$10
$9
$10
$11
$10
$9
$10
The average price over the course of that year was $10, which is exactly the same as the price in month 13. So, your first guess might be that your investment, made over those twelve months, is worth exactly what you paid for it in month 13. But that's not how it works out. How much would your investment be worth if you bought, say, $100 of the stock per month? In that case, this is how many shares you would have bought each month:
10
9.090909
10
11.11111
10
9.090909
10
11.11111
10
9.090909
10
11.11111
Thus, in month thirteen, you'd have 120.6061 shares, worth $1,206.06, which you'd have bought for $1200. You'd have earned $6.06 through the dollar-cost averaging process, simply by the way it makes you buy more when prices are low and less when they're high. That's only 0.505% return, which is small. But, remember, your money was only invested, on average, for 6.5 months (1 year for the first $100, 1 month for the last). So, your annualized return works out to about 0.934%. That's still not great, but it doubles what most savings accounts are paying these days. And the point is simply that dollar-cost averaging can give you a little edge in a market that's bouncing up and down and not really going anywhere.