Percentage risk

Rather than entering a position size when trading forex for example could we have the option to use percentage of balance? This way it works out the position size automatically on the percentage we are willing to risk based on our stop loss distance.