Service · MQL4 / MQL5

Custom MT4 and MT5 Expert Advisor development

Your strategy coded in MQL4 or MQL5 exactly as you trade it: entries, exits, position sizing, trailing logic, session and news filters, and hard risk limits. You get the commented source, a tick-data backtest and a developer who answers on WhatsApp.

Mutual NDA before you share your strategy · reply within one working day

Strategy_EA.mq521 lines
1// Strategy_EA.mq5: the structure every EA follows2#include "RiskGuard.mqh"3#include "Signals.mqh"4 5input double InpRiskPct      = 1.0; // % of equity risked per trade6input int    InpSessionStart = 7;   // server hour7input int    InpSessionEnd   = 20;8 9void OnTick()10{11   if(!IsNewBar(PERIOD_M15))   return; // decide on closed bars only12   if(!TradingAllowed())       return; // daily loss and drawdown guard13   if(!InSession(InpSessionStart, InpSessionEnd)) return;14   if(NewsBlackout(30))        return; // minutes around high-impact news15 16   int signal = EntrySignal();         // your rules, nothing else17   if(signal != 0 && !HasOpenPosition())18      OpenPosition(signal, LotsForRisk(InpRiskPct, StopDistance()));19 20   ManageOpenPositions();              // trailing, break-even, partials21}
Starting price
$250
Typical delivery
3 days to 2 weeks
Revisions
2 revision rounds
Handover
Full source code + report
Scope

What goes into every EA I build.

The parts that decide whether an EA survives a live account are rarely the entry signal. These are included as standard, not as upsells.

  • Your rules, coded literally. Ambiguities are resolved in writing before coding starts, so the EA does what you meant.
  • Position sizing by fixed lots, percentage risk from the stop distance, or balance steps.
  • Stops and exits: fixed or ATR stops, targets, trailing stops, break-even and partial closes.
  • Filters: trading sessions, days of the week, maximum spread and high-impact news windows.
  • Risk guards: daily loss and maximum drawdown limits that stop the EA before your account is hurt.
  • Broker handling: symbol suffixes, 4/5-digit pricing, stops and freeze levels, and order filling modes.
  • Restart safety: after a terminal or VPS restart the EA rebuilds its state from open positions.
  • Readable logs, so when something unexpected happens you can see why.
Platform

MT4 or MT5?

For a new build I usually recommend MT5. I write MQL4 when your broker or prop firm only offers MT4, and I can deliver both.

MetaTrader 4 (MQL4)MetaTrader 5 (MQL5)
Strategy TesterSingle-threaded, modelled ticks unless you import tick dataReal ticks from the broker, multi-core, forward testing built in
Account modesHedging onlyHedging or netting
OrdersMarket and pending ordersAdds stop-limit orders and more filling modes
Multi-symbol EAsPossible, harder to testTested properly across symbols
Choose it whenYour broker or firm only offers MT4Anything new, or anything you want to test well

Moving an existing MT4 EA to MT5 →

Failure modes

Where EAs usually fail, and how I prevent it.

  1. 01

    Signals that change after the fact

    Logic evaluated on the forming bar, or indicators that repaint, look perfect in a backtest and behave differently live. Decisions are made on closed bars unless you explicitly want intrabar entries.

  2. 02

    Backtests that ignore costs

    Generated ticks and fixed spreads hide slippage and spread widening. I test on real tick data with your broker’s typical spread and commission.

  3. 03

    Broker differences

    Stops levels, filling modes and symbol names differ between brokers and break order placement. They are detected at start-up and handled, with a clear log line when they are not.

  4. 04

    Restarts and disconnects

    An EA that forgets its open trades after a VPS reboot can double its exposure. State is rebuilt from the terminal’s positions and history on every start.

  5. 05

    Parameters fitted to the past

    Heavily optimised settings fall apart on new data. Optimisation is checked out-of-sample before anything is called “good settings”.

Proof

An example build, and what you receive.

EA · MT5 · XAUUSD M15

XAUUSD trend-filtered grid EA

A grid EA for gold that only adds levels in the direction of an EMA trend filter, with variable lot sizing, a take-profit per grid level and a hard daily loss limit.

PlatformMetaTrader 5 (MQL5)
MarketXAUUSD, M15
Risk controlsLevel cap, basket stop, daily loss limit
DeliveredSource, .set files, tester report, README

Client and strategy details anonymised under NDA.

Grid logic: most prop firms restrict grid and martingale systems, so this build was for personal capital, not a funded account.

What a typical handover contains
Strategy_EA.mq5Full source, commented
RiskGuard.mqhDaily loss and drawdown guard
Strategy_EA.ex5Compiled, ready to attach
Tested.setThe parameters in the report
StrategyTester.htmlUnedited tick-data report
README.pdfInputs, install, known limits

Python and Pine Script projects ship the equivalent: source, config, test results and a README.

Questions

Common questions

What do you need from me to start?

Your entry and exit rules, stop and target logic, how you size positions, the symbols and timeframes, and your broker or prop firm. Screenshots of a few trades help. If the rules are still in your head, we write them down together in the review call.

Can one EA trade several symbols?

Yes. One EA can manage a basket of symbols, each with its own magic number, risk budget and filters, or you can attach it to one chart per symbol. MT5 is the better choice if you want to backtest a multi-symbol EA properly.

Will it work with my broker?

It will work with any MT4 or MT5 broker. Symbol suffixes, digits, stops levels and filling modes are handled automatically. Where possible I test on a demo account at your broker before delivery.

Do you sell ready-made EAs?

No. Every EA is built from your rules and belongs to you. If an existing free tool already does what you need, I will tell you so in the review call instead of selling you a build.

What happens after delivery?

I support you through demo testing and the first live week. Bug fixes are free for 30 days after delivery. New features after that are quoted separately, usually as small fixed-price changes.

Can you add an on-chart panel or dashboard?

Yes. A control panel with buttons, live P&L, risk usage and status is a common add-on. See the add-ons on the pricing page.

Tell me the strategy. I’ll tell you what it takes.

Fifteen minutes, no pitch. Mutual NDA before you describe anything you care about. You get an honest view of feasibility, timeline and price, even if the answer is “don’t build this”.

WhatsApp