Tutorials / Your MT5 Bots
Run your own EA (Bot) on our server
Your own EAs (Bots) in your MT5 on our server, beside our EA, around the clock.
Before you start
- Running MT5 on our server needs an EA (Bot) of your own, as a compiled
.ex5. We supply, recommend and sell no EA or settings. - First connect the MT5 on Your MT5: see Connect your MT5. Your bots run on it beside our EA, which keeps your alerts, the copier and the Journal working.
- EAs bought or rented on the MQL5 Market can't run here: their licence ties them to the MT5 they were bought on.
- DLL imports are always off.
Add a bot
- 1
Open your MT5 on Your MT5 Bots
Its card is there once it is connected on Your MT5. Click Add your own EAs (Bots).
- 2
Upload your EA (Bot)
Your compiled
.ex5files: EA, Indicator or Library. Each EA can take its own.setfile of inputs. Up to 20 files, 20 charts and 20 web addresses per MT5. - 3
Put it on a chart
One EA per chart. Type part of the symbol, such as “xau”, and pick it from your broker's list. Then the timeframe and any optional inputs as
name=valuelines, which win over the.set. - 4
Web addresses
Only if an EA uses WebRequest: one
https://address per box. Local and private addresses are refused. - 5
On or Off
A new bot is On, and runs once you click Save. To check it first, switch it Off before saving.
- 6
Save
Nothing is saved until you click Save on the mint bar at the bottom. It saves all your changes at once, and a running MT5 restarts once to load them, usually within a minute.
Your MT5 shows Algo On in its Your MT5 Bot column while at least one bot is on. A bot that breaks one of your Trading rules ticked for Your MT5 Bots is switched off with the reason on its chart, and Turn back on brings it back.
After setup
You can't see or click inside the hosted MT5. Your bots are run from its card here: files, charts, inputs, web addresses and each bot's On/Off. The MT5 itself (Start/Stop, Edit MT5, Remove) is run from its card on Your MT5.
- Files, charts, addresses and each bot's On/Off are under Manage your EA (Bot). Change as much as you like, then click Save on the mint bar, or Discard.
- Save restarts a running MT5 once to load everything, usually within a minute or two. With positions open, it asks first. Our EA comes back with it.
- Deleting an EA takes it off its charts too: pick another EA for them, or remove them, before you save. To pause a bot, switch it off; the others and our EA keep running.
- On Your MT5, stopping with positions open asks first: they stay open at your broker, unmanaged. Their broker-side stop-loss and take-profit still apply.
- Edit MT5 (on Your MT5) fixes a misspelled server name or a changed trading password in place, and your files and charts stay.
Your trades and your plan
Our EA records every trade on the MT5, from your bots or placed by hand, in History and the Journal under its license set. Trade errors are in Show log, on this card or on Your MT5. An older MT5 with only your own EAs records them under your first license set, as terminal “Hosted VPS”.
The account takes one of your plan's MT5 accounts. See how long a stopped account is kept. An account added but never started is removed 6 hours after it was added, on the free trial or with no plan.
“Your EA (Bot) didn't load”
Our server runs the latest stable MT5. An EA compiled on a beta MetaEditor won't load on it, and the card shows a red line saying so. We also email you.
- Built with a beta version: compile it again in the stable MetaEditor (Help → About shows the build), or ask its seller for a stable build. Upload the new
.ex5in Manage your EA (Bot) → Your EA (Bot) files, and MT5 restarts with it by itself. - Built with a newer MetaTrader 5 than our server runs: we're moving to that build over the next few days. Once we have, click Stop, then Start on Your MT5.
- Any other “didn't load”: most often an MT4 file or a broken upload. Upload the
.ex5again.
Related
This is how the software works, for education only: not investment advice, and not a recommendation to buy or sell anything. Symbols and numbers are examples of the format. Trading is risky. Diehard Trader carries out alerts and rules you set yourself.