Ok, I already solved this situation. It was a pretty simple solution, for instance.
Basing on this article, we have to start an EA instance the values for "balance", "equity" and "free margin". That is the same value, thinking about an EA initialization.
( http://www.luckscout.com/leverage-margi ... x-trading/ )
From this way, all that we need to do is use our "onInit()" abstract EA method and setup the variables basing on a new static double variable.
And thats it ! See ya !
......
margin operations.png