I noticed that there are sometimes more than one function that produce the same output (or similar). In this case isDemo()
and AccountInfoInteger( ACCOUNT_TRADE_MODE )
But the question is are the functions checked the same way? Do they both check the same types of information to verify demo status?
They both may be able to tell me if the active trading account is a Demo account, so when would you use one function over the other?
Are there any other functions that check for a demo status or could be used to check for demo status in MetaTrader Terminal 4, that I haven't found?