Mql5官网 Python Proxy Live 外汇EA

Mql5官网 Python Proxy Live 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站
Mql5官网 Python Proxy Live 外汇EA
此内容为免费资源,请登录后查看
0积分
免费资源

如果免费资源下载的文件为TXT文档

请联系站长更新!站长微信:Lv596999  Telegram:@eapoj

“Mql5官网”板块的EA基本都有,大部分是无限制NODLL版,NODLL版本MT1420升级,大多数不可用!这些EA来源为国外花钱买过来的

有需要,请联系站长!

“EA测评”板块资源全部现有,看见不错的,可以联系站长看EA在确定是否收费

“无限制EA”板块,大部分免费,下载文件全部存在,都可以免费下载

站长硬盘EA太多,因大部分时间做交易,做风控,没太多时间更新下载地址,请谅解!

需要更新下载文件,请联系站长微信!国外朋友请联系Telegram。


[Introduction] . [Installation]

Introduction

This version can be used for live trading. If you want to try a free version for backtesting only, you can go to here.

Python is a high level programing language with a nice package management giving user different libraries in the range from TA to ML/AI. Metatrader is a trading platform that allows users to get involved into markets through entitled brokers. Combining python with MT4 would give user an unprecedented convienance over the connection of brokers and the freedom of library utilization. The potential of your EA now becomes unlimited as you can create different AI strategies on top of those famous ML python libraries freely.

You will need to have your customized proxy EA running on the MT4 side. TCP socket will be used for messaging between the python EA and proxy EA. There are 3 main components in the MT4 system:

  • Py3_Proxy_Interface.ex4 — It holds the core communication implementation. You can get a free version from the MQL5 for backtesting your strategy.
  • WinSocketWrapper.mqh — It contains the windows socket utilization.
  • Py_Proxy_Ea.mq4 — The last component in MT4 side. By combining all 3 of them, you will have your own customized proxy EA running as a server on the MT4 side and waiting for the connection from the python EA. In addition, you can control the input parameters as what you did as a normal MT4 EA.

The idea of the proxy EA is not only providing python interfaces but also keeping the life cycle of EAs so that the callback sequences are remained in the python side which means that you can backtest your python EA on the MT4 platform.

As one may notice that the communication between the processes is TPC socket, speed is a bit slower to the share memory method. To keep the speed of the EA operation while does not sacrifice much of the data converage. The OnTick function on the python side will be triggered for each bar instead of each tick. In other words, whenever there is a bar update, the function OnTick will be triggered.

Limitation & Notice

There are limitations of this solution.

  • This is not a bug free library. Users are encouraged to test out their EAs through the free version provided on the marketplace amid the backtesting phases. There is no support guarantee but you can put down the bugs or suggestions you have in the comments.
  • Not all of the functions in MQL4 are supported. You can find the list of supported functions within the file — function_list.txt
  • The callback frequence is not tick by tick, that is based on bar, for example 1M, 5M, etc…

If you like this library and would you like to use it for live trading, feel free to subscribe it through the marketplace. Please only do this after you tested and confirm it works for your use case.

There is no guarantee of profits by this tool. It is just a bridge tool between MT4 and python.

© 版权声明
THE END
喜欢就支持一下吧
点赞60 分享
相关推荐