Enable Algo Trading in MT5: Button and Options
Compartir
To enable algo trading in MT5, switch on the Algo Trading button in the toolbar (or press Ctrl+E), make sure algorithmic trading is allowed under Tools > Options > Expert Advisors, and tick Allow Algo Trading in the Common tab of the Expert Advisor's own properties. All three must agree, because the toolbar button overrides everything else. This guide walks through each switch, explains the extra options on that settings tab, and shows how to check that an EA is really allowed to trade.

Key takeaways
- There are three levels: the global toolbar button, the platform options, and the per-EA checkbox. An EA trades only when all of them allow it.
- Older MT5 builds and the MetaQuotes help call the same switch AutoTrading; newer builds label it Algo Trading.
- The icon in the top-right corner of the chart tells you whether that EA may trade.
- Some options silently switch algo trading off again, for example when you change account or profile.
What does the Algo Trading button in MT5 do?
The Algo Trading button in the standard toolbar is the master switch for automated trading in the whole terminal. When it is on, the icon shows a green play symbol; when it is off, it shows a red stop symbol. According to the official MetaTrader 5 help on Expert Advisors, turning it off disables automated trading for every EA, even those you enabled individually.
Two details catch people out. First, the button does not stop EAs from running; they still receive ticks, draw objects and print messages. It only blocks their trading operations. Second, the default MT5 hotkey Ctrl+E toggles the same switch. Press it by accident and every robot on every chart stops trading, which is why it is worth knowing. Our list of MetaTrader 5 keyboard shortcuts covers the other defaults.
How do you enable algo trading in MT5 step by step?
Step 1: Turn on the toolbar button
- Find Algo Trading in the standard toolbar at the top of the terminal. If the toolbar is hidden, enable it under View > Toolbars > Standard.
- Click it once (or press Ctrl+E) so the icon turns green.
Step 2: Check the platform options
- Open Tools > Options (shortcut Ctrl+O) and select the Expert Advisors tab.
- Make sure the option to allow algorithmic trading is ticked. It mirrors the toolbar button.
- Review the "disable when..." options described in the next section and untick any that keep switching trading off in your workflow.
- Click OK.
Step 3: Allow trading for the EA itself
- Drag the Expert Advisor from the Navigator (Ctrl+N) onto a chart, or double-click it.
- In the properties window, open the Common tab.
- Tick Allow Algo Trading (called Allow Auto Trading in older builds).
- Click OK. For an EA already on the chart, press F7 to reopen its properties.
If you have not installed your Expert Advisor yet, start with our guide on how to install an EA in MT5, which covers the Experts folder and refreshing the Navigator.

What do the Expert Advisors options in MT5 mean?
The Expert Advisors tab in Tools > Options holds several safety switches. The exact wording varies slightly between builds; the MetaTrader 5 platform settings help describes each one.
| Option | What it does | When to change it |
|---|---|---|
| Allow algorithmic trading | Global on/off, same as the toolbar button | Keep on when EAs should trade |
| Disable when the account has been changed | Stops EA trading after you switch accounts | Leave on; it prevents a demo EA trading live |
| Disable when the profile has been changed | Stops EAs in a profile from trading after a switch | Untick if you swap profiles often and trust them |
| Disable when the chart symbol or period has been changed | Stops the EA on a chart whose symbol or timeframe changes | Leave on unless the EA is built for it |
| Disable algorithmic trading via external Python API | Blocks orders sent by Python scripts | Untick only if you trade through Python |
| Allow DLL imports | Lets programs call external DLL files | Only for EAs from trusted sources that need it |
| Allow WebRequest for listed URL | Lets programs contact the web addresses you list | When an EA needs a server, such as a license check |
The account-change option deserves special mention. It is the most common reason traders find algo trading "randomly" switched off: they logged in to a different account, and MT5 did exactly what it was told. Simply enable algo trading in MT5 again after you have checked that the EA should run on the new account.
How do you know algo trading is really enabled?
After you enable algo trading in MT5, look at three places:
- The toolbar: the Algo Trading icon is green, not red.
- The chart: the EA's name and a small cap icon appear in the top-right corner. A colored (blue) cap means the EA may trade; a grey cap means trading is blocked for it. Hover over the icon to see a tooltip.
- The Toolbox: open Ctrl+T and check the Experts tab for messages from the EA and the Journal tab for lines such as "automated trading is enabled" or "disabled".
If an EA still does not open trades, the Journal usually shows the reason. A rejected order with "AutoTrading disabled by client terminal" (code 10027) points back to the switches above; "AutoTrading disabled by server" (code 10026) means the broker does not allow automated trading on that account, which you cannot fix from the terminal.
Can you enable algo trading in MT5 on Mac or mobile?
On a Mac, MT5 runs with the same interface, so the button, the Options tab and the Common tab are identical; see our guide to using MetaTrader 5 on a Mac for the installation options. The MT5 mobile apps for iPhone and Android do not run Expert Advisors at all, so there is no algo trading switch there. To keep an EA running while you are away, the desktop terminal (or a VPS) has to stay on and connected.
Why does the KT Pad add-on need algo trading enabled?
The KT Pad Mini and PRO send Shift+Letter keystrokes, and on MetaTrader 5 a small Expert Advisor from our downloads page turns them into orders and draws the HUD on the chart. Because that add-on is an EA, MT5 treats it like any other robot: it only places, closes or modifies trades when Algo Trading is on in the toolbar and allowed on its chart. The add-on also checks its license online, so Allow WebRequest for listed URL must be enabled as shown in the MT5 installation video linked from the downloads page.
If the HUD appears but pressing BUY does nothing, you probably still need to enable algo trading in MT5: check the toolbar button first. Remember that the pad acts on the chart that has focus, and that the EA works on whichever symbol that chart shows, in both netting and hedging accounts.

Three switches, one result
You can enable algo trading in MT5 quickly once you know there are three layers: the toolbar button, the Expert Advisors options and the EA's Common tab. Check the chart icon and the Journal whenever something does not trade. If you would rather control your trades from labeled physical keys while an add-on handles the orders, see the KT Pad Mini and PRO.
FAQ
Where is the Algo Trading button in MT5?
It is in the standard toolbar at the top of the terminal, usually next to the New Order button. If you cannot see it, enable the toolbar via View > Toolbars > Standard, or press Ctrl+E to toggle the same setting.
Why does algo trading turn off by itself in MT5?
Usually because of the safety options under Tools > Options > Expert Advisors, which disable algorithmic trading when you change account, profile or a chart's symbol or period. An accidental Ctrl+E also toggles it.
Is AutoTrading the same as Algo Trading in MT5?
Yes. Newer MetaTrader 5 builds renamed the AutoTrading button and checkboxes to Algo Trading; the function is the same.
If I enable algo trading in MT5, does my EA start automatically?
No. The EA must be attached to a chart and have Allow Algo Trading ticked in its Common tab. The global switch only permits trading; it does not launch anything.
Can I use algo trading on the MT5 mobile app?
No. The iPhone and Android apps do not run Expert Advisors. Use the desktop terminal, kept running on your computer or a VPS.