Another option would be to create an mt5 service maintaining a custom symbol to provide you with the necessary data in mt5.
Then you could implement in this service a functionality that provides you the connector to binance. Either using webrequests or utilizing python.
To connect your EA to the service I would use named pipes for the communication between the service and your EA.
There are code snippets available here on the forum as well as in the code base to support your doings.
The advantage would be to have an abstraction layer which gives you the option to implement another crypto exchange in future without the need to change the original EA.
That would be my approach.
Hello everybody,
I want to trade on Binance broker via an Expert Advisor, written in MT5.
Unfortunately, the course data for Binance are not available for the MT5.
However, Phyton is able to both retrieve the price data from Binance through an API, as well as trading on Binance.
Now there are two options:
1. Option: I write and backtest the EA in the MT5 and send the signals to Phyton, which then gives the order to Binance.
2. Option: I write and backtest the EA in the MT5 and implement the strategy in Phyton. Phyton can then send orders to Binance without the constant communication with the MT5.
My questions:Which option is the simplest?
Are there any existing scripts?
Thanks in advance.
Claudius