tocOn this page 7 sections
A Telegram signal copier has two parts. A desktop app signs in to your Telegram account and reads signal messages, and an Expert Advisor inside MT4 or MT5 places the trades. On a Windows VPS, both run in the same signed-in RDP session. That session has to start again by itself after a reboot, and the copier must be tested on a demo account before it touches real money. The rest of this guide covers each of those steps over RDP and PowerShell.
How the pieces fit together
Most copiers sign in as your own Telegram user account, not as a bot. This matters because a bot cannot read a channel unless the channel's owner adds it. The app watches the channels you choose and turns messages such as "BUY XAUUSD 2385 SL 2378 TP 2392" into order instructions. It then passes those instructions to a companion EA attached to a chart in your terminal, usually through files in the terminal's data folder or a local socket. Every connection goes out from the VPS, so you don't need to open any inbound firewall ports.
Step 1: Prepare the terminal
- Install MT4 or MT5 from your broker and sign in to a demo account first.
- Open File > Open Data Folder and copy the copier's EA into
MQL4\Experts(MT4) orMQL5\Experts(MT5). If the vendor ships DLLs, put them inMQL4\LibrariesorMQL5\Libraries. Restart the terminal or refresh the Navigator. - Go to Tools > Options > Expert Advisors and enable algorithmic trading. Turn on Allow DLL imports only if the vendor's documentation says the EA needs it. If the EA talks to a web endpoint, add that exact URL under Allow WebRequest for listed URL.
- Attach the EA to one chart, for example EURUSD M1. It manages every symbol from there. Check that the toolbar's AutoTrading (MT4) or Algo Trading (MT5) button is green and that the chart shows the smiley or active-EA icon.
If trades still don't appear, work through fixing AutoTrading and live trading on a VPS before you blame the copier.
Step 2: Sign in to Telegram safely
Install the copier app in its own folder, such as C:\Copier, not under Program Files. That way it can write its session and log files without asking for elevation. When you sign in, Telegram sends a code to your phone app. Enter it, then open Settings > Devices on your phone and confirm the new session is listed.
- Turn on Two-Step Verification in Telegram before you sign in on the VPS.
- The session file the copier saves works like a full login to your Telegram account. Lock the folder down so only your user, SYSTEM and Administrators can read it:
icacls "C:\Copier" /inheritance:r /grant:r "${env:USERNAME}:(OI)(CI)F" "SYSTEM:(OI)(CI)F" "Administrators:(OI)(CI)F"
If you want to keep the copier away from your personal chats, sign it in with a separate Telegram account that only joins the signal channels.
Step 3: Configure parsing and risk
Most copying mistakes come from parsing, not from the network. Check these settings in the copier app:
- Symbol mapping: map the provider's names to your broker's, for example
GOLDorXAUUSDtoXAUUSD.m. Open Market Watch, right-click and choose Show All to see the exact names and suffixes. - Lot sizing: choose a fixed lot or a percentage risk based on the SL distance. Set a maximum lot size as a hard cap.
- Multiple TPs: decide whether TP1/TP2/TP3 should open separate positions or close one position in parts.
- Follow-up messages: enable handling for edits, "move SL to entry", "close half" and replies to the original signal, if the copier supports them.
- Stale signals: set a maximum signal age (for example 60 seconds) and a maximum price deviation. That way a backlog of messages doesn't fire all at once after a restart.
Because the signal-age filter compares timestamps, the VPS clock needs to be correct. Check and resync it with:
w32tm /query /status
w32tm /resync
Run the copier on demo for at least a week. Compare each Telegram message with the trade in the terminal's Experts and Journal tabs.
Step 4: Keep it running 24/7
The copier and the terminal are desktop apps, so they need a signed-in session. When you finish working, close the RDP window instead of choosing Sign out. Closing the window disconnects you but leaves the session and your apps running. To start the copier automatically each time you sign in, with a delay so the terminal is up first:
$action = New-ScheduledTaskAction -Execute "C:\Copier\Copier.exe" -WorkingDirectory "C:\Copier"
$trigger = New-ScheduledTaskTrigger -AtLogOn -User $env:USERNAME
$trigger.Delay = 'PT60S'
Register-ScheduledTask -TaskName "TelegramCopier" -Action $action -Trigger $trigger
Change the executable name to match your copier. Create a similar task for terminal64.exe (MT5) or terminal.exe (MT4) with no delay. After a Windows Update reboot, nothing signs in until a session exists. Set up automatic sign-in and schedule updates as described in auto-restarting MT4 and MT5 after update reboots.
For a quick health check from PowerShell:
Get-Process Copier, terminal64 -ErrorAction SilentlyContinue | Select-Object Name, Id, StartTime
If either process is missing, or its start time is later than you expect, check the copier's log folder and the terminal's Logs folder for that day.
Choosing the VPS
Delay comes from two hops: Telegram to the VPS, then the VPS to the broker. Choose a data center close to your broker's trade server. That second hop is the one that affects slippage. For location and plan options, see our Windows VPS for forex trading (MT4 and MT5) page.
FAQ
Can I run the copier as a Windows service instead?
Usually not. MT4 and MT5 are GUI apps that need an interactive session, and most copiers expect the terminal to be running on the same desktop. Use automatic sign-in plus logon tasks instead.
Will Telegram sign me out for logging in from a data center?
Signing in from a server IP is normal. Keep the session stable: don't sign in from many new places at once, keep two-step verification on, and don't end the VPS session from the Devices list on your phone.
Can one copier feed several terminals?
Many copiers can, with one EA instance per terminal. Run each terminal from its own folder in portable mode so their data folders don't overlap.
Run this on your own Windows VPS
Get a Windows VPS from WindowsVPS in about 60 seconds, with full Administrator access over RDP, NVMe storage and the Windows license included.
Written by the WindowsVPS Team
We run Windows Server VPS hosting and write these guides from the same setups our customers use: RDP, PowerShell, trading terminals and always-on bots. Questions about a guide? Contact us.