AutoTrading turns OFF immediately after enabling (Not EA / Not broker issue)

 

I am experiencing a critical issue where AutoTrading turns OFF immediately after enabling it.


Environment:

- MetaTrader 5 on Windows 10

- Also reproduced on Mac (Wine environment)

- Broker: XM (TradeFin Limited)


Issue:

- When I click "Algo Trading", it turns ON briefly and then immediately turns OFF

- The option "Allow Algo Trading" in settings also gets unchecked automatically


What I have confirmed:

- Happens even with default EA (ExpertMACD)

- EA compiled with no errors

- Manual trading works normally

- Using master password (not investor password)

- Broker confirmed that EA trading is allowed

- No VPS, no Python API, no external integrations

- Occurs on multiple machines


Logs:

Only shows:

"automated trading is enabled"

"automated trading is disabled"


No server-side restriction messages.


Conclusion:

This does not seem related to EA or broker.

It appears that MT5 client forcibly disables AutoTrading.


Has anyone experienced this issue or knows what could cause MT5 to disable AutoTrading automatically?

 
YOHEI21Y:


Moderators will expect to see at least your full LOG file and first 3 lines in your journal that show your version number and system specs.

Note that the latest release version is 5660. if you have any other version, then, it is probably a beta which often has much higher rate of bugs when compared to a release version.

 
Michael Charles Schefe #:

Moderators will expect to see at least your full LOG file and first 3 lines in your journal that show your version number and system specs.

Note that the latest release version is 5660. if you have any other version, then, it is probably a beta which often has much higher rate of bugs when compared to a release version.

Hello,


Thank you for your support.


MT5 Build: 5660 (latest release version)

OS: Windows 10


Journal (first lines):

MetaTrader 5 x64 build 5660 started

Windows 10

...


Issue:

AutoTrading turns ON but immediately switches OFF.


Additional information:

EA is compiled successfully.

EA is placed in MQL5/Experts.

Account has no restrictions (confirmed with broker XM).


Could you please advise what might be causing this issue?


Thank you in advance.

 

As far as I know - there are two places to check (to accept) for autotrading:

  • autotrading button, and
  • EA itself (in EA's settings).
 
YOHEI21Y #:

Hello,


Thank you for your support.


MT5 Build: 5660 (latest release version)

OS: Windows 10


Journal (first lines):

MetaTrader 5 x64 build 5660 started

Windows 10

...


Issue:

AutoTrading turns ON but immediately switches OFF.


Additional information:

EA is compiled successfully.

EA is placed in MQL5/Experts.

Account has no restrictions (confirmed with broker XM).


Could you please advise what might be causing this issue?


Thank you in advance.

This is not what was asked correctly by Michael.

Please provide the FULL Journal log FILE.

 
Make sure that One Click Trading is enabled in MT5==>Tools==>Options==>Trading
 
Additional information:

The issue occurs even when NO EA is attached.

Steps to reproduce:
1. Open MT5
2. Click "Algo Trading"
3. It turns ON briefly
4. Then immediately turns OFF

This happens on multiple machines.

Full Journal log is attached.
 
YOHEI21Y #:
Additional information:

The issue occurs even when NO EA is attached.

Steps to reproduce:
1. Open MT5
2. Click "Algo Trading"
3. It turns ON briefly
4. Then immediately turns OFF

This happens on multiple machines.

Full Journal log is attached.

That is not reproduced on any of my MT5 instances, that's why I am asking your Journal log.

NO LOG was attached.

 
Alain Verleyen #:

That is not reproduced on any of my MT5 instances, that's why I am asking your Journal log.

NO LOG was attached.

Just to clarify for new MT5 users, a real MT5 Journal log prints in the MT5 Journal tab and is stored in the MT5 Data Folder.

For the record, I've never experienced random EA disablement in several decades of MT4 and MT5 use (all MS Windows systems).

 

One of MT5 brokers' knowledge base lists the following reasons why trading can become disabled:

  • Trading is disabled for the particular account.
  • Logged in to MetaTrader with a read-only password.
  • The instrument has the wrong suffix for your account type.
  • The instrument is in close-only mode.
  • The account has not performed a first-time deposit.
  • The trading instrument is temporarily or permanently disabled.


 
Hello,

Thank you for your reply.

I have included the latest Journal log below.

--- Journal (latest) ---
MetaTrader 5 x64 build 5660 started for MetaQuotes Ltd.
Windows Server 2008 R2 Service Pack 1 build 7601 on Wine 10.0 Darwin 25.3.0, 8 x VirtualApple @ 2.50GHz, x64, 4 / 15 Gb memory, 367 / 460 Gb disk, GMT+9
C:\Program Files\MetaTrader 5
expert BTCJPY_EA (BTCJPY,H1) loaded successfully
'72366505': authorized on XMTrading-MT5 3 through Access Server JP 9 (ping: 165.28 ms, build 5264)
'72366505': previous successful authorization performed from 60.154.123.136 on 2026.03.20 11:53:03
'72366505': terminal synchronized with Tradexfin Limited: 0 positions, 0 orders, 1510 symbols, 0 spreads
'72366505': trading has been enabled - hedging mode
use MetaTrader VPS Hosting Service to speed up the execution: 3.65 ms via 'VPS London Red 08' instead of 165.28 ms
activated for 'YOHEI21Y', balance: 0.00
'72366505': scanning network for access points
activated for 'YOHEI21Y'
'72366505': scanning network finished
--- End of log ---

MT5 Build: 5660
OS: Windows 10 (Wine environment)

I have also checked all the listed conditions:
- Trading is enabled
- Logged in with master password
- Correct instrument
- Manual trading works normally

However, AutoTrading turns ON and immediately switches OFF.
This also happens even with no EA attached.

Could you please advise what might be causing this issue?

Thank you.