From Chaos to Clarity: Making Sense of Stock Market Trends