Oil Spread Arbitrage utilizes timer-based logic to monitor price differences at set intervals rather than relying on standard chart candles. The robot enters trades based on volatility thresholds and manages them using fixed stop loss and take profit parameters. It features a unique exit mechanism that closes orders after a designated number of timer cycles. The repository lacks a functional README.
Read from TakeProfit.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
input_time_schedule
int
10
定时器(单位:秒)
input_point_diff
int
5
波动值
input_take_profit
int
20
止盈(用于计算,大于市场的时候作为止盈)
input_stop_loss
int
60
止损(用于计算,大于市场的时候作为止损)
input_slip
int
1
滑点
input_shares_num
double
0.1
执行数量
input_sa_1
string
USOIL
资产1
input_sa_2
string
UKOIL
资产2
input_close_order_time
int
6
持仓时间(单位:次)
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone leiyunfei/MT4 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 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
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
HFT Arbitrage EA is a latency arbitrage system designed for MetaTrader 4 and MetaTrader 5. It 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 m
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
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
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