Forex Trading Bots: How They Work and What to Check
By the AlgolaneBots research team · Published November 13, 2026 · 6 min read
A forex trading bot is a program that trades currency pairs, such as EUR/USD, by fixed rules. Most are Expert Advisors (EAs): small programs that run inside the MetaTrader 4 or MetaTrader 5 terminal and place orders through your forex broker. They trade a market that is open 24 hours a day, five days a week, usually with leverage, which is why forex bots can lose money much faster than a stock bot.
One thing to be clear about first: AlgolaneBots does not trade currency pairs. Its one MetaTrader strategy trades gold. This guide is an independent explanation of how forex bots work and how to judge one.
How does a forex trading bot work?
A forex bot watches price data for one or more pairs. When its rules are met, it sends an order with a size, a stop-loss (the price where a losing trade is closed) and often a target. Because currencies trade around the clock on weekdays, the bot has to stay running the whole time. People do that by leaving a computer on or by renting a small always-on server, called a VPS.
The bot has no view on interest rates or elections. It reacts to price by rule. Our MT5 Expert Advisor guide walks through installing and running an EA.
Which types of forex bots are there?
| Type | How it trades | When it does well | When it fails |
|---|---|---|---|
| Trend following | Buys strength, sells weakness, with a stop | Long, steady moves | Choppy, sideways markets |
| Breakout | Trades when price leaves a quiet range | Sharp moves after calm | False breakouts |
| Scalping | Many tiny trades for a few pips each | Very tight spreads, fast fills | Any widening of spread or delay |
| Grid | Buys and sells at set steps inside a range | Sideways markets | A strong trend: losses pile up |
| Martingale | Doubles the trade size after each loss | Until it does not | One long losing run empties the account |
| News trading | Trades right after data releases | Rarely, for retail accounts | Spreads jump and fills slip |
Grid and martingale bots deserve a warning. They often show a smooth rising line for months, because they keep adding to losing trades until price comes back. When it does not come back, the whole account can go in a day. A backtest with no losing months is more often a sign of this than of skill. See our guide to grid trading bots.
Why is leverage the main risk?
Forex brokers let you control a large position with a small deposit. Regulators cap this for ordinary customers: in the US the limit is 50 to 1 on major pairs, and in the EU and UK it is 30 to 1. Offshore brokers offer far more.
At 30 to 1, a move of just over 3% against you wipes out the deposit behind that trade. Currencies do not often move 3% in a day, but they do sometimes, and a bot holding several leveraged positions can lose much more than its tests suggested.
Brokers in the EU and UK must publish what share of their retail customers lose money on leveraged products. The figure is usually well over half. A bot does not change those odds on its own. Only sensible sizing does; see position sizing basics.
What does a forex bot really cost?
- The spread on every trade: the gap between the buy and sell price.
- Commission, on some account types.
- Swap, a daily charge or credit for holding a position overnight.
- Slippage, the difference between the price the bot asked for and the price it got.
- A VPS, usually a few dollars to $30 a month.
- The bot itself, from free to over $1,000.
Scalping bots are the most sensitive. A bot aiming for three pips a trade can be turned from a winner to a loser by a half-pip change in spread. Always check that a backtest used realistic spreads, not zero. See why paper trades should include costs and slippage.
How do you check a forex bot before using it?
- What is its style? If the seller will not say whether it is a grid or martingale system, assume it is.
- Does every trade have a stop-loss? A bot with no stops is one bad week from zero.
- What was the worst fall, and when? See max drawdown explained.
- Is there a real-account record? A verified live record of a year or more counts for far more than any backtest.
- Were real spreads and slippage used in testing?
- Can you run it on a demo account first? Every MetaTrader broker offers one free. Use it for weeks, not days.
Also check the broker. A bot is only as safe as the firm holding your money, so use one regulated where you live.
Are free forex bots worth using?
Free EAs are fine for learning how MetaTrader works on a demo account. Be careful with free downloads from unknown sites: a file that runs inside your trading terminal can do anything your account can do. Stick to the platform's own marketplace or code you can read. See free trading bots.
Are forex trading bots legal?
Yes, on your own account, in most countries. What is restricted is who may sell them with promises attached and who may manage other people's money. In the US, forex dealers must be registered, and a bot seller who guarantees profits or takes control of your funds is breaking the rules. See are trading bots legal and our red flags guide.
Does AlgolaneBots offer a forex trading bot?
No. AlgolaneBots does not trade EUR/USD or any other currency pair.
Its closest product is Gold Breakout, which runs as an Expert Advisor in your own MetaTrader 5 terminal and trades gold (XAUUSD) only. It waits for gold to go quiet, then trades a breakout in the direction of the long-term trend, with a stop-loss on every trade and a risk setting of 2%, 3% or 5% per trade. It is not a grid or martingale system.
In a historical backtest (a computer test on past prices) from June 2004 to November 2026, Gold Breakout at 3% risk returned +22.1% a year with a worst fall of 55%, against +11.0% a year and a worst fall of 45% for simply holding gold. Nobody earned these results, and future results will differ. About 41% of its trades were winners, so most trades lose and a few large ones carry the result. Doubling trading costs cuts the yearly result roughly in half. See how to trade gold with a bot.
If your broker offers cTrader instead of MetaTrader, see cTrader algo bots.
Key takeaways
- A forex bot is usually an Expert Advisor in MetaTrader trading currency pairs with leverage.
- Leverage is the main risk. At 30 to 1, a 3% move can erase a trade's deposit.
- Grid and martingale bots look smooth until they fail suddenly.
- Spreads, swaps and slippage decide whether a fast bot makes or loses money.
- Test on a demo account for weeks, and insist on stops, a worst-fall figure and a live record.
- AlgolaneBots does not trade forex. Its MetaTrader strategy trades gold only.
This is general education, not personal advice.
See a MetaTrader strategy on paper
AlgolaneBots's paper account shows Gold Breakout's trades alongside four US stock and ETF strategies, with real prices and costs, free for 90 days with no card needed. Start your paper trial to see how a rule-based strategy with stops behaves.
Where the numbers come from: every strategy figure is from AlgolaneBots's own historical backtests, run on past prices with the method on how we test. Nobody earned them, and future results will differ. General market facts are checked against regulator and company sources. This guide is general information, not personal advice. Read the risk disclosure and how we write our guides.