PipWardenStart free

Forex trading bots: an honest guide to what they can and cannot do

What a forex trading bot does on MT5, what it cannot do, why profit claims are a red flag, and 8 risk-control questions to ask before you install one.

Key takeaways

  • A forex trading bot places and manages trades on your own broker account by following fixed rules. On MT5 it is called an Expert Advisor.
  • A bot applies its rules, such as a sizing rule, a daily loss limit or a news pause, the same way every time. It cannot predict price or add an edge its rules do not have.
  • “Does it work?” should mean “does it follow its rules reliably?”. Results depend on the strategy and the market, and bots lose money too.
  • Before installing any bot, check for a stop on every trade, settable risk, a daily loss limit, no martingale or grid, a kill switch and a log of why it traded or skipped.
  • An MT5 bot needs the desktop terminal, usually on a Windows PC or VPS, running 24 hours a day on weekdays, at a broker that allows automated trading. It cannot run in the MT5 phone app.
On this page
  1. What a forex trading bot is
  2. How a bot places a trade on MT5
  3. What a bot enforces more consistently than a person
  4. What a bot cannot do
  5. “Do forex bots work?” is the wrong question
  6. Types of bots and their risk profiles
  7. Bot vs copy trading vs signals
  8. What you need to run one
  9. 8 risk-control questions to ask before you install any bot
  10. Where PipWarden fits

A forex trading bot is software that places and manages trades on your own broker account by following fixed rules, with nobody clicking the buttons. It applies those rules faster and more consistently than a person, but it cannot predict price or add an edge the rules do not already have.

Below: how a bot trades on MetaTrader 5 (MT5), its limits, the main types, and eight risk-control questions to ask before you install one. Fraud signs, such as a vendor who wants your deposit, have their own checklist.

What a forex trading bot is

A forex trading bot turns a set of rules into orders at your broker: when to enter, how large, where the stop goes, when to exit. It runs them on every closed candle or price update, with no person in the loop. It is one form of algorithmic trading.

On MT5 the bot is called an Expert Advisor (EA). MetaQuotes describes Expert Advisors as “mechanical trading systems” that automate analysis and trading (MT5 help). An EA is written in MQL5 and attached to a chart in the desktop terminal. It trades only while the Algo Trading toolbar button is on (its counterpart is Allow algorithmic trading in Tools → Options → Expert Advisors) and Allow Algo Trading is ticked on the EA’s Common tab (button guide).

Other forms: cBots in cTrader, written in C# or Python (cTrader help); scripts that use a platform’s API, such as MetaQuotes’ Python package for MT5; and hosted services that compute signals on a server and pass orders to a small EA in your terminal. In each form, the trades happen in your own account at your broker.

How a bot places a trade on MT5

A well-built bot runs roughly this pipeline on every signal, and nothing reaches the broker until the risk checks pass.

closed candle
  → strategy rules          no setup?        log "no trade"
  → risk checks             any check fails? log the reason
  → position size           from risk % and stop distance
  → order with a stop loss  sent to your broker
  → management              breakeven, trailing stop, exit
  → log                     what happened, and why
  1. Signal. The strategy returns buy, sell or nothing. Most of the time, nothing.
  2. Risk checks. Is the spread too wide? Is a high-impact release due, calling for a news blackout? Has the daily loss limit been reached? Too many open positions, too little free margin? Any failed check ends it here.
  3. Size. Lot size from the risk per trade and the stop distance, the same arithmetic as the position size calculator.
  4. Order. In MT5’s trade request the stop loss is its own field, sl (MQL5 reference). An order carries a stop from the moment it opens only if the bot’s code fills that field in.
  5. Management. Stop loss and take profit sit on the broker’s server, but a trailing stop “is executed in the trading platform rather than on the server”, so it “will not work” while the platform is off (MT5 help).

What a bot enforces more consistently than a person

Automated forex trading is about consistency, not skill: a bot applies the same rules every time. That matters most for the rules people break under pressure, provided the bot has them:

  • The same sizing rule on every trade. After three losses, a person may double up to win it back, or halve the size out of nerves. A bot uses the same percentage.
  • A daily loss limit it does not argue with. No “one more trade to get back to flat”.
  • Standing aside. It skips entries around scheduled releases and when the spread is too wide, including at the daily rollover.
  • Running around the clock. Forex trades 24 hours a day on weekdays (see the market hours), and a bot on a machine that stays on does not sleep.
  • A log of every decision, instead of a memory of it.

None of this improves results by itself. It makes the results the product of the rules you chose, instead of the rules plus your mood that day.

