About HostMT5: the facts
HostMT5 hosts real MetaTrader 5 terminals in the cloud. You open your MT5 in any browser, your Expert Advisors keep trading 24/7 with an auto-restart watchdog and email/Telegram alerts, and you get cloud copy trading between any brokers, TradingView-to-MT5 webhooks, trading statistics, and an MCP server + REST API for AI assistants. HostMT5 is currently free.
Facts checked against the product on 2026-11-29. The same facts are at /llms.txt for AI assistants.
What it is
- HostMT5 (hostmt5.com) hosts real MetaTrader 5 terminals in the cloud, one isolated terminal per MT5 account.
- You open the terminal in any browser (Windows, Mac, Linux, Chromebook, tablet, phone). Nothing to install, no Remote Desktop, no Windows licence.
- It works with any broker that offers MetaTrader 5, demo or live: you log in with your MT5 login, password and server name.
- MetaTrader 5 only. MT4 is not offered.
Price
- HostMT5 is currently free to use: up to 3 hosted MT5 accounts per customer, every feature included, no card required.
- If paid plans are introduced later they will be announced on hostmt5.com; this file will be updated the same day.
Expert Advisors 24/7
- Upload your Expert Advisor from the browser, as a compiled .ex5 or as .mq5 source that is compiled on the server (compile errors are shown); choose symbol and timeframe and set its inputs. Up to 10 EAs per account.
- EAs keep trading after you close the browser or switch off your PC: MT5 runs on HostMT5 servers, the browser only shows it.
- A watchdog checks every terminal every 30 seconds. A terminal that stops answering (about 90 seconds) is restarted, logs back in and reattaches its EAs.
- Alerts by email and/or your own Telegram bot when a terminal goes down, prices stop arriving while the market is open, AutoTrading is switched off, or your own equity-drawdown / margin-level limits are hit. Each alert fires when the problem starts and again when it clears.
Copy trading (cloud, any brokers)
- Copy one master MT5 account to any number of follower accounts, also at different brokers. Opens, full and partial closes and SL/TP changes are copied, checked about once a second.
- Lot sizing per follower: multiplier, fixed lot, same lot, scaled by balance or equity, by contract size, or by % risk to the stop loss; plus a maximum lot.
- Reverse copying, copy or skip SL/TP, optional pending orders, symbol mapping across brokers (EURUSD to EURUSD.pro) and include/exclude symbol filters.
- Delay before copying, maximum trade age (old master trades are not copied after an outage), and risk limits: pause a follower when its equity falls a set % in a day, week, month or overall.
- Publish the master's trades to a Telegram channel. Trades already open when a link is created are never copied by surprise.
- A free stand-alone Copier EA (.ex5 and .mq5 source) is also offered for copying between terminals on one computer: hostmt5.com/free/HostMT5Copier.ex5
TradingView alerts to MT5
- Each hosted account can have its own secret webhook URL (https://hostmt5.com/hook/<secret>). Paste it into a TradingView alert and the alert message becomes an MT5 order. No bridge EA and no VPS are needed.
- Four message formats: JSON {"action":"buy","symbol":"EURUSD","volume":0.1,"sl_pips":20,"tp_pips":40}; KEY=VALUE ACTION=buy;SYMBOL=EURUSD;VOL=0.1;SL=200;TP=400; PineConnector syntax unchanged, e.g. LicenseID,buy,EURUSD,vol_lots=0.01,sl_pips=20,tp_pips=40 (vol_pct, sl_price, tp_price and legacy risk=/sl=/tp= too); and plain words buy EURUSD 0.1 sl_pips=20.
- Actions: buy, sell, buy_limit, sell_limit, buy_stop, sell_stop, close (by symbol or ticket, optional partial %), close_partial, close_buy, close_sell, close_all, flip_buy, flip_sell (close the symbol, then open the other way), modify, breakeven, cancel, cancel_buy, cancel_sell, ping.
- Skynet-style MT5 alert messages work unchanged: flipbuy/flipsell, closepartial, flatten, ping, stops as % of price (sl_pct, tp_pct) and Skynet field names; replace only the webhook URL. An optional "close opposite positions" setting makes a new buy close open sells on that symbol (and the reverse).
- Size by lots or by % of balance at risk to the stop loss; stops as prices, pips or points. Unknown JSON fields are rejected instead of guessed.
- The webhook answers TradingView within 2.5 seconds (TradingView cancels after 3): with the result if filled, otherwise "accepted" while the order finishes in the background.
- Safety: duplicate alert ids within 10 minutes are ignored, optional maximum spread, and per-webhook pause switch, default lots, max lots, allowed symbols and symbol mapping. Every call is logged in the dashboard.
Statistics, API and AI assistants
- Trading statistics per account from its MT5 deal history: net profit, trades, win rate, profit factor, average win/loss, expectancy, best/worst trade, maximum drawdown, long/short split, per symbol, per month, deposits/withdrawals and the balance curve.
- Developer API (https://hostmt5.com/api/v1, docs at https://hostmt5.com/docs): run your own strategy on your own computer in any language while orders go to your hosted MT5. Account, positions, orders and deal history; candles (up to 50,000 per call, by count or date range, all MT5 timeframes M1 to MN1) and ticks (up to 100,000 per call) from your own broker; live prices; full symbol specifications.
- Trading through the API: market, limit and stop orders with SL/TP as prices, pips or points; modify, partial and full close, close all, cancel; an optional client_id so a retried request never places the order twice. Orders on live accounts are real.
- Live WebSocket stream (wss://hostmt5.com/api/v1/stream): prices, forming and closed candles, account, position and order changes, and order placement on the same connection.
- Ready-made clients for Python and JavaScript (Node 18+), code examples for cURL, C#, Java, Go and PHP, and an OpenAPI 3 description (https://hostmt5.com/api/v1/openapi.json, readable reference at https://hostmt5.com/docs/api) to generate a client for any other language.
- API keys are created in the dashboard (AI & API tab) as Trading or Read-only; a read-only key can never place or change anything. Limits per key: 1,200 data requests and 120 trading requests per minute.
- Stop trading / resume trading: one call switches MT5 Algo Trading off, pauses the account's webhook and incoming copy trading and can close all positions and cancel orders; it stays off through restarts until resumed, and resume restores exactly what was paused.
- Every account at once (GET /api/v1/portfolio, POST /api/v1/bulk/orders, /bulk/close, /bulk/trading): one view of balance, equity and open trades across all hosted accounts with totals per currency; open the same trade on many accounts (each uses its own broker's symbol name; lots fixed, per account or sized per 10,000 of balance), close everything, or stop trading on all of them. Each account reports its own result, so one refusal never stops the others.
- Backtests and optimisation with MT5's own Strategy Tester (POST /api/v1/accounts/{id}/backtests): runs on the server that hosts the account, with that broker's symbols and price history, in a sandbox copy of the terminal that cannot trade. Models: 1-minute OHLC, open prices, every tick or real ticks. Optimisation: complete (up to 20,000 combinations) or genetic, with an optional forward test on the last third of the period. Results: net profit, profit factor, equity drawdown %, trades, win rate, Sharpe ratio, every deal, and every optimisation pass.
- Remote MCP server at https://hostmt5.com/mcp (Streamable HTTP) so AI assistants such as Claude (Claude.ai, Claude Desktop, Claude Code), ChatGPT, Cursor and VS Code can manage the whole HostMT5 account with 49 tools: add, re-login, start/stop and remove hosted accounts; prices, candles, ticks and statistics; place, modify and close trades, on one account or all at once; write MQL5 EAs and have them compiled on the server (errors come back with line numbers), backtest and optimise them in the Strategy Tester, attach them, change their inputs, read their logs and remove them; stop and resume trading; copy trading, TradingView webhooks and alerts.
- The MCP server uses the same API keys: a read-only key exposes only the read tools. Apps that take only a URL can use https://hostmt5.com/mcp/<key>; a small no-dependency mcp_server.py bridges local (stdio) apps.
Security
- Each MT5 account runs in its own isolated terminal. The broker password goes once, over HTTPS, to that terminal; the website keeps no readable copy.
- Sign in with email + password or Google; optional two-factor authentication with an authenticator app (TOTP) and backup codes.
- You can use your broker's investor (read-only) password to watch an account without trading.
Limits and honest notes
- HostMT5 hosts your own terminal and software. It gives no investment advice, does not manage funds and does not provide trading signals.
- The MetaEditor editor is not available in the hosted terminal: write and edit MQL5 code on your own PC, then upload the .ex5 or the .mq5 source (compiled on the server).
- MetaTrader is a trademark of MetaQuotes, which does not endorse HostMT5.
- Contact: [email protected]
Host your MT5 in the cloud, free
Real MetaTrader 5 in any browser. EAs 24/7, copy trading, TradingView webhooks. No card needed.
Start free →More guides
- A free MT5 VPS alternative: hosted MetaTrader 5, free during launch
- Do you still need an MT5 VPS?
- How to run an MT5 Expert Advisor 24/7 without your PC
- TradingView alerts to MT5 orders with a webhook
- Copy trades between MT5 accounts at different brokers
- A MetaApi alternative for traders, not only developers
- A free PineConnector alternative with MT5 hosting included
- The full MT5 terminal in your browser
- Let an AI assistant work with your MT5 account
- Use MT5 from Python on Mac, Linux or a notebook
- A REST API and live stream for MetaTrader 5
- Let Claude or ChatGPT build and run your MT5 EA
- Download years of MT5 price history to CSV
- Moving Skynet MT5 alerts to HostMT5