Copier & bridge · MT4

Market Analysis ML Bridge

by Financial-ML

This MetaTrader 4 expert advisor serves as a ZeroMQ server to bridge the trading terminal with external Python environments for machine learning analysis.

GitHub stars24
Forks8
Last update7 years ago14 Jun 2019
LicenceNone stated

Overview

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.

Details

Author

Financial-ML on GitHub

Type

Copier & bridge

Platform

MetaTrader 4 (MQL4)

Strategy

AI / machine learning

Markets

Forex, Gold

Timeframes

Any timeframe

Risk profile

  • Trades without a fixed stop loss

Topics

machine-learningdata-scienceartificial-intelligencetrading-strategiestrading-systemsfinancial-analysismql4pythondata-mining

Input parameters

Read from DWX_ZeroMQ_Server_v2.0.1_RC8.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
PROJECT_NAMEstringDWX_ZeroMQ_MT4_Server
ZEROMQ_PROTOCOLstringtcp
HOSTNAMEstring*
PUSH_PORTint32768
PULL_PORTint32769
PUB_PORTint32771
MILLISECOND_TIMERint1
t0string--- Trading Parameters ---
MagicNumberint123456
MaximumOrdersint1
MaximumLotSizedouble0.01
MaximumSlippageint3
Show all 15 inputs
NameTypeDefaultDescription
DMA_MODEbooltrue
t1string--- ZeroMQ Configuration ---
Publish_MarketDatabooltrue

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Financial-ML/Market-Analysis from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 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.

Similar expert advisors

Buy Hold Sell Close

by kmafutah
3 stars

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

MT4MT5 Copier & bridge AI / machine learning
Updated 2 years ago None stated GitHub repository of Buy Hold Sell Close

Trader App ZeroMQ Bridge

by FarzanehCS
2 stars

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

MT4 Copier & bridge AI / machine learning
Updated 7 years ago None stated GitHub repository of Trader App ZeroMQ Bridge

Aurum79

by oknoorap
9 stars

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

MT5 Copier & bridge AI / machine learning
Updated 3 years ago MIT GitHub repository of Aurum79
2 stars

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

MT5 Copier & bridge AI / machine learning

Deep Q Trading DWX Server

by SimonMonnier
1 stars

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

MT5 Copier & bridge AI / machine learning
Updated 4 years ago None stated GitHub repository of Deep Q Trading DWX Server

Trade Copy MT4

by vobornik
256 stars

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

MT4 Copier & bridge Martingale High risk
Updated 3 years ago GPL-2.0 GitHub repository of Trade Copy MT4

More copiers and bridges

Need a broker for MT4?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers