How can I differentiate between Demo or Real account with MQL4?

 

Hello,

does anyone know, how I can differentiate between Demo or Real accounts with MQL4?


I want, that my EA only works on demo accounts and not on real accounts.


Yours,

Alfred

 
The command IsDemo().
 
ubzen:
The command IsDemo().

Thank you for this information