Forum

Returning a char* string from a DLL in MT4 eats memory

Hi I am in the process of developing a DLL for MT4 that I want to return a string that is generated inside the DLL. If I use a function in the DLL like char* ReturnResult(char* stringToReturn) and pass the same string in as I get in return there is naturally no memory leak as it is a pointer to the

Attach to process in VS with build 226 does not work anymore!

If I try to attach to process terminal.exe in Visual Studio with MT4 build 226 it chrashes with an unhandled exception. I am no longer able to debug my DLL's with build 226 and have to avoid upgrading and use 225 instead. Anybody else with the same problem

Backtesting on multiple brokers

Hi! I am in the process of backtesting one of my EAs. I have done this a thousand times before. I have downloaded and fresh installed MT4 from three different brokers, downloaded history data from MetaQuotes in the history center. And set the GMT offset according to the different brokers server