AccountFreeMarginCheck()

 

If i use

AccountFreeMargin()

AccountFreeMarginCheck(...) for the next order

the output is

100

370

How can it be higher after opening an order? Account Balance is 100 €. So the 100 from FreeMargin is ok but i don't understand the other function.

 
Daniela Bluemel:

If i use

AccountFreeMargin()

AccountFreeMarginCheck(...) for the next order

the output is

100

370

How can it be higher after opening an order? Account Balance is 100 €. So the 100 from FreeMargin is ok but i don't understand the other function.

Probably because your margin is fully hedged.

Example : if you have a BUY order requiring 100 as margin, and you open a SELL order with same lot size, your total margin will be 0.

It's broker dependent.

 
But it occurs on the first order....very strange. I only watched this in one symbol, all other work fine.
Reason: