A key gauge for market sentiment has been flashing bearish signals for weeks.