Rejoignez notre page de fans
- Vues:
- 6039
- Note:
- Publié:
- 2012.01.16 09:26
- Mise à jour:
- 2017.05.02 10:05
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur 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.
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/818
![Memory Mapping](https://c.mql5.com/i/code/library.png)
DLL (MS VC++ 2010) for working with Memory Mapped files.
![Quotes Monitoring (memory-mapped file)](https://c.mql5.com/i/code/expert.png)
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](https://c.mql5.com/i/code/indicator.png)
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](https://c.mql5.com/i/code/indicator.png)
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.