darwinex / dwx-zeromq-connector

Wrapper library for algorithmic trading in Python 3, providing DMA/STP access to Darwinex liquidity via a ZeroMQ-enabled MetaTrader Bridge EA.
https://blog.darwinex.com/zeromq-interface-python-r-metatrader4/
BSD 3-Clause "New" or "Revised" License
344 stars 228 forks source link

'TRADING_IS_NOT_ALLOWED__ABORTED_COMMAND' #35

Closed efeveret01 closed 4 years ago

efeveret01 commented 5 years ago

Trying to use both the _DWX_MTX_CLOSE_ALLTRADES() and _DWX_MTX_NEWTRADE(), at first they were working now they send the following message:

{'_response': 'TRADING_IS_NOT_ALLOWED__ABORTED_COMMAND'}

integracore2 commented 4 years ago

Hi @efeveret01 ,

This error is raised in either or both of the following scenarios:

1) "Allow live trading" is unchecked in your EA Inputs tab.

2) The "Autotrading" button at the top of your MT4 terminal is set to disabled.

Kindly enable the two to resolve the issue.