OliverTT:
I have a script that prints the margin per lot:
double marginPerLot = MarketInfo(symbol, MODE_MARGINREQUIRED);
On GER40, it gives me 629.75€.
When I open one lot, the actual margin used is 943.40€.
Has anyone encountered this issue? And is there a workaround to get the correct value?
It is set by your broker, you will need to discuss it with them.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have a script that prints the margin per lot:
double marginPerLot = MarketInfo(symbol, MODE_MARGINREQUIRED);
On GER40, it gives me 629.75€.
When I open one lot, the actual margin used is 943.40€.
Has anyone encountered this issue? And is there a workaround to get the correct value?