Hello everyone,
I have an account in WindsorBrokers-DEMO server. Note that It is a DEMO server.
I run below script on a chart:
void OnStart() { Comment("My account is ", IsDemo() ? "DEMO" : "REAL"); }
But, the result shown as: My account is REAL
What is the problem?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello Every one. Please how do I write the code that will determine if an account is real or demo.