Size trades by risk % and stop distance. Works for FX pairs; adds a safety buffer by rounding down.
Calculator
How it works
Position size = (Account Balance × Risk %) / (Stop Distance × Value per pip). Rounds down to the nearest micro lot by default.
add_action('wp_footer', function(){
echo '
Risk warning: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage.
Consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money.