2000 Mercury Sable

Engine Performance problem
2000 Mercury Sable 6 cyl Front Wheel Drive Automatic 82000 miles

Idles TERRIBLY. Auto Zone trouble codes P1132, P1152, P0174, P0171, P0401. I have replaced the EGR valve, with no change. What would be the next logical step?
Also analyzed by newest portable diagnostic computer from Mac Tools, the Taskmaster. It did a full diagnostic, even checking the power steering pressure, and at one point did something in the diagnostic that made the engine run noticeably better - almost normal. But when it was finished, it basically came back with the same information that was displayed be the care computer codes listed above.
Can you help?
August 1, 2008.

It sounds like you need to start with a compression test, here is a good link

thanks for using

Aug 4, 2008.