Analyzing Market Trends for Better Investment Decisions