Stop loss for % of shares

It would be very useful if stop losses could be set for a % of shares so for example you could set it to 100% and if you added more or sold some you would not need to create a new stop loss