I created an AI trading bot in MetaTrader 4 and 5. Implemented a Python script to use the AI model and integrated it with the EA using socket communication. Runs well for one forex pair.
Now I want to increase my Forex pairs and trade with more pairs. So, I need to develop several Python scripts for each prediction model.
But I can't connect multiple such Python scripts to one EA using sockets. I thought I could set multiple port numbers, but I'm not sure how to do it.
I believe we have the best experts here to solve this problem. Please let me know if anyone can solve this problem.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I created an AI trading bot in MetaTrader 4 and 5. Implemented a Python script to use the AI model and integrated it with the EA using socket communication. Runs well for one forex pair.
Now I want to increase my Forex pairs and trade with more pairs. So, I need to develop several Python scripts for each prediction model.
But I can't connect multiple such Python scripts to one EA using sockets. I thought I could set multiple port numbers, but I'm not sure how to do it.
I believe we have the best experts here to solve this problem. Please let me know if anyone can solve this problem.
Thank you, Robert Brooks.