Trading Knowledge

Hiring a Developer for a Custom EA

Hiring a coder to build an EA turns a strategy into a robot that runs on MT4 or MT5. The ordering process, strategy specs, testing, risks and a checklist.

A forex robot, formally called an Expert Advisor (EA), is a program running on MetaTrader 4 or MetaTrader 5 that opens and closes trades by pre-programmed rules in place of the trader. Many experienced traders have a sound strategy but cannot write code, so hiring a developer is the quickest way to get a robot of their own.

The sections that follow cover why traders commission an EA, the usual process, how to describe a strategy, how to test the result and the risks involved. BackcomHub does not offer EA programming services; the content is only meant to help traders work with a developer more safely.

Why traders commission an EA

The demand comes from a few very practical questions: how to apply a strategy consistently and systematically, run it on several accounts at once, spend fewer hours watching the screen, escape boring repetitive clicks and reduce stress. Unlike buying an off-the-shelf robot, here traders bring their own rules to the developer.

The commissioned product is usually a fully automated robot, a semi-automated robot (for example, one that only sets the stop-loss after the trader enters) or an indicator that generates signals. Traders need no programming knowledge, and a skilled developer often gives input on both the logic and money management.

How the cost is set

The price depends on complexity, so it is usually quoted only after the strategy has been analysed. Some developers say they charge only once the robot works as required. However, the common arrangement is a 50% deposit with the rest paid after acceptance, meaning only the second half is truly tied to the result.

The six-step process

Most developers follow the sequence below, and steps 4 and 5 are when the trader has the most leverage to demand fixes:

  1. The trader sends a description of the strategy, money management and other requirements.
  2. Both sides clarify the logic; the developer scopes the work and quotes a price and timeline.
  3. The trader confirms the cost and schedule and pays a 50% deposit.
  4. The developer delivers a test build, helps with installation and explains how to use it.
  5. The trader accepts the product, receives the ex4 (MT4) or ex5 (MT5) file and pays the remaining 50%.
  6. Final handover, with maintenance on request.

Preparing the specification

A robot does exactly what is written down and nothing more, so the more specific the description, the fewer disputes later. A workable specification covers the following items:

ItemWhat to state clearly
MarketCurrency pairs, timeframe, hours when trading is allowed
EntryConditions for buying and for selling
ExitClosing conditions, how stop-loss and take-profit are set
Position sizeFixed lot or percentage of capital, maximum number of trades
ParametersValues to adjust in the Inputs tab without asking for code changes

Testing before acceptance

The test build should be checked in two layers. First, run MetaTrader's Strategy Tester on historical data, across several pairs at once if needed, to see whether the robot enters and exits according to the rules; how to read the results is covered in the guide to forex backtesting. Then run it on demo for a few weeks to see how it handles live prices, slippage and lost connections, while comparing each trade in the Trade tab with the rules described.

The MT5 Trade tab with two open EURUSD buy positions and the Balance, Equity and Margin lines of a demo account
The MT5 Trade tab with two open EURUSD buy positions and the Balance, Equity and Margin lines of a demo account

Risks to anticipate

The first is fraud: taking the deposit and disappearing, or delivering a renamed off-the-shelf robot. The second is the promise of "steady monthly profit", when a robot only runs the logic it was given. The third is security: never hand over the master password, and give only the investor password if trades need to be viewed. The fourth is source code: compiled ex4/ex5 files cannot be edited, so traders who want to maintain the robot themselves or switch developers need the mq4/mq5 files as well. The general weaknesses of robots are analysed in the guide on auto trading and automated trading systems.

Checklist for choosing a developer

Before paying a deposit, traders can run through a quick comparison:

ItemWhat to look for
AgreementScope, price, schedule and number of revisions in writing
PaymentA moderate deposit, the rest paid after acceptance
Test buildDelivered before full payment, runs in Strategy Tester and on demo
Source codeStates clearly whether mq4/mq5 files or only ex4/ex5 are delivered
SecurityNo request for the master password or withdrawal rights
ProfitNo guarantee; a promise of fixed returns is a reason to walk away
MaintenancePeriod and cost of bug fixes after handover

Sources

  • MetaQuotes, MetaTrader 5 help, strategy testing: https://www.metatrader5.com/en/terminal/help/algotrading/testing
  • DCtoptrade (screenshots): https://dctoptrade.vn/

More in Trading Knowledge

View all →

Jesse Livermore's 20 Rules of Speculation

Jesse Livermore grew rich short-selling the crashes of 1907 and 1929. Twenty rules drawn from how he traded, grouped by market, entries, capital and psychology.

BackcomHub · · 4 min read

Four Swing Trading Strategies

Swing trades last from a few days to a few weeks. Four strategies covering trends, ranges, counter-momentum and pullbacks, plus money rules and stop placement.

BackcomHub · · 11 min read

Four Ways to Find Better Trade Entries

A better entry allows a tighter stop-loss and a stronger risk/reward ratio. Four methods: limit orders, end-of-day planning, the TLS checklist and a clear plan.

BackcomHub · · 5 min read