User guide

Walk-through explanation of the parameters and idea behind the two expert advisors offered on website


In order to ensure the correct operation of the expert advisors, you have to enable DLL imports in MetaTrader terminal settings. You also have to allow Algo Trading when using the EAs in Server mode.

Important: Always restart both MetaTrader platforms (agent and server) when switching trading accounts.

Important: Make sure that brokers does not interfere with your positions by setting any comments (take a look at every position's comment when trading manually - the Comment field in MetaTrader platform must be empty).

Arbiter Forex Arbitrage EA

The concept behind latency arbitrage is simple - exploiting lagging quotes from a slow broker with the idea that those quotes soon will catch-up the quotes from fast broker. With such trading strategy, we can gain profits by trading in the right direction, knowing what will happen on the market ahead of time. Often, such price differences persist only less than a second, yet this is enough to open a trade and profit substantially.

Basic settings of Arbiter Forex Arbitrage EA

  1. License Number - This is the place where you enter the purchased license number in order to lift the limitation related to performing trades only on demo accounts.
  2. Operation Mode - Choose to switch from server (slow broker on which trades are made) to agent (fast broker). The Expert Advisor has to be installed on two MetaTrader platforms - one acting as a server, the other as agent on the same local computer. The agent sends price quotes from fast broker to the server from the predefined currency pair, stock index or stock. If price discrepancy occur between slow and fast broker, the EA attached on server will open position with defined stop-loss and take-profit values.
  3. Server Port - On which port should agent and server communicate. The chosen port must be unused by other software.
  4. Server Hostname / IP Address - How and where to connect to the server. The second MetaTrader terminal can be located at remote location. This is not recommended for arbitrage trading, because of the high latency. If this terminal is on the same computer, leave this setting to "localhost".
  5. Broker Color - In which color should the price lines from agent (fast broker) be displayed on server(slow broker) chart. This is used for important initial price alignment.
  6. Corresponding Instrument - Which trading symbol should be arbitraged on server (slow broker). Instruments between brokers can differ in their names, here is the place to specify the instrument name on server.
  7. Trading Hour Start - When to start placing trades. This is the beginning of the time window for automated trading.
  8. Trading Hour End - When to stop placing trades. The Trading Hour Start and the Trading Hour End define the time window for trading. This time window is based on slow broker's server time with corresponding time zone.
  9. Trade Type - Instructs the EA to execute only buy orders, sell orders or both.
  10. Refresh Interval - Sets frequency of communication between server and agent. The faster, the better. Note that here are physical limitations related to speed of communication, it depends on factors like geographical location, broker, computer on which MetaTrader terminals is run - i.e. the hardware, etc. Fastest possible communication is possible when both platforms are located on the same computer.
  11. Price Alignment Offset (in +/- points) - In server mode this alignment is used to filter-out fake arbitrage signals. Very important setting, so make sure to properly align price quotes from agent to the server (price dotted lines on chart must be as close as possible) for given trading symbol.
  12. Difference % - In server mode this value is used to trigger the trade - if price quotes from slow and fast broker differ more than such amount. During highly volatile sessions/markets the default value of 20 can be increased to 25-30 and vise-versa.
  13. Maximum Position Holding Time (seconds) - Opened positions by the EA of given instrument will be closed after this amount of time automatically.
  14. Volatility Filter (points) - Check if current market volatility is sufficient before opening new trade position. You should set this value as points in respect to current symbol in order to protect yourself from sideway market noise.
  15. Turbo Mode - In this mode the EA will not set SL and TP levels, instead positions will be closed only after maximum position holding time was reached or if current profit of the opened position is positive. All trades in this mode close very quickly in general (sometimes under 1 sec.), utilizing the price discrepancy between brokers more efficiently.
  16. Static Stop Loss (in points) - The protective stop-loss in points used to preserve the account capital.
  17. Static Take Profit (in points) - Profit target in points. The trades are closed either by stop-loss or by take-profit. Do not set this value too close to the current price. Recommended SL/TP ratio is 2:1.
  18. Lot Size - The volume size of every position opened, adjust this according your risk management.
  19. Maximum Opened Orders Per Traded Symbol - How many positions can be opened at the same time by the expert advisor of the same instrument. If this limit is reached, trading for given symbol will stop.
  20. Slippage - Maximum broker's slippage, it is very important to execute trades on brokers with low slippage. Brokers often use increased slippage as penalty for high-frequency traders.
  21. Magic - Unique identifier for every position opened by EA.
  22. Display Log - For debugging purpose, displays in MetaTrader journal messages from the process of the EA.
  23. Enable Alerts on Deal - Display alert messages in MetaTrader platform when a trade is made by the EA.


Example parameters of the Arbiter Forex Arbitrage EA

One important part of the setup process of the Arbiter Forex Arbitrage EA is the price alignment offset. Since the quotes of the slow broker always try to catch-up quotes of the fast broker, we have to initially align them (set the equal starting point). If quotes from the fast broker are not properly aligned with the quotes from slow broker, false trading signals may be generated, leading to losing trades. Keep an eye during the trading session on the EA and - if needed - adjust manually this offset.



Watch how to setup and use Latency Arbitrage Expert Advisor on Demo trading account. The EA is attached on two MetaTrader platforms, one acting as a server (slow broker), the other as a client (fast broker). Using separate versions at the same time of the MetaTrader platform, MetaTrader 5 and MetaTrader 4. Both trading terminals are installed on the same physical computer, which provides the ability to fill deals under 40 ms.