MetaTrader 5 · Expert Advisor · Deriv

Cara Install dan Run Expert Advisor di MT5 Deriv

Penulis: Tim Editorial · Diperbarui: Mei 2026 · Waktu baca: 15 menit

📌 Yang Anda akan pelajari

  • Cara install Expert Advisor (EA) di MetaTrader 5 – step by step
  • Setup spesifik untuk akun Deriv MT5
  • Mengelola permissions: AutoTrading, DLLs, allowed URLs
  • Backtest EA di Strategy Tester dengan data historis
  • Common errors dan cara fix

Apa itu Expert Advisor (EA)?

Expert Advisor (EA) adalah program otomatis yang dapat trade di MetaTrader 4 atau 5. Ditulis dalam MQL4 (MT4) atau MQL5 (MT5).

Yang dapat dilakukan EA:

  • Otomatis eksekusi trades berdasarkan signal indicator
  • Manage open positions dengan trailing stops
  • Risk management berdasarkan account balance
  • Send notifications via email/push notification
  • Backtest dengan data historis di Strategy Tester

EA file types:

  • .mq5: Source code MQL5 (editable)
  • .ex5: Compiled binary (executable di MT5)
  • .mq4 / .ex4: Same untuk MetaTrader 4

Untuk Deriv, gunakan MetaTrader 5 (.mq5/.ex5 files).

Setup MT5 untuk akun Deriv

1

Download MetaTrader 5

Pergi ke Deriv.com → Trader’s Hub → MT5. Atau langsung dari metatrader5.com.

2

Install MT5

Run installer, follow wizard. Available untuk Windows, Mac (via wrapper), Linux (via Wine), iOS, Android.

3

Create akun Deriv MT5

Di Deriv dashboard:

  • MT5 Demo: Practice account dengan $10.000 virtual
  • MT5 Synthetic: Real money untuk synthetic indices
  • MT5 Financial: Real money untuk forex spot

Anda akan dapat: Login number, Password, Server name.

4

Login di MT5 desktop app

File → Login to Trade Account → Masukkan credentials Deriv.

Install EA – 3 metode

Method 1: Drag & Drop (Easiest)

1

Di MT5: File → Open Data Folder

2

Navigate ke MQL5 → Experts folder

3

Drag & drop file .ex5 ke folder Experts

4

Di MT5: Refresh di Navigator panel (kanan)

5

EA akan muncul di Navigator → Expert Advisors

Method 2: MQL5 Market (Built-in)

  • Di MT5: Tools → Options → Community → Login MQL5
  • Browse market: View → Market
  • Pilih EA, klik Buy/Rent/Free
  • EA otomatis di-install

Method 3: Compile sendiri

  • Buka MT5 MetaEditor (F4)
  • New → Expert Advisor
  • Paste source code MQL5
  • Compile (F7)
  • EA akan muncul di Navigator setelah compile success

Configure EA permissions

EA tidak akan run tanpa permissions yang tepat:

Global settings (MT5):

  1. Tools → Options → Expert Advisors tab
  2. Centang: Allow algorithmic trading
  3. Centang: Allow DLL imports (jika EA butuh)
  4. Centang: Allow WebRequest for listed URL (jika EA pakai API external)
  5. Tambah URLs yang dibutuhkan EA

Per-EA settings:

  1. Drag EA ke chart
  2. Dialog akan muncul
  3. Tab Common: Centang Allow Algo Trading
  4. Tab Inputs: Configure parameters EA
  5. Tab Dependencies: Allow DLLs jika diminta
  6. Klik OK

AutoTrading button (toolbar):

Tombol “AutoTrading” di toolbar harus HIJAU. Jika merah, EA tidak akan execute trades.

💡 Verify EA running

Di pojok kanan atas chart, harus muncul:

  • Nama EA
  • Smiley face 😊 hijau (EA aktif)
  • Smiley face 😞 kuning (EA loaded tapi AutoTrading off)
  • X merah (error)

