If you wish to withdraw funds while holding open positions, your account must maintain a margin level of at least 250% after the withdrawal.
If the margin level falls below this threshold, your positions may be at risk of forced liquidation. We recommend submitting your withdrawal request after closing your positions to avoid potential losses.
Reference
How to Calculate Required Margin and Margin Maintenance Ratio – MYFX Help Center