Open to full-time, part-time, contract and project work · full-time roles carry a 90-day notice

MT4 Expert Advisor developer for new MQL4 builds, repairs of existing EAs and ports to MT5 when your broker moves on

Sunny Guha is an MT4 Expert Advisor developer who writes new MQL4 Expert Advisors, repairs existing ones and ports them to MetaTrader 5 when a broker moves on. Orders, stop levels and error codes are handled and logged. He works from source code rather than decompiled files, and gives no signals, advice or profit claims.

Works remotely from India, for businesses in any time zone. Updated November 2026. Often hired with MT5 EA developer, algo trading software developer and trading software developer.

$400K+
Monthly ad spend managed
500+
Global brands scaled
12+
Years in performance marketing
22–30x
Peak ROAS (healthcare / IVF)

What does MetaTrader 4 Expert Advisor development include?

Audit report
the problems found in an existing EA, ranked by what they can cost.
Source files
the .mq4 and .mqh files, new or changed, with comments where the logic is not obvious.
Compiled program
the .ex4 file built from that source for your terminal build.
Order-error logging
every request, result and error code written to a file.
Set files
documented inputs with default values and sensible ranges.
Test package
the tester settings, results and the list of assumptions behind them.
Deployment
the EA installed on your VPS or terminal with a tested restart.
Handover notes
a change list against the version received, with rights in the code agreed per project.

Is it still sensible to build for MetaTrader 4?

It depends on your broker, and the answer is changing. The platform vendor's own release note of 12 May 2025 set minimum terminal builds (MT4 build 1440, MT5 build 4755) from 1 July 2025, after which older terminals can no longer connect to broker servers. At the broker level, a forex trade-press outlet reports that a Japanese broker suspended new MT4 orders after trading closed on 25 September 2026 and first set its MT4 shutdown for 27 November; an article of 6 November 2026 says it moved the shutdown forward to 14 November, citing recent security breaches in external VPS environments, and that remaining positions move to MT5 accounts. The date has already moved once, so check your own broker's notice. Other brokers are reported to be making similar moves. Secondary sources also say the platform vendor no longer licenses MT4 to new brokers, but I found no statement from the vendor itself.

So I build on MT4 when your broker runs it and plans to keep it, or when you have a working EA that needs repair. If you are choosing a platform from scratch, MT5 is the lower-risk base and the MT5 page describes it. MQL4 programs do not run on MT5, so a move is a rewrite.

How do MQL4 orders and error codes work?

In MQL4 an order is opened with OrderSend, which returns a ticket number on success and minus one on failure. After a failure the program reads GetLastError, and the codes are specific. Error 129 means the price was invalid, usually because a calculated price was not normalised. Error 130 means the stops were invalid, which happens when a stop sits closer to the market than the symbol's minimum stop distance. Error 138 is a requote, error 147 means the broker denied the expiration time and error 148 means too many orders. The slippage setting only helps when the requested price is outdated but still in the feed.

Many broken EAs ignore these codes. I normalise prices, read the stop level from the symbol, retry only the failures that make sense to retry, and write every request, result and error to a log, so that a failed order says why it failed.

Can you fix, extend or port an EA I already have?

Yes, if I have the source. An .mq4 file can be read, tested and changed. A compiled .ex4 file cannot be edited, and as a rule I do not decompile programs: the MQL5 Market terms, for example, bar buyers from decompiling a product unless the developer's own licence allows it, and a rebuilt program cannot be trusted to match the original. With only an .ex4 file, the honest options are to ask its author for the source or to rebuild the behaviour from your description and logs.

Porting to MT5 is usually a rewrite and not a copy, because the two platforms handle positions, deals and execution differently. A TradingView indicator or strategy can also be turned into an MT4 Expert Advisor, but the two platforms fill orders by different rules, so the results will not match and I explain the differences.

  • Magic numbers that collide, so two EAs manage each other's trades.
  • Hard-coded pip values that break on brokers with five-digit prices.
  • No stop-level, spread or margin check before an order is sent.
  • Loops over open orders that skip trades when several close at once.
  • Indicators that repaint, so a signal looks perfect on history and different live.

How is an MT4 Expert Advisor tested?

I run the EA in the Strategy Tester of your terminal build and write down the mode, the history source, the dates, the spread and the inputs next to every result. The platform vendor's MT4 help page that I opened mixes MT4 and MT5 wording, including a real-ticks mode, so I do not assume what your build offers; I check it in the terminal. A tester result is a model of past prices, not a forecast, and a demo forward run on live prices shows how real fills compare.

For a repair, I first reproduce the problem on a demo account and log it, then change one thing at a time, so that you can see which change fixed which symptom.

Which licences and risks matter to MT4 buyers? Market notes, not legal or financial advice

