The day before big events is often a tense, back-and-forth affair for the stock market, and today was no exception. With the all-important Presidential election tomorrow, the markets initially opened lower, but by the end of the day, they had rebounded to post modest gains. The Dow Jones Industrials (DJINDICES:^DJI) finished the day with a 19-point advance, while broader markets saw somewhat larger gains in percentage terms.

Within the Dow, a few stocks posted noteworthy performances. Hewlett-Packard (NYSE:HPQ) was the big gainer in the Dow, rising almost 2%. Between news of a potential increased commitment to Linux and a decision from Procter & Gamble (NYSE:PG) to use its application support for an outreach project to consumers, HP inspired investors today to believe that perhaps the company will be able to execute its turnaround given enough time.

Caterpillar (NYSE:CAT) also managed a decent gain of more than 1% as some point to the heavy-equipment maker as a potential beneficiary of cleanup efforts related to Hurricane Sandy. Short-term impacts aside, though, Caterpillar really needs a stronger global macroeconomic environment to move the needle very far, and given its own questionable long-range outlook, it's hard to feel confident about the company's future right now.

Finally, Disney (NYSE:DIS) gained almost 1%. Although a somewhat surprising $49 million box-office performance for the company's Wreck-It Ralph certainly wasn't bad news, the real long-term value proposition for Disney remains its $4 billion acquisition of Lucasfilm last week. The buy has huge potential to produce blockbuster films for years into the future.

Fool contributor Dan Caplinger has no positions in the stocks mentioned above. The Motley Fool owns shares of Disney. Motley Fool newsletter services recommend Disney and Procter & Gamble. Try any of our Foolish newsletter services free for 30 days. We Fools don't all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.