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

2012.01.16 09:26
Libraries

File Mapping without DLL - library for MetaTrader 5

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

Views:
2323
Rating:
votes: 32
\MQL5\Include\
memmaplib.mqh (15.4 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: https://www.mql5.com/ru/code/818

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.