Create Unmanaged DLL for Writing and Reading from Memory Mapped File with Tests

MQL5 Asesoramiento C++

Tarea técnica

Memory Mapped File Dynamic Link Library ("mmap.dll")

You are to create an Unmanaged DLL file for import into MT4. The purpose of the library will be to write to a Memory Mapped File and later read from that Memory Mapped File. Your output DLL file will have the following exported function

void CreateChannel(string fileName) # Create or Open Memory-Mapped File (MasterFile_[@fileName])

void WriteToChannel(string fileName, string data) # Write @data to @fileName

string ReadFromChannel(string fileName) # Read content of @fileName and return it as a string

void RefReadFromChannel(string fileName, string &recvString) # Read content of @fileName and pass by reference to @recvString

After creating the DLL file, you are to write a test MQL4 Expert that will read and write to and from the Memory Mapped Files created by the DLL library created.

Unmanaged DLL file best created with Visual C++

Here are some useful links

https://docs.microsoft.com/en-us/windows/win32/memory/creating-named-shared-memory

https://docs.microsoft.com/en-us/windows/win32/psapi/memory-mapped-file-information


https://gunnarpeipman.com/net-framework-4-0-using-memory-mapped-files/

https://www.red-gate.com/simple-talk/dotnet/net-development/sharing-caring-using-memory-mapped-files-net/

https://www.c-sharpcorner.com/UploadFile/b942f9/using-memory-mapped-files/



Han respondido

1
Desarrollador 1
Evaluación
(49)
Proyectos
77
43%
Arbitraje
6
33% / 50%
Caducado
22
29%
Libre
2
Desarrollador 2
Evaluación
(337)
Proyectos
624
38%
Arbitraje
40
23% / 65%
Caducado
93
15%
Libre
Ha publicado: 4 artículos, 19 ejemplos
3
Desarrollador 3
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
I need a professional MT5 Expert Advisor (MQL5) for XAU/USD (Gold) only. Requirements: - Symbol: XAU/USD only - Timeframe: H1 trend, M5 entry - Smart Money Concept (SMC) - Liquidity Sweep - Break of Structure (BOS) - Order Block Retest - Confirmation Candle (Engulfing or Pin Bar) - ATR-based Stop Loss - Risk:Reward = 1:3 (adjustable) - Auto Lot (1% risk) - Break Even - Trailing Stop - Maximum 2 trades per day - One
Hello, SYSTEM BLUEPRINT READY I am looking for a professional, top-tier MQL5 developer to build a semi-automated Expert Advisor for MetaTrader 5. I have a fully completed, detailed Master Technical Specification Document attached, alongside a formatted 4-column User Input Configuration spreadsheet. And a high level overview with screen shots. Core System Features: - State Machine Architecture (Factor 1 Baseline
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
Version document : 1.0 Plateforme : TradingView Langage : Pine Script v6 Type : Indicateur d'analyse et d'aide à la décision (non-exécutant) 1. Présentation du projet Nom du produit ONYX SR V2 — Intelligent Support & Resistance Scalping System Objectif Créer un indicateur TradingView capable d'identifier automatiquement des opportunités de scalping basées sur : supports et résistances dynamiques ; action du prix ;
Ниже представлено готовое, технически выверенное Техническое задание (ТЗ) . Вы можете полностью скопировать этот текст и разместить его на бирже фриланса (например, MQL5.com в разделе «Фриланс» или на Smart-Lab). Данное ТЗ написано на профессиональном языке, понятном разработчикам торговых систем для терминала QUIK (на языке Lua) . ТЕХНИЧЕСКОЕ ЗАДАНИЕ (ТЗ) Разработка мультивалютного торгового робота для терминала
I am looking for an experienced MQL5 developer to build a high-frequency (HFT) latency arbitrage Expert Advisor for Pepperstone MT5 , using LMAX as the leading price feed. The initial focus will be on US30 (Dow Jones) , and if the strategy proves successful, I want the EA to be easily expandable to additional symbols such as NAS100, GER40, XAUUSD, major forex pairs, and other supported instruments. The EA should
Master mind 30+ USD
Start ↓ Detect Trend (H4) ↓ Confirm Structure (H1) ↓ Wait for Pullback ↓ Check Indicators ↓ Calculate Confidence Score ↓ Score ≥ 80? ├── No → Wait └── Yes ↓ Calculate Lot Size ↓ Place Order ↓ Set Stop Loss ↓ Set Take Profit ↓ Manage Trade ↓ Move to Break-even ↓ Trail Stop ↓ Close Trade. IF Price > EMA200 (H4) AND EMA50 > EMA200 (H4) AND ADX > 25 AND RSI between 55 and 70 AND MACD Main > Signal AND Bullish engulfing
English Description (For Developers): I need a custom Expert Advisor (EA) for MT5 to trade ONLY ETHUSD based on trend-following and counter-trendline breakout-retest with an M1 execution filter and strict risk management. Trading Logic: 1. Trend Filter: Price must be below 200 EMA on both H1 and M15 timeframes for Short (Sell) trades. (Opposite for Long/Buy trades). 2. Setup: On the M15 chart, after a strong move in
Can you Build a custom NinjaTrader 8 ChartStyle or BarsType called Optimized Footprint Bars. This project is urgent and i need someone that's wiiling to do his project with me kinldy bid for this. Thanks
I am looking for an expert MQL5 developer to build a robust, professional Expert Advisor for Gold (XAUUSD). The EA must be Event-Driven (OnTick) with no 'Sleep' functions, ensuring instant execution. ​Core Logic: ​Grid Strategy: Start with 0.02 Buy/Sell. Lot size sequence: 0.02, 0.03, 0.05, 0.09, 0.14, 0.26, 0.44, 0.75, 1.28, 2.18 (Max 10 steps). ​Dynamic TP: Total basket TP must update instantly upon new order

Información sobre el proyecto

Presupuesto
100+ USD