거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

Quotes Monitoring (memory-mapped file) - MetaTrader 5용 expert

조회수:
9020
평가:
(27)
게시됨:
2012.01.13 13:34
업데이트됨:
2017.11.02 15:03
memmap32.zip (737.29 KB)
memmap64.zip (8.42 KB)
monitor_v2.mq5 (12.56 KB) 조회
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

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.

The format of the memory-mapped file is the same as used in MetaTrader 4 Expert Advisor. It means that you can exchange quotes between МetaТrader 5 and МetaТrader 4.

Quotes Monitoring  (memory-mapped file)

The other data exchange can be organized using the similar way.

The code has a lot of comments and logs.

The MemMap32/64.dll library (see MemMap32/64.zip) must be placed to : terminal_data_folder\MQL5\Libraries

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/817

IncRVIOnArray IncRVIOnArray

CRVIOnArray class is designed for calculation of RVI (Relative Vigor Index) values on indicator buffers. Test_RVIOnArray indicator is provided as the example of the class use.

sSyncScroll sSyncScroll

Script for the charts simultaneous scrolling.

Memory Mapping Memory Mapping

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

File Mapping  without DLL File Mapping without DLL

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