Skip to main content
Besides copying trades, the Heron Copier cloud can run your own trading robot 24/7: an Expert Advisor (EA) on MetaTrader 4 or MetaTrader 5, or a cBot on cTrader. You upload the compiled file, set its parameters, choose the charts, and the robot runs on our servers. There is no VPS to rent or maintain.
New: automatic input detection for MT4, MT5, and cTrader. Upload your .ex4, .ex5, or .algo and the dashboard reads the robot’s inputs for you and shows them as a form with the defaults filled in. You no longer need to export a .set or .cbotset file from your own platform. See Automatic input detection.

How it differs from a copier account

A hosted EA or cBot is a third kind of cloud account, next to master and slave accounts:
  • It runs independently. It is not connected to any master or slave, and you do not need a master account to create one.
  • It uses 1 cloud seat, the same as a master or slave account. See Billing and Payments.
  • It runs your robot, not the Heron Copier EA, so copier settings such as volume sizing, symbol aliases, or account protection do not apply to it.

What you need

  • Robot file: the compiled file only, not the source code (.mq4/.mq5). Maximum 10 MB.
  • Parameters on MT4/MT5: optional. The dashboard detects the EA’s inputs after you upload it (see Automatic input detection). You can still upload a .set preset instead: open the EA’s Inputs tab in your terminal and click Save. Maximum 256 KB.
  • Parameters on cTrader: optional. The dashboard detects the cBot’s parameters after you upload it. You can still upload a .cbotset file instead: export the cBot’s parameters from cTrader; it must be valid JSON with a Parameters section. Maximum 256 KB.
EAs bought from the MQL5 Market are locked to the computer they were installed on, and EAs with their own license check may refuse to run on a new machine. Use an EA you have a working compiled file for, and confirm with the vendor that it may run on a hosted server.

Set up a hosted EA or cBot

  1. In the dashboard, open Cloud Accounts and click + to add an account.
  2. Choose MT4, MT5, or cTrader.
  3. When asked for the account type, choose Neither, it is an EA (or Neither, it is a cBot on cTrader).
  4. Fill in the Trading account section with the account the robot should trade on, and give it a unique Identifier.
  5. Upload the robot file, wait for Detecting inputs… to finish, then review the inputs in the form and change any you need. Or upload a .set file (MT4/MT5) or .cbotset file (cTrader) instead. If you upload a parameters file, you can expand Preview parameters to check the values before launching.
  6. Add the charts to attach the robot to (see below).
  7. On MT4/MT5, review the Permissions section (see below).
  8. Click Launch. It usually takes a minute or two for the robot to start.

Automatic input detection

When you upload your robot, the dashboard reads its input parameters: on MT4 and MT5, the same list you would see on the EA’s Inputs tab in MetaTrader; on cTrader, the cBot’s parameters as cTrader lists them. While this runs, the form shows Detecting inputs…. It usually takes less than a minute. Your robot is only opened to read its inputs. It is not started, and it is not connected to your trading account or any other account while this happens. When detection finishes, the inputs appear as a form:
  • Every input is filled in with the robot’s default value, and input groups are shown as separate sections.
  • Each input gets a matching field: a switch for true/false inputs, a dropdown for inputs with a fixed list of options (on cTrader this includes timeframes and price sources), number fields, a color picker, a date and time field, a duration field (cTrader), or a text field. On MT4/MT5, dates and times are in UTC.
  • Invalid values are highlighted, and Launch stays blocked until they are fixed. On cTrader, numbers must stay within the minimum and maximum the cBot allows. On MT4, text inputs only accept Western (Windows-1252) characters.
  • When you click Launch, the dashboard saves your values as the robot’s parameters file: a .set preset on MT4/MT5, a .cbotset file on cTrader.
If the robot has no inputs, the form says so and no parameters file is needed.

Using your own parameters file

You can still upload a .set file (MT4/MT5) or .cbotset file (cTrader) under Upload a .set file instead (optional) or Upload a .cbotset file instead (optional). An uploaded file always wins: the robot uses its values and the form is ignored. To go back to the form, choose Use these inputs instead.

If detection does not work

If the inputs cannot be detected, or detection takes too long, the dashboard shows a note, and you can upload a parameters file exported from your own platform as before. You cannot launch while detection is still running, unless you upload a parameters file.

Charts

The robot is attached to every chart you add, and each chart runs its own copy of the robot with the same parameters.
  • Add between 1 and 10 charts.
  • Use the broker’s exact symbol name, including any suffix (for example EURUSD.r). Symbols may contain letters, digits, and . _ # + - / !, with no spaces and at most 40 characters.
  • Pick a timeframe: M1, M5, M15, M30, H1, H4, D1, W1, or MN1. On cTrader these are shown with cTrader’s own names (for example m15, h1, Month1).
  • The same symbol and timeframe can only be listed once.
  • On cTrader, if your .cbotset file includes a chart, the dashboard uses it to fill in the first chart.
Some robots trade every symbol from a single chart. Attaching such a robot to several charts runs several copies of it, which can open duplicate trades. Check how your robot works and attach it to one chart if it manages all symbols on its own.

Permissions (MT4/MT5)

Allow DLL imports

DLL imports are off by default. DLLs run native code inside your hosted terminal, so this option requires admin approval for your license. If your EA needs DLLs, contact support. Once your license is approved, the Allow DLL imports switch can be turned on in the form. cTrader cBots do not have this option.

WebRequest URLs

If your EA calls web addresses with WebRequest() (for example a license server, a news feed, or a notification service), list those addresses here. With no URLs listed, the EA cannot reach any address through WebRequest().
  • Add up to 20 URLs. Each must start with http:// or https:// and point to a public host name or public IPv4 address. Private, local, and internal network addresses are not allowed.
  • URLs cannot contain spaces, quotes, ;, ,, *, or backslashes.
  • MT4: include the scheme (https://). Each URL allows that host and any path starting with it. Custom ports are not supported, and the total length of all URLs is limited to 2,000 characters.
  • MT5: each entry allows that host (and port, if you give one); the scheme and path are ignored.
  • On both platforms, subdomains are separate hosts. List www.example.com and api.example.com separately if the EA uses both.
Hosted robots can reach the public internet, but not private or internal network addresses.

Manage a hosted EA or cBot

Hosted robots appear on the Cloud Accounts page with a robot icon and the label EA Hosting or cBot Hosting. You can show only these accounts by choosing EA/cBot Accounts Only in the account filter.
  • View configuration shows the account details, the uploaded files, the charts, and (on MT4/MT5) the WebRequest URLs.
  • Redeploy restarts the hosted terminal with the same files and charts. The robot is offline for a few minutes while it restarts.
  • Delete stops the robot, removes the account, and deletes the uploaded files.
  • Editing is not available yet. To change the files, charts, or permissions, delete the account and create it again.
Copier actions such as pause, open positions, history, close all, and kill switch apply to master and slave accounts only, so they are not available for hosted robots. Balance, equity, and the terminal’s Experts log are not shown on the dashboard for hosted robots yet. Check your trades in your broker’s platform or mobile app.

Copying your robot’s trades

Hosting and copying are separate. If you want the trades your robot makes to be copied to other accounts, add the same trading account as a master cloud account as well, then add your slave accounts. This uses one more seat.

Prop firms and brokers

Prop firms and brokers set their own rules for EAs, bots, and trading from servers. Check those rules before hosting a robot on an evaluation or funded account. Hosted robots trade from Heron Copier cloud servers, not from your own IP address. See Does Heron Cloud provide a dedicated or static IP?