S&P 500 triggers signal with perfect track record for calling end of bear markets