MT5 (Deriv): Cara Install dan Run Expert Advisor
Expert Advisor (EA) di MetaTrader 5 adalah trading bot fully-automated. Tutorial ini menunjukkan step-by-step cara install EA di MT5 Deriv — dari download platform sampai EA running di chart.
Prerequisites
- Komputer Windows/Mac (MT5 mobile tidak support EA)
- Akun Deriv (demo gratis cukup)
- EA file dalam format
.mq5(source code) atau.ex5(compiled) - 30 menit waktu untuk setup pertama
💡 Belum Punya EA?
Generate EA kamu sendiri dengan AI dalam menit. Lihat tutorial lengkap bikin EA dengan AI untuk code MQL5 siap pakai.
Step 1 — Download MT5 Deriv
Login ke deriv.com
Buka Trader’s Hub setelah login (demo atau real account).
Pilih MT5
Di Trader’s Hub, klik “MT5”. Pilih jenis akun: Standard, Synthetic Indices, atau Financial. Untuk V75 + EA, pilih Synthetic Indices.
Buat MT5 Account
Klik “Add real account” atau “Add demo account”. Catat: Login ID, Password, Server (biasanya “Deriv-Demo” atau “Deriv-Server”).
Download MT5 Desktop
Klik “Download MT5”. Pilih versi sesuai OS (Windows/Mac). Install dengan default settings. ~50 MB.
⚠️ Mac User Notice
MT5 native untuk Mac kadang outdated. Best practice: pakai Parallels Desktop atau VMware Fusion dengan Windows VM untuk MT5 versi terbaru. Atau gunakan WINE (free tapi tricky).
Step 2 — Login ke MT5
Buka MT5 Desktop
Klik shortcut yang dibuat install. Pertama kali launch, akan minta login.
File → Login to Trade Account
Atau Ctrl+O. Masukkan: Login, Password, Server (yang kamu catat dari step sebelumnya).
Verifikasi Connection
Bottom right corner harus show “Connected” dengan green icon. Kalau red, double-check server name (case-sensitive).
Step 3 — Enable Algorithmic Trading
By default, MT5 disable automated trading untuk keamanan. Kamu harus enable manual.
Tools → Options
Atau Ctrl+O. Buka tab “Expert Advisors”.
Centang Settings Ini
✓ Allow algorithmic trading
✓ Allow DLL imports (kalau EA butuh)
✓ Allow WebRequest for listed URL (untuk EA dengan API)
Klik OK.
Toggle “Algo Trading” Button
Di toolbar atas, button “Algo Trading” harus green/active. Klik untuk enable kalau red.
Step 4 — Copy EA File ke MT5
Buka MT5 Data Folder
File → Open Data Folder. Folder Windows Explorer akan terbuka.
Navigate ke MQL5 → Experts
Path lengkap: MQL5\Experts\. Ini tempat semua EA disimpan.
Copy EA File
Paste file .mq5 (source code) atau .ex5 (compiled) ke folder Experts. Bisa dalam subfolder untuk organisasi.
Step 5 — Compile EA (Hanya untuk .mq5)
Kalau EA file kamu adalah .mq5 (source code), harus compile dulu jadi .ex5.
Buka MetaEditor
Di MT5, klik F4 atau Tools → MetaEditor. Aplikasi separate akan launch.
Find EA File
Navigator panel kiri → expand Experts → find file kamu. Double-click untuk open.
Compile (F7)
Tekan F7. Atau klik button “Compile”. Bottom panel show compilation result.
❌ Compile Errors?
Common issues:
• Missing #include files: download include files yang dibutuhkan ke MQL5\Include
• Syntax errors: check Pine Script → MQL5 conversion. AI sering bikin minor mistakes.
• Version mismatch: pastikan MT5 versi terbaru (Help → About)
Step 6 — Attach EA ke Chart
Buka Chart Asset
Market Watch → klik kanan symbol (e.g., Volatility 75 Index) → “Chart Window”. Atau drag symbol ke area chart.
Set Timeframe
Pilih timeframe sesuai EA: M1, M5, M15, H1, dll. Toolbar atas atau Ctrl+number keys.
Drag EA dari Navigator
Navigator panel (Ctrl+N) → Expert Advisors → find kamu punya EA → drag-and-drop ke chart.
Configure EA Settings
Dialog akan pop-up dengan tabs: Common (allow algo trading ✓), Inputs (set parameters), Dependencies. Klik OK.
Verify EA Active
Top-right chart corner harus show: EA name + smiley face (😊). Frown face (☹️) berarti EA stuck atau “Algo Trading” disabled.
Step 7 — Monitor & Manage
Toolbox Panel (Ctrl+T)
Bottom panel dengan tabs:
- Trade: Active positions opened by EA
- History: Closed trades dengan P/L
- Experts: EA logs (initialization, errors, warnings)
- Journal: MT5 system logs
Stop EA
Untuk pause EA tanpa close positions: klik kanan chart → Expert Advisors → Remove. Atau toggle “Algo Trading” button (akan stop semua EAs di semua charts).
Common Issues & Fixes
| Issue | Cause | Fix |
|---|---|---|
| EA tidak open trades | Algo Trading disabled | Enable di toolbar + Options |
| EA error “Trade context busy” | Multiple EAs konflik | Remove EA lain dari chart sama |
| “Invalid stops” | SL/TP terlalu dekat ke harga | Adjust SL/TP ke min. 10 pips |
| “Not enough money” | Lot size besar untuk balance | Reduce lot size atau tambah deposit |
| EA disabled setelah restart | “Allow algo” default disabled | Set di Options jangan auto-disable |
| Smiley sad face | Algo Trading not enabled untuk chart ini | F7 Properties → Common → ✓ Allow algo |
Best Practices
✓ Aturan Sebelum Live Trading
1. Test di demo minimal 30 hari sebelum real account
2. Strategy Tester sebelum live — F6 di MetaEditor, run 1000+ trades historical
3. Start dengan lot size kecil (0.01) di live
4. Monitor 1 minggu pertama intensively
5. Restart EA setelah Sunday market open untuk avoid weekend gaps
6. Disable EA saat news major (NFP, FOMC) — synthetic kurang affected, forex sangat
Setup VPS untuk EA 24/7
EA harus komputer nyala untuk run. Solusi terbaik: VPS (Virtual Private Server).
- Deriv VPS: Free kalau deposit ≥ $500 (~Rp 8 juta)
- ForexVPS: $20-30/bulan, low-latency ke broker
- Contabo VPS: $5-10/bulan, decent untuk EA basic
- AWS EC2: $5/bulan t3.micro, free tier 12 bulan
VPS keep MT5 + EA running 24/7 tanpa perlu PC sendiri nyala terus.
🚀 Setup MT5 dengan demo Deriv (gratis, $10,000 virtual):
Buka Demo Deriv GratisTopik Terkait
- Bikin EA dengan AI (Code Lengkap)
- Deriv Bot — Alternatif Tanpa Coding
- Backtest di TradingView
- Risk Management untuk Bots
