Run FCC_EA on a VPS
FCC_EA only works while MetaTrader 5 is open and connected. On your own computer it stops whenever the computer sleeps, restarts or loses its connection. A VPS (virtual private server) is a Windows computer in a data centre that stays on all the time; you control it from your computer with Remote Desktop.
This page is about a Windows VPS you rent from a hosting provider. MetaTrader's own built-in virtual hosting is a different service and is not covered here.
Choosing a VPS
- Windows. MetaTrader 5 is a Windows program. Windows Server is fine.
- Size. One or two MetaTrader terminals with a few charts run well on a small server, for example 2 CPU cores and 2 to 4 GB of memory. More terminals or many charts need more.
- Location. Close to your broker's trade servers, so orders reach the broker quickly. Many providers name the cities of the big broker data centres (for example London or New York). MetaTrader shows the delay to the server (the ping) at the bottom right of the window.
Prices and providers change often; compare a few and start with a monthly plan.
Connect to the VPS
The provider gives you an address, a user name and a password. On Windows open Remote Desktop Connection (on a Mac the Windows App from Microsoft), enter the address and sign in. You now see the desktop of the VPS.
Install MetaTrader 5
On the VPS, download MetaTrader 5 from your broker's website, install it and log in to your trading account with File › Login to Trade Account.
Install FCC_EA
Download FCC_EA from the customer portal on the VPS and copy it into the terminal's MQL5\Experts folder, as in Install FCC_EA. Then allow web requests for the FCC_EA addresses in this terminal too: the setting belongs to each terminal.
Bring your settings
On your own computer, save your settings as a set file (Save your settings) and copy the .set file to the VPS, for example by copy and paste through Remote Desktop. In the VPS terminal, attach FCC_EA to the chart and Load the file. The license key is part of the set file.
Turn on Algo Trading and check
Click Algo Trading in the toolbar so it is green. In the Experts tab, check that the license line shows active and that the info panel shows no red header. See Check that it is running.
Disconnect, do not sign out
Close the Remote Desktop window (the × at the top), or choose Disconnect. MetaTrader keeps running on the VPS. Do not use Sign out in the Windows start menu: that closes every program on the VPS, MetaTrader and FCC_EA included.
Only one terminal per account and symbol
Once FCC_EA runs on the VPS, remove it from the same account and symbols on your own computer, or close MetaTrader there. Two copies with the same magic number on the same account would both manage the same positions. To look at your trades from your computer or phone, use the MetaTrader mobile app or a terminal without FCC_EA on those charts.
If you move a running setup with open positions, see Move to another account or computer.
Keeping it running
- Windows updates can restart the VPS. After a restart, connect again, start MetaTrader and check the Experts tab; MetaTrader reopens your charts with FCC_EA on them. Many providers let you choose when updates are installed.
- Alerts: push notifications are sent by the terminal that runs FCC_EA, so enter your MetaQuotes ID in the VPS terminal. Telegram alerts need the Telegram address allowed for web requests in the VPS terminal.
- Time zone of the VPS does not matter: FCC_EA works with your broker's server time.
All license questions: Activate your license.
All settings for this feature License settings → Other settings →
Backtest this setup free in the Strategy Tester, and adjust it whenever the market changes; every feature is in every plan. Backtest results depend on your broker's data and don't guarantee future results.
Check the FAQ or write to us. We reply within one business day.