What a bot cannot do

Predict price. The US Commodity Futures Trading Commission (CFTC) warns in its advisory on trading bots that “AI technology can’t predict the future or sudden market changes” (CFTC). The same holds for a bot with no AI at all.

Create an edge. If the rules lose over time, a bot loses on schedule. A good backtest is not proof: rules tuned to fit past data (overfitting) often fail on new data.

Avoid losing streaks. Every strategy has them. The risk per trade decides how deep they cut.

Promise the fill price. A stop closes the position once price reaches it, at the next price the broker can fill. In a fast market or across a weekend gap that price can be worse than the stop (slippage), so the loss can be larger than planned.

Remove risk. It stops when its PC sleeps and follows wrong settings as faithfully as right ones.

“Do forex bots work?” is the wrong question

“Works” has two meanings, and marketing often blurs them.

The mechanical meaning: does the bot follow its rules reliably? Right size, a stop on every order, limits respected. You can test that on a demo account.

The financial meaning: do the rules gain more than they lose, after costs? That depends on the strategy and the market, it changes over time, and no one can promise it. A vendor who answers with a fixed monthly percentage is telling you about the vendor, not the market. A quoted win rate or a run of “no losing months” describes a past period that the seller chose.

For context, when the European Securities and Markets Authority (ESMA) agreed its restrictions on CFDs for retail clients in March 2018, it cited national regulators’ analyses showing that “74-89% of retail accounts typically lose money” (ESMA). A bot is a way of executing a strategy, not an exemption from that figure. Why most forex traders lose money covers the reasons.

Types of bots and their risk profiles

Type How it trades Main risk
Trend and momentum Trades in the direction of an established move, with a stop Losing streaks in choppy, sideways markets
Grid Stacks orders at fixed intervals, often without stops Open losses pile up when price keeps going one way
Martingale Raises the size after each loss to win it back One long losing streak can take most of the account
Scalper or high-frequency Many short trades for a few pips each Spread, commission and execution; broker and prop-firm limits
“AI” bot A model decides or filters trades Claims that go well beyond what the model does

Martingale looks harmless until you do the arithmetic.

Grid bots hide a similar problem behind a smooth balance: the closed trades are small winners, while the losers stay open and show only in the equity. A strong trend turns them into one large loss.

Scalpers fight costs: with a 5-pip target and a 1-pip spread, a fifth of the target is gone at entry. Some prop firms also restrict EA behaviour. As of October 2026, FTMO’s forbidden trading practices page bans EAs that make an account “hyperactive”, which it defines as more than 2,000 server requests a day for opening, modifying or closing trades and pending orders. Rules differ by firm and change often; see prop firm EA rules.

“AI” bots range from real machine-learning models to ordinary rules with a new label; see what the AI in a forex bot can and cannot do.

Bot vs copy trading vs signals

Trading bot (EA) Copy trading Signal service
Who decides Rules in the software Another trader Another trader suggests; you place the order
Where the money sits Your broker account Your broker account Your broker account
Can you see why Only if the bot logs its reasons Usually just the trades Sometimes a short note
Risk controls you keep What the bot lets you set, plus switching it off Size scaling and an equity stop, depending on the platform All of them, since you place each order
If the provider disappears A standalone EA keeps running; a server-linked one should stop opening trades No new copied trades; positions already copied stay open for you to manage No new signals; open trades are yours

The “where the money sits” row should read the same in every column. If it does not, you need the scam checklist, not a comparison.

MT5 has copy trading built in. Under Tools → Options → Signals, subscribers set how much of the deposit to use and a “Stop if equity is less than” level, which ends copying and closes all positions once equity falls below it. Cancelling does not close copied positions: “You should manage all such positions by yourself” (MT5 help).

What you need to run one

  • The MT5 desktop terminal, usually on a Windows PC or VPS. The mobile and web apps cannot run Expert Advisors (details). The terminal must stay open while the market is, so many people use a forex VPS (choosing one, installing an EA).
  • A broker that allows EAs on your account type. Some accounts have automated trading switched off at the server.
  • A demo account to compare what the bot does with what its description says. See testing an EA on a demo account.
  • Time to monitor. Automated does not mean unattended.
  • Enough money for the minimum lot. The smallest order your broker accepts, the minimum lot size, is often 0.01 lot, and it sets a floor on the risk of every trade.

8 risk-control questions to ask before you install any bot

