Since bottoming out in November 2008, and after adjusting for its stock split, Alphabet (GOOG 0.37%) (GOOGL 0.35%) has had a stock price history that's the envy of the market. Better known as "Google," this company has seen its stock rise relatively uninterrupted for almost seven years.

GOOGL Chart

GOOGL data by YCharts.

Over the past few months, however, the stock has hit a wall, falling 13%. Does that mean that we're seeing a buying opportunity? Let's explore the question from two dimensions.

Using Google's stock history, what would happen if you bought on the dips?

The past is in no way a perfect predictor of future performance. But to help us gauge what kind of opportunity Google stock is presenting, I went back to find out what would have happened if an investor bought Google shares whenever the company's stock fell at least 13% from its 52-week high.

If it fell more than 13%, I logged a purchase for every multiple of 13 that it fell. For instance, I would buy it after losing 13% from its high, and again if it had lost 26% from its high...and so on. Here's what I found:

Date

Price

Return Since

Annualized

March 2005 

$88.99

681%

20%

January 2006

$199.93

248%

13%

March 2006

$168.92

311%

15%

January 2008

$300.43

131%

10%

February 2008

$258.21

169%

12%

March 2008

$216.89

220%

15%

October 2008

$166.17

318%

22%

May 2010

$246.82

182%

19%

June 2010

$218.49

218%

21%

April 2011

$265.62

162%

20%

June 2012

$282.54

146%

25%

November 2012

$331.85

109%

23%

April 2014

$523.10

33%

14%

Total

   

18%

Data source: Google Finance. Table by author. Annualized returns calculated using compound annual growth rate calculator at Moneychimp.com; returns assume current price of $695 per share.

As you can see, this method has been pretty effective at generating superior returns. The most important figure is the one in the lower right-hand corner: buying shares of Google stock after such dips has generated -- on average -- returns of 18% per year!

A keyboard with a blue search button in place of the shift button.

Image source: Getty Images.

But does that mean Google stock will repeat this history?

As I've already said, such performance is in no way an indicator of what will happen in the future. That being said, however, I have immense confidence in Google's ability to continue generating gobs of free cash flow and steadily improving its earnings. I say this for two reasons.

First, there is a massive, undeniable shift toward mobile advertising worldwide. Research company eMarketer predicts that global mobile ad spending will increase from $69 billion last year to almost $200 billion by 2019. That's enormous growth, and Google and Facebook are the only two companies with enough data on users to offer ads that can be uber-effective at hitting the target audience.

Second, Google has innovation in its DNA. That's why it changed its name to Alphabet last year -- to focus on the fact that the company is making lots of "bets" outside of search. The laboratory that's pursuing these bets is called X, and it is headed up by Google co-founder Sergey Brin.

X is focused on finding technological solutions to some of mankind's biggest problems. Already there are stand-alone projects born out of X, including self-driving cars, Google Glass, and Calico, an anti-aging initiative.

Success in any one of these projects is relatively unlikely. But all it would take is one project to become a success for Alphabet to experience a marked improvement in its top and bottom lines.

In essence, by buying Alphabet shares, you get two businesses: the king of mobile advertising in Google, and a host of moonshots that could change the world. After the stock's recent fall, it is trading for just 20 times expected earnings over the next 12 months. I think that's a pretty good deal.