Backtest EA sebelum live

Strategy Tester (built-in MT5):

1

Buka Strategy Tester

View → Strategy Tester (Ctrl+R)

2

Configure

  • Expert: Pilih EA Anda
  • Symbol: EUR/USD atau V75 untuk Deriv
  • Period: Last 6-12 months minimum
  • Modeling: “Every tick based on real ticks”
  • Deposit: $10.000 default
3

Run backtest

Klik Start. Progress bar akan show. Backtest 1 tahun mungkin 5-30 menit tergantung complexity.

4

Review hasil

Tabs:

  • Settings: Konfigurasi yang digunakan
  • Results: Setiap trade detail
  • Graph: Equity curve
  • Report: Statistik comprehensive
  • Journal: Log dan errors

Key metrics untuk dilihat:

  • Net Profit: Total P/L
  • Profit Factor: Target >1.5
  • Max Drawdown: Target <25%
  • Win Rate: Tergantung strategy (35-65%)
  • Average Trade: Harus positive

Run EA di live account

Checklist sebelum live:

  • ✓ EA backtest minimum 1 tahun dengan profitable results
  • ✓ Demo testing minimum 30 hari
  • ✓ Risk per trade settings konservatif (1% maksimum)
  • ✓ Stop loss universal di setiap trade
  • ✓ Max concurrent positions limit
  • ✓ Daily loss limit (e.g., 3%)

Live deployment:

1

Switch ke real account

File → Login to Trade Account → Use real Deriv MT5 credentials.

2

Start dengan modal kecil

Walaupun backtest bagus, real execution dapat berbeda. Mulai dengan 10-20% dari modal Anda.

3

Run EA dengan parameter konservatif

Lot size: 0.01-0.05 untuk start. Scale up setelah 1-2 bulan profitable.

4

Monitor harian (terutama minggu pertama)

Watch journal untuk errors. Verify trades execute correctly.

VPS untuk 24/7 operation:

Untuk EA yang trade Asian/London/NY sessions, Anda butuh komputer 24/7. VPS recommended:

  • MT5 VPS hosting: $10-20/bulan (provided by MQL5)
  • DigitalOcean: $6/bulan untuk Windows droplet
  • Contabo: $5-10/bulan dengan specs better

Common errors dan solutions

ErrorPenyebabSolution
“AutoTrading disabled”Button AutoTrading merahKlik AutoTrading button di toolbar (jadi hijau)
“Trade is disabled”Account not allowing tradingCek Deriv MT5 setting, verify funded account
“Invalid stops”SL/TP terlalu dekat ke marketIncrease distance (broker minimum stop level)
“Not enough money”Margin tidak cukupReduce lot size atau deposit lebih
“Off quotes”Slippage atau price gapIncrease max slippage in EA settings
EA tidak compileMQL5 syntax errorCek MetaEditor untuk error details
Smiley face 😞 kuningAutoTrading global offTools → Options → Expert Advisors → Allow algo trading

FAQ

Bisakah saya jalankan multiple EAs simultan?

Ya, di chart yang berbeda. Setiap EA dapat trade asset berbeda. Be careful dengan margin total dan correlation risk.

EA gratis vs berbayar – mana yang lebih baik?

EA berbayar tidak otomatis lebih baik. Banyak EA “$500 lifetime” adalah scam. EA gratis di MQL5 Market sering cukup. Lebih baik: bayar untuk ChatGPT/Claude dan custom-build EA Anda sendiri.

EA bekerja di Deriv MT5 sama dengan broker lain?

EA MT5 universal – bekerja di any MT5 broker. Tetapi asset names berbeda. EA yang ditulis untuk EUR/USD bekerja di Exness, IC Markets, dan Deriv MT5 dengan same code.

⚠️ Disclaimer: EA otomatisasi trading tetapi tidak menjamin profit. 70-89% trader retail kehilangan uang. Selalu backtest, paper trade, dan gunakan strict risk management.

Similar Posts