How to get Stop Out Level and Margin call level

shanmugapradeep

Active Trader
Dec 18, 2020
119
5
34
39
Hello,



Different brokers have different Margin call and Stop out level percentage. How to get that using MQL4 code?



I am trying something like this but not working



MQL4:
double marginCallLevel = AccountInfoDouble(ACCOUNT_MARGIN_CALL_LEVEL);
 
double stopOutLevel = AccountInfoDouble(ACCOUNT_MARGIN_STOPOUT_LEVEL);