From a bare VPS to chat control in five minutes.
AlgoHand runs a small agent on your Windows VPS next to your MetaTrader 5 terminals. You install it with one command; after that, everything happens from the dashboard and the chat. No inbound ports, no passwords leave the machine.
1. What you need
- A Windows VPS (Windows Server 2016 or newer, or Windows 10/11) with administrator access over Remote Desktop.
- One or more MetaTrader 5 terminals installed on it, each logged in to a trading account. Terminals installed in the standard way (Program Files) and portable installs both work.
- The Expert Advisors you trade with, installed in the terminals as usual (
MQL5\Experts). AlgoHand never needs their source code. - Outbound HTTPS from the VPS (it is there by default; nothing inbound is opened).
2. Create your account
- Go to app.algohand.com and create an account with your e-mail and a password of at least ten characters.
- Read and accept the Terms of Service, the Privacy Policy and the Risk Disclosure.
- You land on the dashboard. It is empty until a VPS is connected.
3. Connect the VPS
- In the dashboard click Connect a VPS, give it a name (for example the provider and location) and click Create activation token. The dashboard shows a one-line PowerShell command with the token inside.
- Log in to the VPS over Remote Desktop. Make sure your terminals are running and logged in.
- Open PowerShell as Administrator (right-click the Start button → "Windows PowerShell (Admin)" or "Terminal (Admin)").
- Paste the command and press Enter. It looks like this:
powershell -NoProfile -ExecutionPolicy Bypass -Command "iwr -useb https://algohand.com/dl/install.ps1 -OutFile $env:TEMP\algohand-install.ps1; & $env:TEMP\algohand-install.ps1 -Token enr_XXXXXXXX"
The installer downloads the agent, checks its signature and asks one question: enable auto-logon? On a VPS say yes and type the Windows password of the current user. The installer verifies it and stores it in the protected Windows LSA store on that machine only (where the Sysinternals Autologon tool keeps it too); it never leaves the VPS. Windows then signs in by itself after a reboot, so your terminals start without anyone connecting over Remote Desktop. Press Enter to skip; you can switch it on later (see Troubleshooting).
- Within a minute the VPS appears in your dashboard as online.
- The agent then restarts each terminal once to attach its manager. Your EAs come back on their charts exactly as they were. After that, the terminals stay up and the agent only watches them.
4. Open the chat and drive your EAs
The assistant is at the top of your dashboard (or open it in its own tab with the link next to it). It is signed in as you and sees only your account. Try:
- "What is running on my VPS?"
- "Start Vesper Scalper on EURUSD with the conservative preset."
- "Set the risk of the gold EA to medium."
- "Stop everything on account 5313…"
- "Show my equity curve for the last month" or "P&L by hour of the day".
Every command that changes something is shown to you as a summary first. The assistant applies it only after you confirm. Parameter changes restart the EA; if the EA has open positions and its restart safety is not verified, the change is refused rather than risked.
5. What the agent does on your VPS
- Runs as scheduled tasks under
C:\TCA: one supervisor plus one worker per terminal. Logs are inC:\TCA\logs. - Finds your MetaTrader 5 terminals, reads their state (account, balance, equity, open positions, EAs on charts) and reports it to AlgoHand over outbound HTTPS. Nothing listens for inbound connections.
- Installs a small manager program (an MQL5 service, or an EA on a hidden chart on older builds) in each terminal. The manager opens and closes charts and applies templates; that is how EAs get started, stopped and reconfigured.
- Keeps the terminals running: if a terminal is closed or the VPS reboots, the agent starts it again.
- Never reads or sends your trading account password. It works only with terminals that are already logged in.
- Updates itself from AlgoHand releases signed by MTCodec.
6. Troubleshooting
The VPS does not appear in the dashboard
Open C:\TCA\logs\agent.log. The last lines say what went wrong: usually a firewall that blocks outbound HTTPS, or a token that was already used. Create a fresh token and run the command again.
A terminal shows "TcaManager is not running"
The manager could not be attached. This happens when AutoTrading is switched off in the terminal, or the terminal is not logged in. Check the terminal, then wait a minute; the agent retries by itself.
I skipped auto-logon and want it now (or want it off)
Without auto-logon everything works while you are signed in over Remote Desktop, even with the window closed. After a reboot, though, the terminals and the agent wait until somebody signs in. Switch auto-logon on later with one command in an administrator PowerShell; it asks for the Windows password, verifies it and stores it in the protected Windows store:
powershell -NoProfile -ExecutionPolicy Bypass -Command "iwr -useb https://algohand.com/dl/autologon.ps1 -OutFile $env:TEMP\algohand-autologon.ps1; & $env:TEMP\algohand-autologon.ps1"
Add -Disable at the end to switch it off again.
The chat says an EA is "unknown"
AlgoHand only operates EAs that are in its catalog with verified inputs and presets. The EAs you see in the chat's "list" are the ones you can drive. Others keep running untouched; ask us at support@algohand.com to onboard them.
I changed a parameter and the EA restarted
That is by design: MetaTrader has no way to change an EA's inputs without re-applying them, and re-applying means a restart. EAs that pick their own positions up after a restart (by magic number) are marked restart-safe; others get a warning before any change.
7. Removing the agent
In the dashboard, click Disconnect this VPS. The agent stops on its next check-in and removes its local state. Your terminals and EAs are left as they are. To remove the files as well, run on the VPS as Administrator:
schtasks /Delete /TN "TCA Agent" /F; schtasks /Delete /TN "TCA Terminals" /F; Remove-Item -Recurse -Force C:\TCA
AlgoHand