Closed scwall closed 5 years ago
Hi @scwall ,
Error 4112 refers to ERR_TRADE_EXPERT_DISABLED_BY_SERVER in MQL4.
Essentially it means that the EA's "Common" settings have "Allow live trading" unchecked, OR the "AutoTrading" button on the Terminal isn't clicked.
This can also happen if you e.g. login to a different account when the EA was already running on a chart while logged into the previous account.
These settings are MetaTrader specific (cannot be controlled by the EA or the Python script). You can alter these under Tools -> Options in MetaTrader 4.
Could you kindly check to see if Allow live trading / AutoTrading are enabled?
thanks for this quick answer. I could see that all options were enabled, I could test a stop of a trade this one sends me back that it was successfully closed, but this one remains active in metatrader 4
{'_action': 'CLOSE', '_ticket': 464804, '_close_price': 1.12385, '_close_lots': 0.01, '_response': 'CLOSE_MARKET', '_response_value': 'SUCCESS'}
I would like to apologize for the screenshots by looking a little bit on the net I realized that you were a trading platform. I just signed up for it. I clearly prefer to work with you who develop tools for developers :)
No worries at all @scwall 🙂
Thank you for your feedback, and for considering Darwinex as your platform!
We only test our code releases on Darwinex terminals, hence we're unfortunately unable to provide feedback for other broker's terminals.
Please always feel free to ask as many questions as you need, we're here to help as best as we can 💪
it's perfect! :thumbsup: everything works perfectly with your mt4 platform, I close the ticket :heart:
That's great to hear! Glad you've found our solutions useful 👍
Welcome to Darwinex 🙂 💪
Hello I have an unknown error when I try to modify a trade or create a trade, I can still get the json answer from all my trades but I don't have the possibility to send it. Do you have any leads so I can debug this error? Thank you in advance