MetaTrader programs exist as source files (.mq4, .mqh) and compiled files (.ex4). The MQL5 Market Developer Distribution Agreement describes products as the executable files produced by compiling source code, leaves the rights in a product with the developer and, unless the developer's own licence says otherwise, bars buyers from decompiling or creating derivative works from it. It does not mention source code. For work built for you, rights in the code are agreed per project.

The CFTC customer advisory of 25 January 2024 says claims of assured returns from trading bots are a fraud red flag. I make no such claims, sell no signals and manage no money, and if a tester result is the only evidence a seller offers, treat it as unproven.

Checked on 6 November 2026: the platform vendor's release note of 12 May 2025 on minimum MT4 and MT5 builds (opened), forex trade-press articles on a Japanese broker's MT4 schedule dated 4 September 2026 and 6 November 2026 (opened), the MQL4 documentation page for OrderSend (opened), the MetaTrader 4 help page on the Strategy Tester (opened; it mixes MT4 and MT5 wording), the MQL5 Market Developer Distribution Agreement (opened), the CFTC customer advisory (search summary) and trade-press reports on other brokers' MT4 plans and on the vendor's licensing (search summaries only). These are market notes, not legal or financial advice.

How do hosting and handover work?

An MT4 EA runs on a terminal that stays online. I typically set up a VPS or your machine, install the EA with its set files and test a restart. I work on a demo account and do not normally need your trading password.

A handover typically includes the .mq4 and .mqh sources, the compiled .ex4, documented set files, the test settings and a list of every change from the version I received. What is handed over and the rights in the code are agreed per project in writing.

How does the work run, step by step?

  1. 01

    Collect source and behaviour

    The .mq4 files, the settings in use, the broker and build, and logs or screenshots of what goes wrong.

  2. 02

    Audit and reproduce

    Read the code, list the problems and reproduce the main one on a demo account before changing anything.

  3. 03

    Agree the changes

    A short written list of what will change, what stays the same and what the EA should do in the cases it ignores today.

  4. 04

    Change in small steps

    One change at a time, each tested and logged, with order errors written to a file.

  5. 05

    Forward test on demo

    The edited or new EA runs on live prices without real money, and its log is compared with your rules.

  6. 06

    Deploy and hand over

    VPS or terminal set up, restart tested, sources and a change list delivered.

How long does MetaTrader 4 Expert Advisor development usually take?

These are typical ranges for work like this, not promises or deadlines. The real estimate follows the written scope after the free call.

Audit of an existing EA
Often a day or two to read the code and list the problems, depending on its size and how much is documented.
Fixes and small additions
Usually a few days to two weeks, mostly spent on testing each change.
A new MT4 EA from rules
Commonly two to four weeks for one strategy, including tests and a demo run.
A port to MT5
Treated as a rewrite, so the time resembles a new build, though existing logic shortens the specification.

What do I need from you to start?

The source files
The .mq4 and .mqh files if you have them, plus the settings you use now; a compiled .ex4 alone cannot be edited.
What it should do
A description of current behaviour and wanted behaviour, with screenshots or logs of a trade that went wrong.
Broker and platform facts
The broker, the terminal build number, the account type and whether the broker plans to keep MT4 or move to MT5.
Test access
A demo account at the same broker, so that changes can be checked on live prices without risk.

How can you tell MetaTrader 4 Expert Advisor development is working?

Fewer failed orders
Rejected requests fall, and each remaining rejection is logged with its error code and the reason.
Behaviour matches the description
The edited EA places the trades your written rules describe, checked on a demo account against a short list of sample cases.
A readable list of changes
You get a list of what changed in the code, so that a second developer could review it.
No new surprises
Existing behaviour you wanted to keep is unchanged unless you asked for the change.

Which tools and proof stand behind MetaTrader 4 Expert Advisor development?

Tools
MQL4 and MQL5, MetaTrader 4 terminal and Strategy Tester, MetaTrader 5 for ports, TradingView PineScript, Python, Windows VPS, Claude and Codex
Expert Advisors built
100+ automated trading strategies written as MetaTrader Expert Advisors (MQL4/MQL5) and TradingView PineScript scripts, described in the case study on this site. No performance figures are published.
Languages listed
MQL4, MQL5 and PineScript appear in the CV's trading tools, with Python and Node.js for the systems around them.
Engineering background
M.Tech in Computer Science and Engineering, with AI-assisted software engineering as the build method.

How is MetaTrader 4 Expert Advisor development priced?

Hourly for repairs
Audits, bug fixes and small additions suit hourly or part-time work.
A defined scope for a new build
Specification, build, tests and deployment as stages, each reviewed before the next begins.
A retainer for several EAs
Ongoing maintenance when you run a set of EAs across brokers and terminal updates.
How I work
Projects, hourly or part-time help and retainers. There is no rate card; after the free 30-minute call I come back with a quote.

When should you not hire me for MetaTrader 4 Expert Advisor development?

