- If it is real/live trading account so ask your broker for support.
- If it is demo account so create the other demo account with any broker (it is less than 1 minutes to do directly from Metatrader) and continue trading (because many brokers are disabling the demo account so we need to create the new one or the other one).
Sergey Golubev #:
- If it is real/live trading account so ask your broker for support.
- If it is demo account so create the other demo account with any broker (it is less than 1 minutes to do directly from Metatrader) and continue trading (because many brokers are disabling the demo account so we need to create the new one or the other one).
It's real account. The broker does not have any answer for this problem!
Sergey Golubev #:
It is broker's related issue anyway sorry.
It is broker's related issue anyway sorry.
No it was not from broker side. I found the problem and fixed it. A function which draw spread lines should only run when i=0 but wrongly was located in main loop of the custom indicator. I do not know how it causes connection problem, but I tested it in 2 different brokers' MT. both could not connect, but after fixing the code both connected.
I'm glad you posted this and the fact you sorted it. I've got exactly this problem and now know where to look for a solution.

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. When I open MT4 with my default profile (about 10 charts with custom indicators) it does not connect. Sometimes it shows servers and pings, but still no connection.
The only way it works is that I go to another profile with 1 chart, no custom indicator, and restart MT4, then it connects.
Where is the problem? How opened charts and custom indicators can cause no connection problem?!