Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


File Mapping without DLL - library for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 34
2012.01.16 09:26
2017.05.02 10:05
MemMapLib.mqh (30.1 KB)view

The classes (conveted from C++ to MQL5) for working with memory mapped files.

The C++ project was published in CodeBase: Memory Mapping.

The example script is included.

PS. Special thanks to  Renat and Nikolay for the idea.

This example can be used for working with different WinAPI functions without writing of additional DLLs.

Translated from Russian by MetaQuotes Software Corp.
Original code:

Memory Mapping Memory Mapping

DLL (MS VC++ 2010) for working with Memory Mapped files.

Quotes Monitoring  (memory-mapped file) Quotes Monitoring (memory-mapped file)

This Expert Advisor is example of use of the Memory Mapping DLL for working with File Mapping functions. In this example the Expert Advisor create a virtual (memory-mapped) file and start to update the quotes on symbol. Using this way, Expert Advisors can exchange data (for example, quotes) using common memory-mapped file.

BykovTrend_HTF_Signal BykovTrend_HTF_Signal

BykovTrend_HTF_Signal shows a trend direction or a signal for performing a deal generated by BykovTrend indicator as a graphic object with colored trend indication or deal direction.

LeMan Objective LeMan Objective

The indicator shows possible targets of price movement. It calculates the distance from the market entry price to the highs and lows displaying the quartiles deviation.