Account funded, bot ready, and you work on a MacBook. That is where the trouble starts. MetaTrader 5 installs cleanly, the icon sits in your Dock, and your bot still behaves differently from everyone else's.
There is no real Mac version of MetaTrader 5. What you download is the Windows build wrapped in a translation layer, and it stops trading the moment your Mac goes to sleep. For a bot that has to run all week, that is the whole story right there.
Can MetaTrader 5 run on a Mac?
It launches, but it does not run natively. MetaQuotes ships its own macOS installer, and inside it sits the Windows build wrapped in Wine. On an M-series chip, Rosetta 2 sits on top of that. So you are running Windows software, translated, on a processor it was never written for.
MetaQuotes has never released a genuine macOS build in all these years. Apple moving to its own silicon widened that gap instead of closing it.
Trading by hand, you barely notice. Open a chart, place an order and you are finished. The cracks show up in exactly the places a bot depends on. The strategy tester crawls, which turns a two-year backtest into an evening's work. Expert advisors that call an external DLL often refuse to run under Wine. And MetaTrader's Python bridge, the one you need if you want to build something yourself, is unreliable on Apple Silicon. If that is your direction, read how we build a trading bot with Claude Code first, and accept that developing on a Mac is fine while running it belongs somewhere else.
Why does my bot stop when I close the lid?
Because an expert advisor is only alive while MetaTrader is open on a machine that is awake. Lid down, bot off. No new trades, and more importantly, no management of what is already open.
That second half gets skipped almost everywhere, and it is the half that costs money.
Your stop loss and take profit stay put. They live on your broker's server and that server does not sleep. Everything your bot handles itself goes quiet. A trailing stop stops trailing. Break-even never gets set. A time-based exit, say closing everything before the weekend, simply does not fire. The position is still there, without the brain that was supposed to watch it.
You can disable sleep under System Settings and Battery, then leave the lid open. That holds until the first macOS update reboots overnight, or until someone shuts the laptop because the cat is standing on it. A bot that only trades while you are nearby is not a bot.
Why does MT5 freeze on launch on an M-series chip?
Usually a clash between a fresh MT5 build and the Wine layer beneath it. The pattern is easy to recognise. You update, you click the icon and an empty window appears.
On the MQL5 forum, users running macOS Sequoia 15.5 on an M4 reported exactly that. The terminal froze right after launch and never reached the login screen. Reinstalling did nothing. Deleting the whole container at ~/Library/Containers/net.metaquotes.wine.metatrader5 did nothing either. What worked was rolling back to build 5430, or jumping forward to beta build 5574 where it had been fixed.
This is the real risk of the Wine route. Most of the time it works fine. The problem is timing: an MT5 or macOS update can knock your bot offline exactly when you are not watching. A Windows user simply does not have that extra fault line.
What are your options on a Mac, and what do they cost?
Four routes, and they differ on one thing above all: whether your bot keeps going when you are not staring at it.
| Option | Runs your bot 24/5? | What it costs | Where it falls over |
|---|---|---|---|
| MetaQuotes Wine installer | No | Free | Dies on sleep. Sometimes breaks after an update. DLL-based EAs often fail. |
| Parallels with Windows 11 | Only while the Mac stays awake | Around €100 a year plus a Windows licence | Fixes emulation, not sleep. Eats RAM and battery. |
| A separate Windows laptop | While it is on and connected | A few hundred euro secondhand | Your wifi and your power. Out when you are not home. |
| A VPS in a data centre | Yes | €10 to €20 a month | A fixed monthly cost. You have to log in once and set it up properly. |
Is Parallels good enough for a bot?
On the Mac itself it is the best thing going. Windows 11 for ARM runs smoothly in Parallels on an M-series chip, and MT5 behaves like ordinary Windows software with no Wine in the way. The strange freezes disappear, the strategy tester becomes usable again, and DLL-based EAs just work.
Look closely at which problem you are solving, though. Parallels removes the translation layer. It does not keep your Mac awake.
Run a bot in Parallels and your entire trading still hangs off one laptop that has to sit on your desk, plugged in, with sleep disabled. Add the licence at roughly a hundred euro a year, plus the RAM you have to assign to Windows, easily six to eight gigabytes, and the maths tilts. That money runs a VPS for two to four months and you never think about your laptop again.
Parallels makes sense when you need Windows for other reasons anyway. For a bot alone, you are buying a fix for the wrong problem.
Why does a VPS end this for most people?
A VPS is a Windows machine in a data centre that never sleeps, never gets a macOS update and needs no translation layer. Your bot keeps trading while your MacBook is in your bag. The Mac is reduced to the screen you glance at now and then.
Budget ten to twenty euro a month. You connect with Microsoft Remote Desktop from the Mac App Store, because a Windows VPS speaks RDP rather than Screen Sharing. Then you install MT5 once, put the bot on it and leave it alone. If your home internet drops during a news release, your bot never notices.
There is a second gain you only spot when you look for it. A VPS usually sits physically near your broker's servers, typically in London, Frankfurt or New York. Your orders travel less far, and on a strategy that trades short moves that shows up in your average fill. We covered why a VPS matters this much for a trading bot separately, including what to check before you pick one.
The same logic applies if you are thinking about managing your bot from your phone. That works fine, as long as the bot itself lives somewhere it cannot drop out. Have a look at how running a trading bot from your phone actually works.
What do you do if you are already stuck?
Start by checking whether the Mac is really the culprit. If your bot sits idle while the terminal is wide open, something else is wrong, and our piece on a bot that is not placing trades will get you there faster.
If MT5 itself is frozen or will not launch, check your build under Help and About. If you are on an update that landed recently, search the MQL5 forum for your build number before you spend hours tearing things out and reinstalling. When other people are reporting the same thing, rolling back to the last stable build is usually the quickest way out.
Then take an honest look at what you have built. If you check every morning whether your laptop stayed awake overnight, you have made yourself the weakest component in your own setup. No macOS setting fixes that. A bot belongs somewhere that has no lid.
Put your bot where it cannot drop out
We set the bot up on a server that stays on, with your laptop closed. Your own account, your own password. We take 30 percent of your profit and nothing when you lose.
Start now