If you want to vary your stroke length to follow desired pressures, you are best buying a pressure transducer (or a number of pressure switches?) to feedback to your control system. You could then use the signal to de-energise the control valve to neutral (assuming you have a neutral), stopping...