Fix issue with named PIPE communicating between MT4 and MT5

Работа завершена

Время выполнения 1 час
Отзыв от исполнителя
Thank you, I am happy to be working with you! :-)
Отзыв от заказчика
Excellent work delivered. Top class developer that understood exactly what needed to be done and resolved the issues I was encountering. Will definitely be using again of future projects.

Техническое задание

I have working MT4 and MT5 example program code using pipes via importing kernell32.dll in MT5 to receive transactional messages sent from another MT4 instance running.

Most of the time it works fine. But intermittently I get an ‘Access violation’ error generated showing in the Experts tab of MT5. It fails to read the message sent from MT4 and does not trap the error. Also, when I try it on a different VPS computer - the same code that works on one computer will not work on the other. Even when it is sending exactly the same transactional message from MT4 to MT5 one fails and the other works!

I need someone to review the code and fix whatever is causing the issues. I suspect it is something to do with the #import declarations that is causing this. Or possibly, occasionally when MT5 tries to receive the messages send from MT4 there is a timing issue and they have not been fully written to the pipe. I’m only making suggestions here as I have been unable to fix the issue.

MT5 uses #import kernel32.dll to create and opens the pipe and acts as a server. It uses ReadFile to retrieve the transaction data sent from MT4.  
MT4 connects successfully to the named pipe opened in MT5, using FileOpen. Then uses FileWriteInteger and FileWriteString after to send the data to MT5 fro reading and processing.

My example code has examples of sending Integer values and String values from MT4 to MT5. Once the issues have been sorted, I would like to be able to send a Double type value too.  

I will provide all the short MT4 and MT5 test programs that do all the above for review. The project job is to correct whatever the issue is with the intermittent issues and make them generally more resilient and robust. Also, not sure if it is possible, but can MT5 send a confirmation message back to MT4 to say that a transaction has been received and processed correctly? 

Откликнулись

1
Разработчик 1
Оценка
(246)
Проекты
253
30%
Арбитраж
0
Просрочено
3
1%
Свободен
Опубликовал: 2 примера
2
Разработчик 2
Оценка
(294)
Проекты
469
39%
Арбитраж
102
40% / 24%
Просрочено
77
16%
Загружен
Опубликовал: 2 примера
Похожие заказы
Double trade 30+ USD
1-tow trades with take profit stop loss pips trade with take profit stop loss pips trade with stop loss pips take profit candle close 2-buy or sell look for last candle buy or sell 3-trade stop loss stop loss martingale trade lot zise in intry candle running candle or new candle
Hi all, I would like to get a bot that trades based on a Tradingview indicator. The indicator is called sniper entries. It is very simple. If the indicator says "BUY" then the EA buys, if the indicator says "SELL" then the EA sells. I want the bot to possibly trade forex market pairs like XAUUSD, EURUSD, GBPUSD. Would you please inform me what i need to do to make it possible. I also want the bot to trade on a small
can you help me with the strategy for my mt4 or mt5 bot? I am learning trading, while working and I was thinking this could be a good way to still earn from the market while learning. If I have someone like you to guide me on strategy and maintaining the trading bot going forward. I do not have anything setup, I am going to pay a ten to build the EA, I just need the mentorship and we can agree on a unique price to
Good day, I am searching the very high level expert, which could create the auto-trade robot and I would like to order the trading robot for GOLD XAU/USD auto-trade on MetaTrader. I could pay a lot for the institutional grade auto-trade robot, just contact me and let me know what level of the robot you could offer and we will negotiate the price
Hello. I am finding an experienced python developer who can implement my trading strategies into robots. I like trend-following swing trading strategies and am going to automate my idea. More details can be discussed by chatting. If you have similar working experience it can be a plus. Thanks
Je cherche un développeur pour un bot Fundednext pour le passage de challenge jusqu'au trading quotidien après le passage.le robot va s'occuper du compte du début à la suite du compte de 15k chez Fundednext.après le passage aux challenges,le robot doit être capable de me fournir 6-10% mensuel de rendement de ce compte. Il doit être capable de passer le challenge dans un bref délai de 2-3 semaine ou soit 10-15 jours
Job Title MT5 Developer Needed – Sync Data Feed Between Two MT5 Accounts Job Description I am a trader using multiple MT5 accounts and need a reliable way to have the same market data from one MT5 account reflected in another MT5 account. One account already has a stable and accurate data feed, and I want the second MT5 account to receive identical pricing and symbols for analysis and execution purposes. What I Need
Beschreibung: Ich suche einen erfahrenen MQL5-Entwickler, der meinen bestehenden Expert Advisor für MT5 fertigstellt und optimiert. Der EA basiert auf einer 30-Minuten-Breakout-Strategie für XAUUSD (Gold) und enthält bereits die Grundlogik sowie FTMO-Regeln (Tagesverlust, Gesamtverlust, Handelszeiten, Spread-Filter, Lotbegrenzung). Was gemacht werden muss: Code-Feinschliff und Debugging Überprüfung der Breakout-Logik
Greeting Im in need of a programmer that can help me convert from TOS to trading view? The script is available with me, kindly bid if it is what you can do for me Thanks
I need an MT4 Expert Advisor based on my existing manual trading system. PLATFORM: - MetaTrader 4 (MT4 only) TIMEFRAMES: - Main version: M30 entries with H1 structure - Second mode: M5 entries with M30 structure - Both modes should be inside ONE EA (switch by input) INDICATORS (already available on my chart as external indicators): 1) SuperTrend - ATR period: 10 - Multiplier: 1.7 2) XXSS Candle - Same settings

Информация о проекте

Бюджет
30 - 100 USD
Сроки выполнения
до 4 дн.