I have a 2006 Mercedes Benz E350 and it's running really kind of rough and knocking a little bit I fixed everything as far as the spark plugs and the ignition coils and was wondering if it could be the EGR valve that's causing it to still idle real...
I have a 2006 Mercedes Benz E350 is running kind of rough it needs it seems like to me a EGR valve
Please note for future reference that the title line is for a short description, not your full post (which in this case was cut off due to length). Thank you. (Title edited.)

Guessing and throwing parts at the problem is obviously not working, it rarely does. You need to do some diagnosis. For starters have you scanned for codes and live data?
No I looked it up after changing the plugs and ignition coils. Others on YouTube have videos and it seems to be the EGR valve