How to control a 12V ball valve with Arduino and MOSFETs?

Your diagram ONLY shows three wires. Not nearly enough wires to operate a motor and also have two limit switches that indicate the position.