I am trying to switch on/off the connection between a load and a variable power supply (going from -10 to 10 V) using a combination of NMOSFETs and PMOSFETs. I want to use MOSFETs because of limited power consumption in the overall design. Also, because I need the power supply and the voltage load to be of same value.
I want to turn off/off the connection between the load and the power supply using a digital output that goes from 0 to 5 V.
The problem is, I am able to design a circuit that can be completely shut off (when digital output is 0 V for instnace) , when the power supply goes from 0 to 10 V using a combination of PMOS and NMOS, but I am not able to do figure out how to do it when the power supply goes from -10 to 10 V.
I imagine the circuit to be something like this:


