A stock-market indicator that has been used by investment analysts for more than a century flashed a bullish signal this week.