The S&P 500 joined the Dow Jones Industrial Average in hitting record highs Tuesday, driven by robust corporate earnings and geopolitical optimism. Stocks rallied as investors responded positively to stronger-than-expected quarterly results from major companies.

A potential reopening of the Strait of Hormuz lifted energy stocks and broader market sentiment. This critical shipping channel, which handles roughly one-third of global seaborne oil trade, affects energy prices and supply chain stability worldwide. Any movement toward reopening reduces uncertainty around oil supplies and transportation costs, encouraging investors to bid up equities.

For ordinary investors, record highs in major indexes like the S&P 500 and Dow matter primarily based on your portfolio composition. If you hold index funds or exchange-traded funds tracking these benchmarks, your holdings moved higher. If you own individual stocks in companies that reported strong earnings, those positions likely gained ground.

The earnings-driven rally reflects a straightforward principle: companies performing well financially tend to see their stock prices rise. Investors use quarterly earnings reports to assess whether businesses are growing revenue, controlling costs, and generating profits. When multiple large companies beat expectations simultaneously, it reinforces confidence in the broader economy.

However, record-high market levels create a natural question for savers considering entry points. Historically, chasing markets at peaks has not produced superior returns. Dollar-cost averaging, where you invest fixed amounts regularly regardless of price levels, remains a proven approach for long-term investors. This strategy removes emotion from timing decisions and smooths out purchase prices over time.

Current market strength does not guarantee continued gains. Geopolitical situations shift rapidly, and earnings momentum can stall. Your allocation to stocks should match your time horizon and risk tolerance, not recent price movements.