if (Account.IsLive)
Created at 21 Mar 2015, 01:45
if (Account.IsLive)
21 Mar 2015, 01:45
I have a coded in the cBot that it should only run on "demo account" not on a live account.
if (Account.IsLive)
Stop();
else
Print("This is a demo account");
So far it runs OK on demo account on most brokers but on one broker it does not run, like the code is treated as a live account.
Any ideas what causes this behavior?
Spotware
27 Mar 2015, 17:42
Please specify broker name, we will check.
@Spotware