Introduction
MetaTrader 4 (MT4) supports automated trading through Expert Advisors (EAs), which are programs written in MQL4 that analyze market conditions and execute trades automatically. The platform includes built-in tools and settings that allow users to enable or disable automated trading globally or for specific EAs.
You can also take a look at my best forex robots page for some other options, including verified results.
Global Auto‑Trading Setup
To enable auto trading on a platform-wide level:
- Open MT4.
- Go to the Tools menu and select Options, or press Ctrl + O on the keyboard.
- Click the Expert Advisors tab.
- Check the box for Allow automated trading. This setting must be enabled for any EA to place trades.
- Additional safety options include:
- Disable automated trading when the account has been changed – Prevents trading if the user switches accounts.
- Disable automated trading when the profile has been changed – Disables EAs if the user switches to a different layout or set of charts.
- Disable automated trading when the chart symbol or period has been changed – Stops EAs if the symbol or time frame changes on a chart.
- Use the AutoTrading button on the top toolbar for quick access. This button allows you to turn global automated trading on or off at any time.
Per‑Expert Advisor (EA) Configuration
Each EA also includes an individual setting that must be enabled:
- In the Navigator panel, under Expert Advisors, locate the EA you wish to use.
- Double-click the EA or drag it onto the desired chart.
- A settings window will appear. Under the Common tab, ensure the box for Allow automated trading is checked.
- Other settings include:
- Allow DLL imports – Required if the EA uses dynamic link libraries.
- Allow external experts imports – Needed only if the EA depends on other external scripts.
Both the global setting and this per-EA setting must be enabled for the EA to execute trades.
Recognizing Auto‑Trading Status
MT4 provides visual indicators to help users determine whether auto trading is active:
- A green AutoTrading button on the toolbar indicates that global automated trading is enabled.
- A red AutoTrading button means it is disabled.
- On the chart, if an EA is attached and functioning properly, a smiley face icon will appear in the upper-right corner of the chart window.
- If auto trading is disabled, or if the EA is not allowed to trade, the icon will show a sad face or a neutral face.
These indicators reflect both global and EA-level settings.
Interaction Between Global and EA Settings
Both the global and individual EA settings must be active for automated trading to work. The interaction works as follows:
- Global auto trading enabled + EA trading enabled → EA will trade.
- Global auto trading enabled + EA trading disabled → EA will not trade.
- Global auto trading disabled + EA trading enabled → EA will not trade.
- Global auto trading disabled + EA trading disabled → EA will not trade.
All relevant permissions must be set correctly for an EA to operate.
Troubleshooting Common Issues
If automated trading does not appear to be working as expected, the following checks can help:
- Verify the AutoTrading button is green (enabled).
- Ensure the EA is attached to a chart and shows a smiley face icon.
- Open EA properties and confirm that “Allow automated trading” is checked.
- Check account or symbol changes — EAs can be deactivated if account profiles or chart settings change, depending on platform configuration.
- Inspect Journal or Experts tabs in the Terminal for any error messages or warnings related to the EA.
Summary of Configuration Steps
| Action | Description |
|---|---|
| Global Setting | Enable via Tools → Options → Expert Advisors → Allow automated trading |
| Toolbar Button | Ensure the AutoTrading button is active (green) |
| Per-EA Setting | Attach EA to chart and check Allow automated trading in the Common tab |
| Confirm Status | Look for smiley face on chart and no error messages in the terminal |
Conclusion
Auto trading in MetaTrader 4 relies on two layers of permission: a global platform-wide setting and a per‑EA configuration. Both must be properly enabled for any Expert Advisor to execute trades. Users can manage these settings via the Options menu, the toolbar AutoTrading button, and the individual EA properties. Visual cues on the chart and status bar provide real-time feedback on whether automation is functioning correctly. Understanding and correctly configuring these settings ensures proper operation of automated trading strategies within MT4.

I’m a self-confessed Forex geek who spends countless hours researching, testing, and reviewing everything related to trading. With many years of experience in the Forex industry—and thousands of robots, brokers, strategies, and courses put to the test—I’ve seen what works and what doesn’t. My goal is simple: to share that knowledge with you for free, so you can navigate the exciting (and sometimes crazy) world of Forex trading with more confidence.




