Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Libraries

File Mapping without DLL - library for MetaTrader 5

Views:
6189
Rating:
(42)
Published:
2012.01.16 09:26
Updated:
2017.05.02 10:05
memmap.mq5 (1 KB) view
\MQL5\Include\
MemMapLib.mqh (30.1 KB) view
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 Ltd.
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.