Download MetaTrader 5
To add comments, please log in or register
What is a social trading? Read the article to find that out!
Frenchytrader
281
Frenchytrader 2014.09.30 20:49 

Hi,


I'm running an EA on Demo account where server is Pepperstone-Demo02

I got weird EA logic so I printed it:

   if(IsDemo()) Print("I work at a demo account");
  else Print("I work at a real account");


It prints "I work at a real account"


This is annoying me a lot.


At least, when I connect to a live Account... it doesn't print I'm on Demo.


Please help

Carl Schreiber
5962
Carl Schreiber 2014.09.30 22:11  
Ask you broker..
Frenchytrader
281
Frenchytrader 2014.09.30 23:07  
gooly:
Ask you broker..

Thank you...

I got my answer then:


"

OK it looks like that account is set to be a permanent demo account, in which case we must change the account type - this would result in it saying it is a live account rather than demo, but ti is not linked to a live server so not to worry.

"

/
To add comments, please log in or register