You have only a compiled file
As a rule I do not decompile programs. Without source or a clear description of its rules, a rewrite is the honest option.
You want an indicator that predicts prices
I build indicators that calculate and display rules, and I do not claim any indicator forecasts the market.
Your broker is closing MT4 soon
If the platform ends within weeks, a port or a new broker plan matters more than fixing the old EA.
You need signals or account management
I provide neither, because both are regulated activities that need a licensed firm, not a software developer.

What can go wrong with MetaTrader 4 Expert Advisor development, and what do I do about it?

Hidden bugs in old code
Old EAs often carry untested paths, so I log first, change second and test every edit on a demo account.
Platform end of life
A broker can retire MT4 on short notice, as a Japanese broker's notices show, so the handover notes list what a port would involve.
Differences after a port
Fills, margin and position handling differ between MT4 and MT5, so results change; I report the differences instead of hiding them.
Behaviour nobody documented
An old EA may move stops or close trades on a schedule without anyone remembering, and I list such behaviour before changing anything.

Which businesses is MetaTrader 4 Expert Advisor development a good fit for?

  • Traders whose MT4 EA has stopped behaving and whose author is gone
  • Traders who need an indicator turned into an Expert Advisor
  • Traders whose broker is moving from MT4 to MT5
  • Trading educators with MT4 tools that need cleaning up
  • Introducing partners who maintain a set of EAs across brokers

Should I hire a MT4 EA developer, an agency or an in-house specialist?

Should I hire a MT4 EA developer, an agency or an in-house specialist?
TopicSpecialist (Sunny Guha)AgencyIn-house hire
Who does the workOne senior person: audit, build, tracking and reporting.A team, typically with an account manager between you and the specialist.A salaried employee inside your business.
Best forOwner-run businesses and teams that want one accountable contact.Projects that need many channels, on-site production or a large team at once.Ongoing full-time work that needs daily internal context.
LimitsOne person's capacity; remote only, no on-site production.Typically more layers, and the person working on your account may change.Hiring time, a salary, and one person's range of skills.
How fees workQuoted after a free 30-minute call; no published rate card.Typically quoted by scope and channels, often as a monthly fee.Salary and overheads, whatever the results.
Engagement optionsProject, retainer, hourly or part-time; also open to full-time roles.Usually a monthly retainer or a fixed project.Full-time or part-time employment.
How it startsA free 30-minute call, then a quote for the scope you agree.A proposal and onboarding with the sales and account team.A job post, interviews and a notice period.

What do buyers ask before hiring for MetaTrader 4 Expert Advisor development?

Yes, if you have the source. I audit it, reproduce the problem on a demo account, change one thing at a time and give you a list of every change. Add risk controls and logging where the old code has none.

No. A compiled file cannot be edited, and as a rule I do not decompile programs. Ask the author for the source, or I can rebuild the behaviour from your description, settings and logs, which is a new build and not a repair.

Ask your broker first. Some brokers are retiring MT4, as a Japanese broker's notices show, and MQL4 programs do not run on MT5. If your broker keeps MT4, repairing the EA is cheaper; if it is leaving, plan the port early.

Yes. I restate the rules for MetaTrader, build the EA and test it. Expect different results from TradingView, because the platforms fill orders and calculate bars by different rules, and I list those differences in the handover.

Error 130 usually means a stop is closer to the market than the symbol's minimum stop distance, 138 is a requote and 129 an unnormalised price. The fix is to read the stop level, normalise prices and log each failure with its code.

No. I fix and build what the rules say and report how it behaved in tests under stated assumptions. Whether a strategy earns money depends on markets, costs and discipline, and nobody can promise that in advance.

I do not publish a rate card, because the cost depends on the size of the code, the number of problems, testing depth and hosting. Book the free 30-minute call and send the source or the rules; I come back with a quote.

What happens after you contact me?

  1. 01

    Audit call

    A free 30-minute call. I look at your ad account, funnel or brief and show you where spend is leaking and where the fastest wins are, yours to keep either way.

  2. 02

    Scope

    We agree what will be delivered, with which tools and how it will be measured.

  3. 03

    Delivery

    Work in agreed steps. For ads, tracking is set up first so every result can be attributed.

I read every message myself. Fastest reply on WhatsApp — usually within a couple of hours. There is no published rate card: you get a quote after the call.

Need MetaTrader 4 Expert Advisor development? Get a quote

Send me the goal and the market, and I will come back with a quote.

Fastest reply on WhatsApp — usually within a couple of hours.

Meet me

Meet me in 60 seconds

A quick intro: who I am, how I work, and what I would do for you.

Sunny Guha — Sr. Performance Marketing Analyst & AI-Assisted Software Engineer
Open to work
Contract · project · part-time · hourly
Can start immediately
Full-time
90-day notice period

Remote availability — USA, UK, India or any time zone, 24/7

Let's talk about your project

I am Sunny Guha. I work remotely from India with clients in any time zone, and you deal with me directly.

Scan to chat

Open WhatsApp
with this page

CallEmail
Book a call