How Market Trends Shape Stock Ideas