Copier & bridge · MT4 · MT5

Buy Hold Sell Close

by kmafutah

This expert advisor acts as a communication bridge between MetaTrader 4 or 5 and external Python applications.

GitHub stars3
Forks0
Last update2 years ago3 Jun 2024
LicenceNone stated

Overview

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 basic risk controls such as maximum order counts, slippage settings, and lot size limits. The repository focuses on reinforcement learning experiments using Stable Baselines3, and the developer explicitly notes it should not be used on live accounts.

Details

Author

kmafutah on GitHub

Type

Copier & bridge

Platform

MetaTrader 4 (MQL4) and MetaTrader 5 (MQL5)

Strategy

AI / machine learning

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Input parameters

Read from DWX_Server_MT5.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
t0string--- General Parameters ---
MILLISECOND_TIMERint25
numLastMessagesint50
t1stringIf true, it will open charts for bar data symbols,
t2stringwhich reduces the delay on a new bar.
openChartsForBarDatabooltrue
openChartsForHistoricDatabooltrue
t3string--- Trading Parameters ---
MaximumOrdersint1
MaximumLotSizedouble0.01
SlippagePointsint3
lotSizeDigitsint2
Show all 13 inputs
NameTypeDefaultDescription
asyncModeboolfalse

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone kmafutah/buy-hold-sell-close from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts or MQL5/Experts.
  3. 3Copy the filesCopy the .mq4 / .mq5 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

Market Analysis ML Bridge

by Financial-ML
24 stars

This MetaTrader 4 expert advisor serves as a ZeroMQ server to bridge the trading terminal with external Python environments for machine learning analysis. It facilitates real-time data export, including price action and nineteen technical indicators like RSI and MACD, to train predictive models. The EA receives trade e

MT4 Copier & bridge AI / machine learning
Updated 7 years ago None stated GitHub repository of Market Analysis ML 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

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
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/MT5?

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

Compare brokers