Trading robot · MT4 · MT5

HFT Arbitrage EA

by techteam92

HFT Arbitrage EA is a latency arbitrage system designed for MetaTrader 4 and MetaTrader 5.

GitHub stars7
Forks3
Last update1 year ago18 Nov 2024
LicenceNone stated

Overview

HFT Arbitrage EA operates by comparing price feeds between a fast data source and a slower broker terminal to exploit execution lags. The system utilizes a socket library for real-time communication between server and client components. Risk management includes fixed stop loss, take profit, and slippage controls. It requires a specific setup involving multiple terminals and a high-speed data provider to function effectively, typically targeting volatile periods such as news releases.

Details

Author

techteam92 on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4) and MetaTrader 5 (MQL5)

Strategy

Arbitrage

Markets

Forex

Timeframes

M1-M5

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 Slow.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
____________________SettingServerstringSetting Server
IDstring Slow Breker Tesla
Resiver_Portushort45Server port
____________________SettingCalculationstringSetting Calculation
Digits_Symbolint3
GapAllowint10Gap Allow For Trading Profit + Spread
GapMultipeint-1GapMultipe 1 OR -1
Count1int500Count For Gaps>...Pips
Count2int1000Count For Gaps>...Pips
Count3int1500Count For Gaps>...Pips
Count4int2000Count For Gaps>...Pips
Count5int2500Count For Gaps>...Pips
Show all 19 inputs
NameTypeDefaultDescription
____________________SettingTradeingstringSetting Trading
OrderTypeRunint0Slippage / Fill or Kill = 0/1
Slippageint100
TPint100
SLint100
Lotsdouble1.0
Sleep_int60000Sleep For Exit All

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone techteam92/HFT-Arbitrage-EA-MQL4-MQL5- 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, and any .mqh files into the Include folder the code expects.
  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

HFT Arbitrage EA

by HFTHaidra
132 stars

This high-frequency trading robot implements latency arbitrage by comparing price feeds across two separate MetaTrader terminals. It requires a fast data source to serve as a reference and a slower broker where price delivery lags behind the market. The EA communicates between instances via a socket library to detect p

MT4MT5 Trading robot Arbitrage
Updated 9 months ago None stated GitHub repository of HFT Arbitrage EA

CARA Correlation EA

by jblanked
13 stars

This MetaTrader 4 expert advisor facilitates automated trading based on asset correlations across various markets. It identifies opportunities within a predefined list of symbols, including forex pairs, cryptocurrencies, gold, and equity indices. The EA manages entries based on the relationship between these instrument

MT4 Trading robot ArbitrageMulti-strategy
Updated 2 years ago None stated GitHub repository of CARA Correlation EA
10 stars

This MetaTrader 5 expert advisor implements a triangular arbitrage strategy targeting price discrepancies between BTC/USD, ETH/USD, and BTC/ETH. It monitors both forward and reverse conversion paths to execute trades when a theoretical profit threshold is met. The EA features risk management tools including minimum pro

MT5 Trading robot Arbitrage
3 stars

This expert advisor facilitates arbitrage trading between futures and spot instruments, primarily targeting gold and stock indices. Available for MetaTrader 4 and 5, it monitors the price difference between two related symbols against a moving average to identify trade opportunities. The logic includes a noise-filterin

MT4MT5 Trading robot ArbitrageMean reversionGrid High risk
Updated 3 years ago None stated GitHub repository of Gold Futures Spot Arbitrage

Take Profit Oil Arbitrage

by iceandfire1981
1 stars

This MetaTrader 4 expert advisor implements a pairs trading or statistical arbitrage strategy primarily designed for energy commodities like USOIL and UKOIL. It monitors the price differential between two correlated assets over a specific lookback period to identify mean-reversion opportunities. The robot executes simu

MT4 Trading robot ArbitrageMean reversionHedging
Updated 7 years ago None stated GitHub repository of Take Profit Oil Arbitrage

Arbitrage Algo

by baufometic
1 stars

This MetaTrader 4 expert advisor implements a latency arbitrage strategy by monitoring price discrepancies across multiple ECN brokers and liquidity pools. It tracks bid and ask prices for twenty-three currency pairs in a high-speed loop, identifying instances where prices diverge significantly across different platfor

MT4 Trading robot ArbitrageScalping
Updated 4 years ago None stated GitHub repository of Arbitrage Algo

More trading robots

Need a broker for MT4/MT5?

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

Compare brokers