Wall Street bank Merrill Lynch , which is being acquired by Bank of America , said its losses more than doubled in the third quarter , to 5.2 billion dollars , on writedowns of nearly 10 billion dollars .