How to get Stop Out Level and Margin call level

 

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


 double marginCallLevel = AccountInfoDouble(ACCOUNT_MARGIN_CALL_LEVEL);

double stopOutLevel = AccountInfoDouble(ACCOUNT_MARGIN_STOPOUT_LEVEL); 
 

Check AccountStopoutLevel and AccountStopoutMode.

Also check this.