The Right Time to Invest in the Stock Market