How to Reduce MT4/MT5 CPU Usage on VPS
How to Reduce MT4 / MT5 CPU Usage on VPS (Step-by-Step)
This guide explains the best ways to reduce MetaTrader 4 (MT4) and MetaTrader 5 (MT5) CPU usage on a Windows VPS for stable 24/7 trading and smoother execution.
Table of Contents
- Connect to Your VPS
- Check Which App Is Using CPU
- Quick Test: Disable EAs (Find the Root Cause)
- Optimize MT4/MT5 Settings (Safe)
- Reduce Charts, Symbols & Indicators
- Optimize EAs (Most Important)
- Clean Logs & Data Folder (Safe)
- Windows VPS Optimization
- Split Load Using Multiple Terminals
- When You Must Upgrade VPS
- Troubleshooting
1. Connect to Your VPS
On Windows:
- Press Windows + R
- Type mstsc β Press Enter
- Enter your VPS IP Address
- Click Connect
- Enter Username and Password
On Mac:
- Install Microsoft Remote Desktop from App Store
- Add PC β Enter your VPS IP
- Connect β Enter username/password
2. Check Which App Is Using CPU
First confirm whether CPU usage is coming from MT4/MT5 (terminal.exe / terminal64.exe) or from Windows background processes.
- Press Ctrl + Shift + Esc to open Task Manager
- Click the CPU column to sort by highest usage
- Look for:
- terminal.exe (MT4)
- terminal64.exe (MT5)
- Or any other process using high CPU
Infographic: Common CPU Usage Sources
3. Quick Test: Disable EAs (Find the Root Cause)
This is the fastest way to confirm whether your EA/indicator is causing high CPU.
- Open MT4/MT5
- Temporarily disable:
- MT4: Click AutoTrading (turn it OFF)
- MT5: Click Algo Trading (turn it OFF)
- Wait 2β3 minutes and watch CPU in Task Manager
If CPU drops quickly: your EA/indicator setup is the main cause.
If CPU stays high: check Windows background tasks or VPS resources.
4. Optimize MT4/MT5 Settings (Safe)
These settings reduce CPU usage without changing your strategy logic.
- Go to Tools β Options β Charts
- Set:
- Max bars in chart: 5,000 to 20,000
- Max bars in history: 20,000 to 100,000
- Close unused charts (only keep needed symbols/timeframes)
- In Market Watch, hide symbols you donβt trade
5. Reduce Charts, Symbols & Indicators
Each chart can run indicators and refresh on every tick. Too many charts = high CPU.
- Close unused charts (especially multiple timeframes of the same symbol)
- Remove heavy indicators (dashboards, multi-symbol panels, complex visuals)
- Avoid duplicate indicators doing the same job
- Keep only the indicators your strategy truly needs
6. Optimize EAs (Most Important)
If CPU reduces when AutoTrading/Algo Trading is OFF, focus here.
- Avoid heavy operations on every tick (especially during volatility)
- If your EA has settings like:
- Refresh interval
- Timer
- CPU saver
- Avoid scanning all symbols/timeframes every tick
- Run fewer EA instances (one EA handling multiple symbols is better than many duplicates)
Infographic: EA Optimization Flow
7. Clean Logs & Data Folder (Safe)
Large log folders can slow MT operations and increase background file writes.
- In MT4/MT5, click File β Open Data Folder
- Close MT4/MT5 completely
- Delete old files in:
- Logs
- MQL4\Logs (MT4)
- MQL5\Logs (MT5)
- Reopen MT4/MT5 and re-check CPU
Tip: Keep last 7β14 days of logs if you are troubleshooting an EA issue.
8. Windows VPS Optimization
Windows background activity can steal CPU (especially on low-core VPS plans).
- Set High Performance power plan:
- Control Panel β Power Options β select High performance
- Disable unnecessary startup apps:
- Task Manager β Startup β disable apps you donβt need
- Schedule Windows Updates outside trading hours (to avoid CPU spikes/restarts)
Warning: Donβt disable security features blindly. A malware infection will cause worse CPU usage and higher risk.
9. Split Load Using Multiple Terminals
Running everything inside one MT terminal can overload a single process. Splitting improves stability.
- Install MT4/MT5 in separate folders (example):
- C:\MT4-A
- C:\MT4-B
- Run fewer charts/EAs per terminal
- Result: smoother CPU distribution and fewer freezes
10. When You Must Upgrade VPS
If you optimized everything but CPU stays high, the VPS plan may be underpowered.
- If CPU is constantly 70%β100% with multiple EAs β upgrade to more vCPU
- If you run scalping/high tick strategies β choose higher clock CPU plans
- If you run many terminals β split across 2 VPS or upgrade cores
11. Troubleshooting
Problem: CPU spikes only during volatility
Fix: Reduce per-tick work, remove heavy indicators, reduce charts, consider higher vCPU.
Problem: CPU stays high even with AutoTrading OFF
Fix: Check Task Manager for Windows Update/other processes, reboot VPS, schedule updates properly.
Problem: MT freezes frequently
Fix: Split terminals, clean logs, reduce charts, upgrade CPU if needed.
Quick Support Checklist:
- Ask client to turn OFF AutoTrading/Algo Trading for 3 minutes and report CPU change
- Reduce charts + Market Watch symbols
- Lower Max bars in chart/history
- Remove heavy indicators/dashboards
- Split terminals (multiple installations)
- Clean logs
- Set Windows High Performance power plan
- If still high: upgrade vCPU or split workload across VPS


