Naruephon Klongngoen:
Hi,
How to get an available margin percentage as shown in the MT4?
I would like to stop opening new order when margin percentage below 150%
If there is no code to get it directly, what value do I need to know in order to calculate?
Thank you in advance
double MarginLevelPct = AccountInfoDouble(ACCOUNT_MARGIN_LEVEL);
rrocchi:
Thanks a lot, works fine ^ ^

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
Hi,
How to get an available margin percentage as shown in the MT4?
I would like to stop opening new order when margin percentage below 150%
If there is no code to get it directly, what value do I need to know in order to calculate?
Thank you in advance