HomeCalculatorBlogContact Buy on WhatsApp
Tutorial 04 May 2026 · 8 min read

How to Attach an EA on MT5 — Complete Step-by-Step Guide 2026

Downloaded an EA but stuck staring at MetaTrader 5? This guide walks you through every single step — from placing the .ex5 file in the correct folder to verifying the bot is running and trading. Includes common error fixes.

What You Need Before Starting

💡 Tip: Always use a cent account with Dude Alpha Gold EA. The bot is calibrated for cent account lot sizes and will not work correctly on standard accounts.

Step-by-Step: Attaching the EA

01
Place the .ex5 file in the correct folder

Open MT5 → Click File in the top menu → Click Open Data Folder. Inside, navigate to: MQL5 → Experts. Copy your .ex5 file into this Experts folder. Do not put it anywhere else.

MT5 Data Folder → MQL5 → Experts → paste DudeAlphaGold.ex5 here
02
Refresh the Navigator panel

In MT5, look at the left sidebar — this is the Navigator. Right-click on Expert Advisors and select Refresh. Your EA should now appear in the list under Expert Advisors.

03
Open XAUUSD chart on M1

In MT5, go to File → New Chart or find XAUUSD in the Market Watch panel (Ctrl+M). Open a new XAUUSD chart. Set the timeframe to M1 (1 minute).

04
Drag the EA onto the chart

From the Navigator panel, find your EA under Expert Advisors. Double-click it or drag it onto the XAUUSD M1 chart. A settings window will open.

05
Load your setfile

In the EA settings window, click the Inputs tab. At the bottom, click Load and select the .set file provided by Trading Dude. This applies all the correct parameters automatically.

06
Enable "Allow live trading"

In the settings window, click the Common tab. Make sure "Allow live trading" is ticked. Also tick "Allow DLL imports" if prompted. Click OK.

07
Enable AutoTrading in MT5

Look at the top toolbar in MT5 — find the AutoTrading button. It should be green and say "AutoTrading". If it's grey/red, click it once to enable it. Without this, no EA can place trades.

08
Verify the EA is running

Look at the top-right corner of your XAUUSD chart. You should see the EA name with a smiley face 😊 icon. This means the EA is active. If you see a sad face 😞, something is wrong — check the steps below.


Common Errors & Fixes

❌ Sad face on chart (EA not running)

Most common cause: AutoTrading is disabled. Click the AutoTrading button in the toolbar. Also check that "Allow live trading" is enabled in the EA's Common settings.

❌ EA not appearing in Navigator

The file is in the wrong folder. Make sure the .ex5 file is inside MQL5 → Experts, not in MQL5 directly or in the Indicators folder. Refresh the Navigator after moving it.

❌ "Trade context busy" error

MT5 is already processing a trade. Wait a few seconds and the EA will retry automatically. This is normal during high-volatility periods like NFP or news events.

❌ License error / account not authorized

The EA license is tied to your MT5 account number. Make sure you are logged into the exact account number you sent to Trading Dude. If you changed accounts, contact us on WhatsApp for a license update.

❌ Wrong lot sizes trading

Make sure you loaded the correct setfile. On a cent account, lots appear as 0.01 but represent micro positions. Do not change the lot settings without recalculating risk first — use our Grid Risk Calculator.


Running on a VPS (Recommended)

To keep the bot running 24/7 without leaving your PC on, you need a VPS (Virtual Private Server). This is a remote computer that stays on permanently.

Without a VPS, the bot only trades when your computer is on and MT5 is open. You will miss trades overnight and during weekends.
Get Dude Alpha Gold EA

Ready to run the bot on your MT5 cent account?

Setup support included with every purchase — we walk you through it on WhatsApp.

💬 Buy on WhatsApp