Stop losses and take profits as percentages

Is it possible to now trade 10% of my total portfolio value each time I enter a position, and set an example 1% stop loss and a 1.5% take profit for each of these positions? right now we are only able to enter specific prices.