Join our fan page
File Mapping without DLL - library for MetaTrader 5
- Views:
- 6151
- Rating:
- Published:
- 2012.01.16 09:26
- Updated:
- 2017.05.02 10:05
- 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
DLL (MS VC++ 2010) for working with Memory Mapped files.
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 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 ObjectiveThe 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.