How to Turn On Algo Trading in MT5 (and AutoTrading in MT4)
Rishi Ajmera · · Last updated
An Expert Advisor (EA) can trade only when MetaTrader allows it in three places: the Algo Trading button on the toolbar, the Options setting, and the tick box in the EA's own settings. If any one of them is off, the EA stays on the chart but places no orders. In MT4 the same button and setting are called AutoTrading.
Turn on Algo Trading in MT5
- Click Algo Trading on the top toolbar. When it is on, the button shows a green icon; when it is off, it shows a red one.
- Open Tools → Options (Ctrl+O), go to the Expert Advisors tab and tick Allow algorithmic trading. Click OK.
- Right-click the chart, choose Expert list (or double-click the EA's name in the top-right corner of the chart), open the EA's Common tab and tick Allow Algo Trading. Click OK.
- Look at the top-right corner of the chart. The EA's name appears with a small icon: it is coloured when the EA may trade and grey when it may not.
Turn on AutoTrading in MT4
- Click AutoTrading on the toolbar so its icon turns green.
- Open Tools → Options (Ctrl+O) → Expert Advisors and tick Allow automated trading.
- In the EA's settings, open the Common tab and tick Allow live trading.
- Check the top-right corner of the chart: a smiling face means the EA may trade, a sad face means it may not.
Algo Trading is on but the EA still doesn't trade
- Open the Journal and Experts tabs. Press Ctrl+T to open the Toolbox. Messages such as "automated trading is disabled" (MT5 code 10027) or "trade is not allowed" (MT4 error 4109) point to a switch that is still off.
- Check how you logged in. With the investor (read-only) password you can watch the account but nothing can be traded.
- Check the account itself. Some accounts have EA trading switched off by the broker. Ask your broker if every switch above is on and orders are still refused.
- Check what switches it off automatically. In Options → Expert Advisors, MT5 can disable algo trading when you change the account, the profile or the chart's symbol or timeframe. Untick those boxes if they keep turning it off.
- DLL imports. Tick "Allow DLL imports" only if the EA's developer says it needs them, and only for an EA you trust.
Need an EA built or fixed?
MyAlgoMate's developers write custom MT4 and MT5 Expert Advisors to your rules, convert MT4 EAs to MT5 and fix existing EAs from their source code. You get the source code with the ready-to-run file.
If you live in India: under RBI rules, residents may trade forex only through authorised routes, such as currency derivatives on recognised Indian stock exchanges through a SEBI-registered broker. Check that your broker and the instruments you trade are permitted before you run any EA. MyAlgoMate develops software only and does not advise on brokers, markets or strategies.
FAQ
Where is the Algo Trading button in MT5?
On the main toolbar at the top of MetaTrader 5. It is labelled Algo Trading and shows a green icon when automated trading is allowed.
Is Algo Trading in MT5 the same as AutoTrading in MT4?
Yes. It is the same switch: MetaTrader 4 calls it AutoTrading and MetaTrader 5 calls it Algo Trading.
Why does Algo Trading keep turning off in MT5?
Usually because of the options in Tools → Options → Expert Advisors that disable algorithmic trading when the account, profile or chart symbol or timeframe changes. Untick the ones you don't need.