I am trying to established connection between MetaTrader 5 and Python using socket. Server part written in python and client part written in mql5. also client is Expert Advisor not a indicator. problem is when i run both server and client ,client gives me "error 4014".
I'm very thankful if someone can help me to solve this problem.
//this is python server code
import socket
serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
serv.bind(('127.0.0.1', 9090))
serv.listen(1)
while True:
conn, addr = serv.accept()
print('client connected to :', addr)
conn.close()
I am trying to established connection between MetaTrader 5 and Python using socket. Server part written in python and client part written in mql5. also client is Expert Advisor not a indicator. problem is when i run both server and client ,client gives me "error 4014".
I'm very thankful if someone can help me to solve this problem.