The FxPro Margin Calculator works out exactly how much margin is required in order to guarantee a position that you would like to open. This helps you determine whether you should reduce the lot size you are trading, or adjust the leverage you are using, taking into account your account balance. Select your trading instrument, your trade size, leverage and account currency, and click ‘Calculate’. Our Margin Calculator will do the rest.

In particular I've made the interface for beginning a new backtest a lot simpler by encapsulating a lot of the "boilerplate" code into a new Backtest class. I've also modified the system to be fully workable with multiple currency pairs. In this article I'll describe the new interface and show the usual Moving Average Crossover example on both GBP/USD and EUR/USD.