The server of your broker provides this information. If you are not connected these (and other) functions do not return valid values!
It could even be that for example after a restart of the terminal the Oninit() is executed while the terminal is still in the progress to login and you might get wrong values in this case - imagine a thread race and you haven't won it.
The server of your broker provides this information. If you are not connected these (and other) functions do not return valid values!
It could even be that for example after a restart of the terminal the Oninit() is executed while the terminal is still in the progress to login and you might get wrong values in this case - imagine a thread race and you haven't won it.
That is 100% correct but any offline terminal can read data such as AccountNumber and AccountName. See Navigator->Accounts.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi folks.
I have a little problem.
The correct number of the account is shown at the top of the terminal window but AccountNumber() returns a zero.
How to get correct Account data when terminal is offline.
Sorry for my english.