Margin Factor

I keep having order execution errors in my backtest because the account is running out of cash. How can I use the Account Margin Factor to lever up the account (obviously keeping my capital amount where it is so as to not skew P&L numbers)? Or is there another way to do this? I have clicked the Account Margin Factor up to 100 and still it is kicking back trades. Any thoughts?