Stocks closed higher on Friday, Jan. 19, even amid worries the federal government will be forced into a shutdown at midnight unless lawmakers can reach an 11th-hour agreement on funding. 

The Dow Jones Industrial Average finished up 0.21% for the day. he S&P 500 rose 0.44% and the Nasdaq jumped 0.55%. Both the S&P 500 and Nasdaq closed at new record highs.

The House of Representatives passed a continuing resolution late Thursday, Jan. 18, that would continue funding the federal government until Feb. 16, but the bill is unlikely to pass the Senate in its current form, setting up a battle between Republican and Democratic lawmakers over immigration protections for the so-called Dreamers and spending on Donald Trump's promised border wall.

Reports said Senate Minority Leader Chuck Schumer was to meet Donald Trump at the White House on Friday to discuss a possible deal to avoid a shutdown.

That political risk backdrop played on both the U.S. dollar and Treasury bond yields overnight, pushing the dollar index to fresh three-year lows of 90.23 against a basket of six global currencies before rising to 90.55 on Friday and lifting benchmark 10-year Treasury yields to a September 2014 high of 2.64%.

The Stoxx Europe 600 benchmark gained 0.54%, while Asian shares finished Friday's session to the upside.

Consumer sentiment in the U.S. in January fell to 94.4, the worst reading since July, according to the University of Michigan.

Shares of International Business Machines Corp. (IBM) - Get International Business Machines (IBM) Report fell 4% on Friday as investors reacted cautiously to the company's outlook even as it posted its first quarterly revenue increase in more than five years. 

IBM told investors after the close of trading on Thursday that it expects operating profit for the current fiscal year of at least $13.80 a share, a figure that is essentially unchanged from 2017 and shy of the Wall Street consensus of $13.92. The Armonk, N.Y.-based tech company also said it anticipates a full-year tax rate of around 16%, nearly four percentage points higher than what it paid over the course of 2017 as changes in the U.S. corporate code trim its bottom line.

American Express Co. (AXP) - Get American Express Company Report  fell 1.8% after the credit card giant posted its first quarterly loss in 26 years and said it would suspend its stock buyback program because of the new U.S. tax law. 

American Express posted a $1.2 billion quarterly loss after booking a $2.6 billion charge related to the new tax law. The charges were mostly tied to profits American Express had earned abroad and was now returning to the U.S. under a special one-time tax program. 

IBM, American Express and General Electric Co. (GE) - Get General Electric Company (GE) Report , down 3%, were the leading laggards on the Dow. 

TheStreet Recommends

Image placeholder title

Shares of Nvidia Corp. (NVDA) - Get NVIDIA Corporation Report  rose 2.5% after Bank of America Merrill Lynch raised its price target on the graphics chipmaker to $275 a share.

BAML said Nvidia's strength in the gaming space, as well as its dominance in artificial intelligence and virtual reality technologies as well as its recent tie-ups in the autonomous vehicle industry justify its forward price/earnings valuations and point to further upside gains.

General Electric and Nvidia are holdings in Jim Cramer's Action Alerts PLUS charitable trust portfolio. Want to be alerted before Cramer and the AAP team buy or sell GE or NVDA? Learn more now.

Shares of ADT Inc. (ADT) - Get ADT, Inc. Report   finished at $12.40, below the home-security company's initial public offering price of $14 a share.

Square Inc. (SQ) - Get Square, Inc. Class A Report  jumped 5.6% after analysts at Instinet raised their target price on the payments company by $16 to $64.

Schlumberger NV (SLB) - Get Schlumberger NV Report  reported fourth-quarter adjusted profit of 48 cents a share, 4 cents ahead of estimates. Revenue of $8.179 billion also topped forecasts. The stock rose 0.08%.

Schlumberger is a holding in Jim Cramer's Action Alerts PLUS charitable trust portfolio. Want to be alerted before Cramer and the AAP team buy or sell the stock? Learn more now.

Lowe's Cos. (LOW) - Get Lowe's Companies, Inc. (LOW) Report rose 3.5% after the company reached a blockbuster settlement with newbie activist D.E. Shaw in a deal that puts three new directors on the home-improvement giant's board.

Global oil prices fell on Friday following data and projections that suggested U.S. crude output was set to accelerate over the near-term. 

West Texas Intermediate crude, the U.S. benchmark, fell 1% to $63.26 a barrel, and Brent crude was down 0.94% to $68.66. 

More of What's Trending on TheStreet: