Memory Mapping – library MetaTrader 5

Memory Mapping - library for MetaTrader 5
This project (Visual C++ 2010) contains 2 classes – CMemMapApi и CMemMapFile. They designed for working with memory mapped files. You can: Create file in memory; Write and read data from memory mapped file; It provides an opportunity to exchange data between applications, including MetaTrader 4 и МetaТrader 5. Using memory mapped files you can … Read more

MySQL library for MQL4 with proper memory management – library MetaTrader 4

MySQL library for MQL4 with proper memory management - library for MetaTrader 4
Original library file mql4-mysql.mqh is located here: . Give respect to the original authors for the work done (originally created by Russell, then modified by vedroid and lukins / Sergey) and read description of the original code. The original mql4-mysql.mqh library had a serious problem with memory management. Problems were reported by several users (you … Read more

Reporting Memory Leaks in Strategy Tester – library MetaTrader 5

Reporting Memory Leaks in Strategy Tester - library for MetaTrader 5
The strategy tester does not report any memory leaks of MQL5 applications like expert advisors, scripts or indicators. And such memory leaks can occur by using the  new operator in your MQL5 code and forgetting to free the occupied memory later in your code by calling the  delete  operator. For example in complex programs with … Read more