The market is trending close to its all-time high with the bull market in its fourth year. Is it the right time to invest?