Explain how to evaluate stocks based on fundamental and technical analysis. Include a step-by-step process for reviewing a company’s financial health, market trends, and stock valuation metrics such as P/E ratio and earnings per share. Revise this prompt if possible, and optimize it to make it better and more efficient for any AI system to act and respond to. If possible run your optimized version.