question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[SOLVED] MQL4 OrderModify Error 4112

See original GitHub issue

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

[INIT] Ready to send commands to METATRADER (PUSH): 32768
[INIT] Listening for responses from METATRADER (PULL): 32769
[INIT] Listening for market data from METATRADER (SUB): 32770
{'_action': 'OPEN_TRADES', '_trades': {464727: {'_magic': 0, '_symbol': 'EURUSD.', '_lots': 0.01, '_type': 0, '_open_price': 1.12393, '_open_time': '2019.06.06 11:18:41', '_SL': 0.0, '_TP': 0.0, '_pnl': 0.01, '_comment': ''}}}

{'_action': 'MODIFY', '_response': '4112', '_response_value': 'unknown error', '_sl_attempted': 1.12193, '_tp_attempted': 1.12893}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
integracore2commented, Jun 6, 2019

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 💪

0reactions
integracore2commented, Jun 6, 2019

That’s great to hear! Glad you’ve found our solutions useful 👍

Welcome to Darwinex 🙂 💪

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR 4112 Work around - MQL4 and MetaTrader 4 - MQL5
During my tests, it would open a second order and then the scroll bar would appear in the trade terminal and the order...
Read more >
OrderModify - Trade Functions - MQL4 Reference
To get the detailed error information, call the GetLastError() function. Note. Open price and expiration time can be changed only for pending orders....
Read more >
DWX ZeroMQ Connector - GitHub
uninit reason 4 error #40 opened by pwerspire help wanted ... Cannot save MT4 response as a variable in Python #67 opened by...
Read more >
How do I correct an error code 0 in MQL4 OrderModify() call?
Error being. 0 == ERR_NO_ERROR ... No error returned. is rather ok, no need to "correct" it, it means there was nothing to...
Read more >
Forex Morning Trade system Error 4112 - StrategyQuant
Hello, When running this EA I get an error 4112 message: Trading by experts is prohibited. The signals will not be executed. Any...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found