How to Keep MetaTrader Online 24/7 with a VPS
Updated · July 2026 · ~9 min read
Automated trading does not only depend on a good alert or a correct Expert Advisor. The trading terminal must be running when the signal arrives. A VPS gives MetaTrader a stable computer in a data center so your automation is not interrupted by home internet outages, laptop sleep mode or accidental shutdowns.
- MetaTrader and cTrader automation needs the terminal online because the EA is the component that places orders with your broker.
- A VPS is a remote Windows or Linux server that stays powered on and connected even when your personal computer is off.
- Choose a VPS based on broker latency, uptime reputation, enough RAM/CPU, support quality and a location near your broker server.
- Security matters: use strong passwords, updates, limited access and avoid storing unnecessary personal files on the trading server.
01 Why the terminal must stay running
TradingView can send a webhook while you are asleep, but TradingView does not place the MetaTrader order itself. In a TradeAon workflow, the alert reaches the routing service, then an Expert Advisor inside MT4, MT5 or cTrader picks up the instruction and sends the order through your broker connection. If the terminal is closed, disconnected or blocked by Windows updates, the signal may be received but not executed.
This is why many automation problems are infrastructure problems. The JSON can be perfect and the strategy can fire correctly, but execution still depends on a live terminal with algo trading enabled and the EA attached.
02 What a VPS is
A virtual private server is a rented computer hosted in a data center. You connect to it through Remote Desktop, install your trading platform, log in to your broker account, attach your EA, and then leave the session running. Your laptop becomes only a remote control; the trading platform continues running on the VPS after you disconnect.
Most MetaTrader users choose a Windows VPS because MT4 and MT5 are Windows-first desktop applications. Some traders use Linux with compatibility layers, but that adds complexity and is rarely the easiest path for a basic automation setup.
03 Latency and server location
Latency is the round-trip time between your VPS and your broker server. Lower latency can help orders reach the broker faster, especially for short-term strategies. It does not turn a weak strategy into a strong one, and it does not guarantee fills, but it reduces one avoidable source of delay.
Choose a VPS location near the broker's trading servers when possible. Some brokers publish server regions; others can tell you through support. If you trade multiple brokers, pick the location that best fits the most execution-sensitive account, or consider separate VPS instances for very different regions.
04 RAM, CPU and storage needs
A single MetaTrader terminal with one EA is not usually demanding, but the load grows as you add terminals, charts, indicators and copy-trading accounts. Look for enough RAM to keep Windows and all terminals responsive, a CPU allocation that does not constantly sit at high usage, and storage that leaves room for platform history, logs and updates.
Avoid choosing only by the cheapest monthly price. A slow VPS can freeze during busy market conditions or make Remote Desktop painful to use. Stability and support are more important than headline specifications you never verify.
05 Step-by-step setup outline
- Order a VPS from a provider with a location near your broker server.
- Connect using Remote Desktop and change the default password if one was supplied.
- Run Windows updates before installing trading software, then reboot once.
- Install MT4, MT5 or cTrader from your broker or the official platform source.
- Log in to your broker account and confirm prices are moving.
- Attach the TradeAon EA, paste your
whk_license key, and enable automated trading. - Send a demo webhook and confirm the terminal log, TradeAon log and broker result all agree.
06 Installing the EA and license key
The EA is the bridge between the automation service and your broker terminal. With TradeAon, one EA handles webhook execution and copy trading, so you do not need a separate EA for each of those functions. After placing the EA on a chart, open its inputs and paste the license key from your dashboard. The key starts with whk_.
Broker passwords are not shared with TradeAon. You log in to the broker inside MetaTrader or cTrader, and the EA operates from that terminal. This design keeps broker authentication inside the platform while still allowing webhook alerts to become executable instructions.
07 Keeping the VPS stable
Once automation works, avoid unnecessary changes. Do not overload the VPS with unrelated software. Keep the number of open charts reasonable. If you run several terminals, label them clearly and document which broker account, license key and strategy each one uses. That makes recovery easier after a restart.
Windows updates are useful for security but can restart a server at inconvenient times if configured carelessly. Set active hours and maintenance windows. After any planned reboot, reconnect and confirm each terminal is open, logged in and showing the expected EA status.
08 Security basics
A trading VPS controls real accounts, so treat it as sensitive infrastructure. Use a strong administrator password, disable accounts you do not use, keep the operating system updated, and avoid sharing Remote Desktop access. If the VPS provider supports firewall rules or IP allowlists, use them to restrict access where practical.
Do not store documents, seed phrases, password lists or unrelated personal data on the VPS. Keep only what the trading setup needs. If you need support to inspect the server, change passwords afterward and review what was changed.
09 Alternatives to a VPS
A broker-hosted VPS can be convenient because it is often located near the broker infrastructure and may be integrated with the trading account. The trade-off is less flexibility if you run multiple brokers or want full control over the environment. A home PC is cheaper if it is already running, but it depends on household power, internet, updates and sleep settings.
For manual or low-frequency experiments, a home PC may be acceptable. For unattended webhook execution, a VPS is usually the cleaner operational choice because it separates trading uptime from your everyday computer use.
10 Maintenance checklist
- Check that each terminal is connected after weekends, holidays and updates.
- Review platform logs and TradeAon event logs for rejected orders or offline periods.
- Test a small demo alert after changing a broker password, EA version or license key.
- Back up custom indicators, EA files and notes about symbol mapping.
- Remember that TradeAon is a Beta technical automation tool, not a managed trading service.