⚡ Setup Cluster

MT5 (Deriv): Cara Install dan Run Expert Advisor

Oleh Dan Machado · 10 menit baca

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

1

Login ke deriv.com

Buka Trader’s Hub setelah login (demo atau real account).

2

Pilih MT5

Di Trader’s Hub, klik “MT5”. Pilih jenis akun: Standard, Synthetic Indices, atau Financial. Untuk V75 + EA, pilih Synthetic Indices.

3

Buat MT5 Account

Klik “Add real account” atau “Add demo account”. Catat: Login ID, Password, Server (biasanya “Deriv-Demo” atau “Deriv-Server”).

4

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

1

Buka MT5 Desktop

Klik shortcut yang dibuat install. Pertama kali launch, akan minta login.

2

File → Login to Trade Account

Atau Ctrl+O. Masukkan: Login, Password, Server (yang kamu catat dari step sebelumnya).

3

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.

1

Tools → Options

Atau Ctrl+O. Buka tab “Expert Advisors”.

2

Centang Settings Ini

Allow algorithmic trading
Allow DLL imports (kalau EA butuh)
Allow WebRequest for listed URL (untuk EA dengan API)
Klik OK.

3

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

1

Buka MT5 Data Folder

File → Open Data Folder. Folder Windows Explorer akan terbuka.

2

Navigate ke MQL5 → Experts

Path lengkap: MQL5\Experts\. Ini tempat semua EA disimpan.

3

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.

1

Buka MetaEditor

Di MT5, klik F4 atau Tools → MetaEditor. Aplikasi separate akan launch.

2

Find EA File

Navigator panel kiri → expand Experts → find file kamu. Double-click untuk open.

3

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

1

Buka Chart Asset

Market Watch → klik kanan symbol (e.g., Volatility 75 Index) → “Chart Window”. Atau drag symbol ke area chart.

2

Set Timeframe

Pilih timeframe sesuai EA: M1, M5, M15, H1, dll. Toolbar atas atau Ctrl+number keys.

3

Drag EA dari Navigator

Navigator panel (Ctrl+N) → Expert Advisors → find kamu punya EA → drag-and-drop ke chart.

4

Configure EA Settings

Dialog akan pop-up dengan tabs: Common (allow algo trading ✓), Inputs (set parameters), Dependencies. Klik OK.

5

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

IssueCauseFix
EA tidak open tradesAlgo Trading disabledEnable di toolbar + Options
EA error “Trade context busy”Multiple EAs konflikRemove EA lain dari chart sama
“Invalid stops”SL/TP terlalu dekat ke hargaAdjust SL/TP ke min. 10 pips
“Not enough money”Lot size besar untuk balanceReduce lot size atau tambah deposit
EA disabled setelah restart“Allow algo” default disabledSet di Options jangan auto-disable
Smiley sad faceAlgo Trading not enabled untuk chart iniF7 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 Gratis

Topik Terkait

DM

Dan Machado

Founder IA Trader Pro · MT5 user 7+ tahun

⚠️ Disclaimer: Expert Advisors tidak menjamin profit. Selalu test extensively di demo sebelum live trading. Deriv tidak diregulasi Bappebti Indonesia. Artikel ini mengandung affiliate link Deriv. Disclaimer lengkap.

Similar Posts