How to Reduce MT4/MT5 CPU Usage on VPS

Reduce High CPU use

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

  1. Connect to Your VPS
  2. Check Which App Is Using CPU
  3. Quick Test: Disable EAs (Find the Root Cause)
  4. Optimize MT4/MT5 Settings (Safe)
  5. Reduce Charts, Symbols & Indicators
  6. Optimize EAs (Most Important)
  7. Clean Logs & Data Folder (Safe)
  8. Windows VPS Optimization
  9. Split Load Using Multiple Terminals
  10. When You Must Upgrade VPS
  11. 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

Most common MT4/MT5 CPU reasons Heavy indicators Unoptimized EAs Too many charts Windows updates/background

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
    Increase the interval slightly (example: 100ms β†’ 500ms, or 1s β†’ 2–5s).
  • 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

Do these in order Reduce charts β†’ Remove heavy indicators β†’ Reduce per-tick work β†’ Split terminals

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:

  1. Ask client to turn OFF AutoTrading/Algo Trading for 3 minutes and report CPU change
  2. Reduce charts + Market Watch symbols
  3. Lower Max bars in chart/history
  4. Remove heavy indicators/dashboards
  5. Split terminals (multiple installations)
  6. Clean logs
  7. Set Windows High Performance power plan
  8. If still high: upgrade vCPU or split workload across VPS
HF Forex VPS
0
84