Forum

Strategy Tester - Invalid request while closing pending order (MT5)

Hello, I keep getting Invalid Request errors while trying to delete a pending order on the MT5 strategy tester. Running the EA on live has no issues. I've paused the EA on a breakpoint to show the issue: The journal shows this error: Code: #include <Trade/Trade.mqh> #include <MT4Orders.mqh> #include

PositionsTotal - Wrong value provided

Hi, I'm testing an EA on Strategy Tester with the debugging mode on MT5. I put a break point somewhere and wait for it to trigger. Then, I store the value of PositionsTotal() on a variable to debug it. While on my trading tab, I can see two open positions, the PositionsTotal() is returning only one

MT4 Freezing on deinit when using DLL

Hi, I'm using a DLL to make HTTP requests, and noticed that after using this DLL, everytime I remove the EA MT4 freezes up and I have to close the process. I'm using this wrapper to make the HTTP requests: https://github.com/sergeylukin/mql4-http The requests are made to localhost. I even tried to