Download MetaTrader 5

isDemo vs AccountInfoInteger(ACCOUNT_TRADE_MODE) vs other methods

To add comments, please log in or register
Joshua Graham
1099
Joshua Graham  

So when using different functions to check if an account is a demo or live acct, is there a difference between functions?  Specifically, is there a difference in how the functions check to see if account is demo?

whroeder1
17081
whroeder1  
This is a user's forum not Metaquotes, we can only guess. Only the broker can tell the terminal if it's a demo account, so it must be stored in a variable upon log in. Why would there be more than one method to check a variable?
To add comments, please log in or register