Forum

On randomly large values of required margin.

Greetings, I was trying to program an EA that moves 22% of my free margin for every trade it opens. Only one position is open at a time and the only positions opened are those from the EA. The code I used for finding out the size of the trade was this one: int AdjustLot(){ double sizePosition

On randomly large values of required margin.

Greetings, I was trying to program an EA that moves 22% of my free margin for every trade it opens. Only one position is open at a time and the only positions opened are those from the EA. The code I used for finding out the size of the trade was this one: int AdjustLot(){ double sizePosition