Discussion of article "MetaTrader 5 and Python integration: receiving and sending data" - page 5
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
What does it mean: No IPC connection?
no terminal connection
you must have called MT5Shutdown() and are trying to get quotes.
no connection to the terminal
Probably you have called MT5Shutdown() and are trying to get quotes
No, I just called the symbol wrong.
Hi all
Note
Connection address should be added to the list of allowed ones on the client terminal side (Tools \ Options \ Expert Advisors).
If connection fails, error 5272 (ERR_NETSOCKET_CANNOT_CONNECT) is written to_LastError.
The function can be called only from Expert Advisors and scripts, as they run in their own execution threads. If calling from an indicator,GetLastError() returns the error 4014 - "Function is not allowed for call".
https://www.mql5.com/en/docs/network/socketconnect