年払いで最大 20% お得

特典を使う →
Tutorial8 min read

How to upload an EA to your VPS via RDP

Expert Advisors only run if the compiled file sits in the correct MetaTrader Data Folder on the VPS — not on your home PC. Use Remote Desktop clipboard, drive sharing, or a cloud link to move .ex4 (MT4) or .ex5 (MT5) files safely.

Transferring Expert Advisor files to a remote Windows VPS
  • MT4 uses .ex4 in MQL4\Experts; MT5 uses .ex5 in MQL5\Experts
  • Always open the path via File → Open Data Folder
  • Enable clipboard or local drives in the RDP client
  • Restart MetaTrader before looking for the EA in Navigator

Enable clipboard / drives in RDP

Before connecting, open Show Options (Windows mstsc) or PC settings (Microsoft Remote Desktop). Under Local Resources / Folders, allow Clipboard and optionally redirect a local folder or drive. Reconnect so the change applies.

Method A — copy-paste the EA file

On your PC, copy the .ex4 or .ex5 file (Ctrl+C). Inside the VPS session, open File Explorer and paste into a temporary folder such as Desktop. Large files or blocked clipboard policies may fail — then use Method B.

Method B — redirected drive or cloud download

With drive redirection, browse to \\tsclient\C (or your shared folder) from the VPS and copy the EA across. Alternatively upload to Google Drive/Dropbox on the home PC, then download inside the VPS browser.

Place the file in the MetaTrader Data Folder

In MT4/MT5 on the VPS: File → Open Data Folder. Go to MQL4\Experts (MT4) or MQL5\Experts (MT5). Paste the EA. Indicators go to Indicators; libraries to Libraries. Close and reopen MetaTrader (or right-click Navigator → Refresh).

Attach and verify

Drag the EA onto the correct symbol/timeframe chart. Allow live trading (and DLL imports only if you trust the EA). Enable AutoTrading. Confirm a happy face / green algo icon. Then disconnect RDP — do not Sign out.

EA transfer FAQ

Paste does nothing over RDP — why?

Clipboard redirection is off, or your local security software blocks it. Enable clipboard and reconnect, or use a redirected folder / cloud download.

EA compiles on my PC but is missing on VPS?

You copied source (.mq4/.mq5) only, or the wrong terminal’s Data Folder. Copy the compiled .ex4/.ex5 into the Experts path opened from that exact MT instance.

Can I drag files from Mac Finder?

Use Microsoft Remote Desktop folder redirection or cloud storage; macOS clipboard file transfer can be unreliable for binaries.

ブローカーに近い MetaTrader

プラン選択 → RDP → EA を24/5稼働。