Funyoo:

I see in the new version that there's an option called "mmmode" which can be set to:

0=freemargin
1=equity
2=balance

The first version (the one at the first post) seems to use X leverage of the account. The risk is set to 4 and i have then noticed that the positions become 0.4 lots if starting with 10 000 account.

Which of the new options correspond to the use of X leverage of the account as in the first version?