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

[Deleted]  

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().
[Deleted]  
ubzen:
The command IsDemo().

Thank you for this information
This website uses cookies. Learn more about our Cookies Policy.