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.



