The last time the stock market saw three consecutive years of gains over 20% was during the dot-com boom of the late 1990's.