Automated trading bot for MetaTrader 5
An MT5 trading bot places and manages trades inside MetaTrader 5 using a defined strategy. XAUBOT builds the bot for you as a ready-to-install .ex5 file, so you can automate gold, forex, indices and crypto from one terminal without writing code or watching the charts all day.
Order routing on MT5
LiveSignal to filled order, multi-threaded 64-bit routing
What Is MetaTrader 5 (MT5)?
MetaTrader 5, also known as MT5, is a trading platform created by MetaQuotes in 2010. It was developed as the next version of MetaTrader 4 (MT4)
More order types
MT5 supports 6 types of pending orders, compared with 4 in MT4.
21 built-in timeframes
Includes 21 built-in timeframes for more flexible market analysis.
Built-in calendar
Includes a built-in calendar for important economic news.
Multi-asset trading
Supports Forex, stocks, indices, commodities, futures, and crypto.
How does it works – Step by Step
Select a market
Open the Market Watch panel and choose the instrument you want to trade, such as EUR/USD, XAU/USD, Apple shares, or Bitcoin.
Open a chart
Right-click your preferred currency pair and select Chart Window. You can then change the timeframe, add indicators, and use drawing tools for analysis.
Place an order
Attach an MT5 trading bot to your chart and let it manage the trading process automatically for you. Alternatively, select your preferred currency pair, choose your lot size, and set your Stop Loss and Take Profit levels and trade manually.
Review your results
Open the History tab to review your previous trades, including profits and losses. This can help you evaluate your trading approach and make adjustments over time.
MT4 vs MT5: what changes for your bot
XAUBOT supports both, and which one you use usually comes down to your broker, the markets you want to trade, and your hardware.
| Feature | MetaTrader 4 | MetaTrader 5 | Impact on your XAUBOT |
|---|---|---|---|
| Market access | Forex, gold, indices | Forex, gold, indices, stocks, crypto | MT5Multi-asset algorithms inside a single bot instance. |
| Execution & speed | Single-threaded, 32-bit | Multi-threaded, 64-bit | MT5Up to 5× faster order execution in high volatility. |
| Timeframes | 9 standard | 21, including 2m, 3m, 12m | MT5Scalping logic can trigger on custom intervals. |
| Backtesting precision | Standard modelling (control points / M1) | Real-tick data simulation | MT5Up to 99.9% accuracy using real historical spread and ticks. |
| Order management | Hedging only | Hedging and netting | MT5Room for more complex position logic. |
| Programming core | MQL4 — lightweight, stable, simple | MQL5 — object-oriented, high-speed | MT4Lower CPU and RAM use. MT5Supports complex machine-learning logic. |
XAUBOT as your MT5 trading bot
XAUBOT is an automated trading platform that offers MT5 expert advisors (EA), and also provides customisation of trading bots based on trading styles and preferences
Every XAUBOT bot runs on MetaTrader 5
Build your own bot
Set the settings yourself and let XAUBOT compile it into a working bot file.
- ✓Choose themarket, strategy and risk settings that suit how you trade.
- ✓No coding. The builder compiles the strategy for you.
- ✓Download it for MT5 or MT4, whichever platform you already use.
Use the ready-made bots
Choose from the popular ready-made strategies, each supported by verified performance results.
- ✓Download the whole bot files for MT5.
- ✓Each bot is tuned to one market.
- ✓Track records are published on Myfxbook, drawdown included.
Questions?
Answers to the most common questions about MetaTrader 5 and running a bot on it.
Still have questions?
Our team answers via live chat and email — usually within 2 business hours.
Contact support →Looking for the MetaTrader 4 details?
Explore MT4 requirements, timeframes, features, and how XAUBOT supports automated trading on MetaTrader 4
Build a bot for your terminal
Generate an .ex5 file for MT5 or download a ready-made MT5 bot, test it on a demo account, and move to live trading only when you feel ready