Can you run an EA on MT5 mobile? No. Here is what works instead
You cannot run an EA on MT5 mobile: the Android and iPhone apps cannot load one. Why not, the setups that do work, and how to manage an EA from your phone.
Key takeaways
- The MT5 apps for Android and iPhone, and the MT5 web terminal, cannot run Expert Advisors. Only the desktop terminal can.
- An EA trades only while the desktop terminal it is attached to is open, logged in and online, so it needs a PC that stays on, a VPS or MetaQuotes’ virtual hosting.
- When the terminal stops, the stop loss and take profit already set stay at the broker, but anything the EA does in code, such as trailing a stop, stops with it.
- The phone’s job is monitoring and control. The MT5 app has no Algo Trading button, so you stop an EA through remote desktop or the EA’s own pause button or kill switch. Closing its trades in the app does not stop it.
- An app that asks for your MT5 master password gets full trading rights on your account. No official MT5 app runs EAs on a phone.
On this page
You cannot run an EA on MT5 mobile. The MetaTrader 5 apps for Android and iPhone, and the MT5 web terminal, have no way to load or run an Expert Advisor (EA, an automated trading program). Only the desktop terminal can.
What works instead is a split: the EA runs on a Windows PC or VPS that stays on, and your phone watches it and stops it when needed.
Why you cannot run an EA on MT5 mobile
The MT5 apps for Android, iPhone and iPad cannot load an EA and have no Algo Trading switch. An MQL5 forum moderator puts it plainly: “Auto/Algo trading doesn’t exist in the mobile MT4/5 apps” (MQL5 forum). The web terminal cannot run EAs either, since that would need the full MQL programming interface inside a browser (MQL5 forum).
An EA is an MQL5 program compiled into an .ex5 file (MetaTrader 5 Help). When you attach it to a chart, the desktop terminal loads it into memory and runs it in its own thread, reacting to events such as new price ticks (MQL5 documentation). The mobile apps have nothing that can load an .ex5 file or switch algo trading on.
So an EA trades only while its terminal is open, logged in and online: for forex, 24 hours a day, five days a week. The forex market hours tool shows that week in your time zone.
When the terminal stops, open trades stay open. Their stop loss and take profit are held on the broker’s server, so they can still trigger; a trailing stop, like everything else the EA does in code, runs in the terminal and stops (MetaTrader 5 Help).
Beware “EA APK” downloads
Some apps and APK files claim to run an EA on your phone. The official apps cannot, so such an app either trades from its own server with your MT5 login or does not do what it says.
The login is the risk. The MT5 master password gives “full rights for working with the account”; the investor password lets you see the account but not trade (MetaTrader 5 Help).
- Get MetaTrader 5 from your phone’s app store or from metatrader5.com, not from an APK hosted somewhere else.
- Never type your master password into a third-party app or website.
- Walk away from promises of returns or a win rate. The CFTC warns about trading bots sold with promises of “unreasonably high” returns.
More in forex robot scams.
The setups that do work
Every working setup keeps the desktop terminal on a machine that stays on:
| Setup | Cost | Uptime | Effort | Watch out for |
|---|---|---|---|---|
| Home Windows PC | The PC you already have | While the PC is on, awake and online | Low | Sleep mode, update restarts, power cuts |
| Windows VPS | Monthly rental, varies by provider | Data centre, independent of your home | Medium: install MT5 over Remote Desktop | Latency to your broker’s server |
| MetaQuotes Virtual Hosting | $15 a month, or $10 a month on a 12-month plan; 24-hour free trial (as of October 2026) | Data centre | Low: migrate from your desktop terminal | No DLL calls; set up and managed from a desktop terminal |
| Mac | The Mac you already have | While the Mac is on, awake and online | Medium | MT5 for macOS runs inside Wine, a compatibility layer, on macOS 10.15.7 or later (MetaTrader 5 Help) |
Home PC. In Windows 11, open Settings → System → Power & battery → Screen, sleep, & hibernate timeouts and set “Make my device sleep after” so the PC does not sleep while plugged in (Microsoft Support).
Windows VPS. A forex VPS is a rented Windows machine in a data centre that runs while your own computer is off. Full comparison: VPS for an EA.
MetaQuotes Virtual Hosting. In MT5, right-click in the Navigator and choose Register a Virtual Server; it needs an MQL5.community account (MetaTrader 5 Help). Migration copies your charts with their EAs and your WebRequest permissions (the web addresses an EA may contact). A DLL call stops an EA with a critical error, and there is no direct access to the hosted terminal (hosting rules): you manage it from Toolbox → VPS in a desktop terminal (MetaTrader 5 Help). The trial rolls into the paid plan after 24 hours (mql5.com).
The EA installs the same way on each: see how to install an Expert Advisor in MT5.
Managing your EA from your phone
- The MT5 app on the same account. Positions live at your broker, so the app shows the EA’s trades, their stops and your equity. Log in with the investor password to watch without the power to trade.
- Push notifications. In the desktop terminal, open Tools → Options → Notifications, tick Enable Push Notifications and enter the MetaQuotes ID shown under Messages in the mobile app. The running terminal then reports every successful trade operation. Notifications from the trade server come from the broker and work with the terminal off, where the broker offers them; EAs can send their own with
SendNotification(MetaTrader 5 Help). - Remote desktop. Microsoft’s Windows App for iPhone and Android opens a session on the PC or VPS (Microsoft Learn), where you can switch Algo Trading off. A home PC needs the Pro edition of Windows to accept the connection (Microsoft Support).
- A web dashboard with a pause button and a kill switch. Some EAs come with one that works in a phone browser. A kill switch stops new trades and closes the EA’s open ones.
What to do from the phone, and what not to
Monitor and pause: yes. For anything else, check in the EA’s documentation how it reacts.
| From your phone | Fine? | Why |
|---|---|---|
| Check positions, equity and history | Yes | Nothing changes at the broker |
| Pause the EA with its own control | Yes | No new trades; stops already set stay at the broker |
| Close an EA trade by hand | Possible | The EA may react: some reopen, and a martingale EA (one that raises its size after a loss) may try to win it back |
| Move the stop on an EA trade | With care | An EA that trails stops may move it again |
| Open manual trades on the same account | With care | They share the margin, and an EA that ignores its magic number, the ID it stamps on its orders, may treat them as its own |
| Type your password into an “EA app” | No | The master password gives whoever runs the app full trading rights |
How PipWarden is set up
PipWarden uses the same split. The EA runs in MetaTrader 5 on your Windows PC or Windows VPS, set up once in about 10 minutes (how it works). The macOS and Linux builds of MT5 are not supported for the EA, and it is not yet tested end to end on MetaQuotes’ virtual hosting. The EA connects with a token; PipWarden never asks for your MT5 password.
After setup, the phone is enough:
- Pause or stop the bot from the dashboard: no new trades, while open positions are still managed and keep their stops at the broker.
- Kill switch. It cancels pending entries and closes every position the bot opened, leaving your manual trades alone. The EA does the closing, so with the terminal off, those positions stay open until it is back or you close them in the MT5 app.
- Alerts on Telegram or by email when trades open or close and when a limit is hit, plus a daily report.
- “Expert Advisor offline”. If the EA stops reporting while the bot is on, the account is marked offline after about 90 seconds and you get an alert, so a sleeping PC does not go unnoticed.
- Manual trades. The EA only manages positions with its own magic number, so your own trades are left alone. A bot trade you close in the app is recorded as closed manually; the bot can still take a later signal unless you pause it.
Risk per trade, the daily loss limit and the position caps are checked before every order, and every skipped signal is logged with its reason, such as “Bot paused” or “High-impact news”. More on the features page.
Forex and CFD trading is high risk. You can lose money. This is not financial advice.
Frequently asked questions
Can I run an Expert Advisor on MT5 for Android?
Can I use an EA on MT5 for iPhone?
Is there a mobile version of MT5 Expert Advisors?
Can I stop my EA from my phone?
Do I need a computer to use a forex trading bot?
Educational content, not financial advice. Forex and CFDs are traded on margin and are high risk: you can lose money, and more than your deposit with some brokers. Examples use made-up numbers and show no real results. Read the risk disclosure.