I'm not saying it has to be around 7 years, I'm just saying it's generally not a good idea to start investing all your money into the stock market when it's at or near all time highs.
There's even an urban dictionary word for it. "BTFATH" - Buy the fucking all time high. http://www.urbandictionary.com/define.php?term=BTFATH