Ask them of any forex robot, including ours.

  1. Is there a stop loss on every trade, from the moment it opens? A bot that closes losers itself cannot do so while its terminal is offline; a stop at the broker can.
  2. Can you set the risk per trade? A percentage of the account, with the lot size calculated from the stop, not a fixed lot.
  3. Is there a daily loss limit, and what happens when it is reached? See how to set a daily loss limit.
  4. Does it use martingale or grid? On a demo, watch for sizes that grow after losses or positions stacked on one pair.
  5. What does it do around high-impact news? Releases such as NFP can move price sharply and widen spreads. See trading around high-impact news.
  6. Is there a kill switch? One action that stops the bot and closes its positions, reachable from your phone.
  7. Can you see why it skipped a trade? A log of skipped signals and their reasons is how you tell a cautious bot from a broken one.
  8. Can you test it on a demo account before paying? If not, you are asked to trust claims you cannot check.

Where PipWarden fits

PipWarden is our forex bot for MT5. Here are its answers to the same eight questions; where you can change a setting, the default is shown:

Question PipWarden
Stop on every trade Yes. Every order is sent with an ATR-based stop loss and a take profit attached
Risk per trade You set it; 1% by default. Lot size comes from the risk and the stop distance, capped by your maximum lot
Daily loss limit 5% by default. Once reached, no new trades until the next day (UTC); open positions are still managed
Martingale or grid No. Size comes from your risk per trade every time, and by default there is one position per pair
News By default, new entries pause from 60 minutes before to 30 minutes after high-impact releases for the currencies involved
Kill switch One click in the dashboard, from your phone too. It cancels pending entries and closes every position the bot opened; your manual trades are left alone
Why it skipped Every closed candle it evaluates is logged as Taken, Blocked or No trade, with a reason such as “Spread too wide”, “High-impact news” or “Risk below minimum lot”
Demo first Free trial, no card; start on a demo account

The strategy is rule-based trend and momentum: EMA 50/200 for trend, ADX for strength, RSI for momentum, a MACD cross or a 50 EMA pullback for entry, and an ATR filter that skips markets too quiet or too wild. Like any trend-following system, it has losing streaks and tends to struggle in sideways markets. An optional AI filter, off by default, can only veto a trade, never open or enlarge one; the features page shows whether it is available yet.

The strategy and the risk checks run on PipWarden’s servers. The EA runs in MT5 on your Windows PC or VPS, at a broker that allows EAs on your account. Right before opening a trade it re-checks your position cap and, if you set one, your spread limit for the pair, with live data. It stops opening new trades if it loses contact with the servers for a few minutes. It connects with a token, not your MT5 password, and cannot move money in or out of your account. It does not run on a phone; the phone is for Telegram alerts and the kill switch. How it works shows the setup.

Limits are checked before every order. Open trades still run to their stops, and prices can gap past them.

Forex and CFD trading is high risk. You can lose money, with or without a bot. Not financial advice.

Frequently asked questions

Do forex trading bots actually work?
A bot works if it follows its rules reliably: the right size, a stop on every order, its limits respected. Whether those rules gain or lose money over time depends on the strategy, the market and the costs, and nobody can promise it. Most retail CFD accounts lose money, and running a bot does not exempt an account from that.
Is a forex bot the same as an Expert Advisor?
On MetaTrader 5, yes: Expert Advisor (EA) is MT5’s name for a trading bot, a program written in MQL5 that runs on a chart in the desktop terminal. Other platforms have their own versions, such as cBots in cTrader, and some bots send orders through an API instead. See Expert Advisor.
Can a trading bot lose money?
Yes. Every strategy has losing trades and losing streaks, and a bot takes them without hesitation. Stops can also fill at a worse price when the market gaps or moves fast. Risk limits set how much each trade risks at its stop and when new trades stop for the day; they do not remove the risk.
How much money do I need to run a forex bot?
It depends on your broker’s minimum lot and the bot’s stop distance, not on a fixed amount. On EURUSD in a USD account, 0.01 lot moves $0.10 per pip, so a 25-pip stop risks $2.50: 2.5% of a $100 account, 0.5% of a $500 one. Add a VPS if your PC cannot stay on. See lot size for a $100 account.
What is the difference between a trading bot and copy trading?
A bot runs a set of rules on your account; copy trading repeats another trader’s positions on your account. With a bot you can know the rules and, with a good one, read the reason for each decision. With copy trading you usually see only the trades, and when you stop copying, the open positions are yours to manage.

Educational content, not financial advice. Forex and CFDs are traded on margin and are high risk: you can lose money, and more than your deposit with some brokers. Examples use made-up numbers and show no real results. Read the risk disclosure.