The strengthening dollar made U.S. stocks, bonds and other investments even more attractive to foreigners because they were more valuable in euros, yen, pounds or other currencies when the investors cashed out.For many years, the combination of those forces led the U.S. to buy far more from overseas than it sold abroad.