This MetaTrader 4 expert advisor serves as a ZeroMQ server to bridge the trading terminal with external Python environments for machine learning analysis.
Market Analysis ML Bridge facilitates real-time data export, including price action and nineteen technical indicators like RSI and MACD, to train predictive models. The EA receives trade execution commands from an external Python client to open or close positions. It manages risk through basic parameters for maximum lot size, order limits, and slippage. While the EA handles execution, the core strategy logic resides in external scripts.
Read from DWX_ZeroMQ_Server_v2.0.1_RC8.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
PROJECT_NAME
string
DWX_ZeroMQ_MT4_Server
ZEROMQ_PROTOCOL
string
tcp
HOSTNAME
string
*
PUSH_PORT
int
32768
PULL_PORT
int
32769
PUB_PORT
int
32771
MILLISECOND_TIMER
int
1
t0
string
--- Trading Parameters ---
MagicNumber
int
123456
MaximumOrders
int
1
MaximumLotSize
double
0.01
MaximumSlippage
int
3
Show all 15 inputs
Name
Type
Default
Description
DMA_MODE
bool
true
t1
string
--- ZeroMQ Configuration ---
Publish_MarketData
bool
true
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Financial-ML/Market-Analysis from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
3Copy the filesCopy the .mq4 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.
This expert advisor acts as a communication bridge between MetaTrader 4 or 5 and external Python applications. Based on the Darwinex Labs server framework, it uses text files to exchange market data and trade commands, allowing users to implement machine learning models or reinforcement learning strategies. It includes
This expert advisor serves as a bridge between MetaTrader 4 and external applications using the ZeroMQ messaging protocol. It allows external programs to communicate with the terminal over TCP sockets to send trading commands or retrieve market data. The EA functions as a server, hosting REP and PUSH sockets to handle
Aurum79 is a connectivity bridge that links MetaTrader 5 to external JavaScript environments via a local socket server. The expert advisor transmits live price ticks and historical candle data to a Node.js client, which can then process the information using external libraries such as TensorFlow.js. It receives and exe
This MetaTrader 5 expert advisor serves as a technical bridge to integrate Python-based trading models into the platform. It facilitates the testing and validation of external models within the MetaTrader Strategy Tester by utilizing the ONNX format for cross-platform compatibility. The system allows developers to leve
This MetaTrader 5 expert advisor acts as a communication bridge between the terminal and external applications, specifically tailored for reinforcement learning and Python-based algorithmic trading. It exports real-time market data, bar history, and account information to local files while processing trade commands fro
This MetaTrader 4 expert advisor functions as a local trade copier, allowing users to replicate trades from one terminal to another. It operates by sharing a data file between a master and a slave instance on the same computer or filesystem. The slave EA manages order execution, including market, limit, and stop orders