MetaTrader®, MT4® and MT5® are trademarks of MetaQuotes Ltd. This is an independent service and is not affiliated with, authorized by, or endorsed by MetaQuotes. Trustpilot4.0
EA HOSTING · MT5 & MT4

Run your own Expert Advisor in the cloud — attached over the API.

Upload a compiled .ex5 or .ex4, attach it to any chart with the inputs you choose, and let it trade 24/7 on a hosted terminal. No VPS to rent, no MetaTrader window to babysit — and it runs fully sandboxed.

POST /EaUpload · /OpenTerminalChartWithEa · DLL imports OFF
Any compiled .ex5 / .ex4 4 MB upload limit Runs on a hosted terminal Isolated per account
// what it is

Bring your robot. We host the terminal.

The Custom Expert Advisor API lets you upload a compiled MetaTrader EA and attach it to a chart on a hosted MT4/MT5 terminal programmatically — no remote desktop, no manual clicking. You POST the compiled .ex5/.ex4 file, call one endpoint to attach it to a symbol and timeframe with your chosen inputs, and it starts trading on the next reconnect. The terminal runs your EA the same way a desktop MetaTrader would — except it lives in an isolated container with DLL imports disabled, so your strategy can trade but nothing it does can reach the host.

// three steps

From .ex5 file to live trades in three calls.

1

Upload

POST /EaUpload with your compiled EA as base64. We validate it's a real EA and store it, encrypted, against your account.

2

Attach

/OpenTerminalChartWithEa picks the symbol, timeframe and input parameters, and stages the EA onto a chart.

3

Go live

A /Reconnect starts the terminal with your EA attached. Watch /Logs/Experts for its start-up line.

upload-and-attach.sh
# 1 · upload the compiled EA (returns an eaId)
curl -X POST https://hrx.info/EaUpload -H "x-api-key: sk_live_…" \
  -H "content-type: application/json" \
  -d '{ "fileName":"MyRobot.ex5", "fileBase64":"RVg1AnE…" }'
# → { "eaId":"ea_a1b2…", "sizeBytes":37024 }

# 2 · attach it to EURUSD H1 with your inputs
curl "https://hrx.info/OpenTerminalChartWithEa?id=<acc>&eaId=ea_a1b2…&symbol=EURUSD&timeframe=H1¶ms={\"Risk\":1.0}" \
  -H "x-api-key: sk_live_…"
# → { "staged":true, "activatesOn":"next-reconnect" }
// safety by design

Customer code runs — but it stays in its box.

Sandboxed, every time.

Running arbitrary trading code safely is the hard part. Every account gets its own locked-down terminal, and uploads are checked before they ever run.

  • DLL imports disabled — the EA can't call arbitrary Win32.
  • One container per account — isolated, no shared state.
  • Upload validation — only genuine compiled EAs accepted, 4 MB cap.
  • Encrypted at rest — your strategy file is stored encrypted.
// who it's for

For everyone who has a robot but no place to run it.

EA developers

Deploy and demo your product to clients over an API instead of shipping a VPS setup guide.

→ MQL5 authors & vendors

Prop & fund tools

Run each trader's approved EA on its own isolated terminal, provisioned by your platform.

→ Prop firms & SaaS

Always-on traders

Your strategy keeps trading through the night on a hosted terminal — no home PC left running.

→ Retail algo traders
// questions

Frequently asked

Can I run my own Expert Advisor through the API?+
Yes. Upload your compiled .ex5 (MT5) or .ex4 (MT4) with POST /EaUpload, then attach it to a chart with /OpenTerminalChartWithEa. It runs on a hosted terminal logged into your account.
Do I need my own VPS or a MetaTrader install?+
No. The terminal is hosted for you. There's no remote desktop, no VPS to rent and no MetaTrader window to keep open — the EA runs server-side and you control it over the API.
Is it safe to run custom code? What are the limits?+
Each account runs in its own isolated container with DLL imports disabled, so an EA can place trades but cannot reach the host or other accounts. Uploads are validated as genuine compiled EAs and capped at 4 MB, and files are encrypted at rest.
Can I set the EA's input parameters?+
Yes. Pass them as JSON when you attach the EA, and read an EA's inputs back with /GetEaParams. Inputs are written to a .set preset the terminal loads on start-up.
When does the EA actually start trading?+
On the next terminal launch. After attaching, a /Reconnect starts the terminal with your EA loaded; you'll see its initialisation line in /Logs/Experts and it begins running on the chart.
Start free

Upload your EA. We'll run it.

Connect an account, upload your compiled Expert Advisor, and attach it to a chart in three API calls.