Fix issue with named PIPE communicating between MT4 and MT5

İş tamamlandı

Tamamlanma süresi: 1 saat
Geliştirici tarafından geri bildirim
Thank you, I am happy to be working with you! :-)
Müşteri tarafından geri bildirim
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.

İş Gereklilikleri

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? 

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(253)
Projeler
259
30%
Arabuluculuk
0
Süresi dolmuş
3
1%
Serbest
Yayınlandı: 2 kod
2
Geliştirici 2
Derecelendirme
(295)
Projeler
473
40%
Arabuluculuk
103
41% / 23%
Süresi dolmuş
78
16%
Meşgul
Yayınlandı: 2 kod
Benzer siparişler
Do you need a profitable and well-structured trading strategy converted into a fully automated Expert Advisor on the MT5 platform? I specialize in developing advanced, high-performance EAs with: ✅ Smart entry & exit logic ✅ Risk-based lot size calculation ✅ Break-even & trailing stop system ✅ Spread & session filters ✅ Daily drawdown protection ✅ Prop firm (FTMO-style) risk compliance ✅ Fully automated trade
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
I am looking for a highly experienced Pine Script v5 developer to build a professional, non repaint price action indicator for TradingView. or a ready made one so i can purchase. This is a structured two phase project. The goal is to create a clean, intelligent price action tool that works for both fast intraday trading and swing trading. Only apply if you have strong Pine experience and understand liquidity
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for
I am looking someone to create an EA based on my MACD Histo indicator / strategy from Pinescript. I will send it to you for you to replicate. The EA shall have: - Divergence length in bars, min and max values. - Pivot Logic - Entry on close of divergence confirmation bar. - Dynamic lot size dependent on SL/TP, in monetary value. - SL / TP in percent away from entry, separate values for long and short. - Time, day and
Hello, I have a breakout EA with reversal logic. I own the full source code for both MT4 and MT5 versions. I need the modifications implemented for both MT4 and MT5 versions. I need several modifications: – Multiple reversals with configurable parameters – Breakeven functionality – Entry only after candle close beyond range + offset – Time-based activation – Alternative offset calculation logic – Automatic close at

Proje bilgisi

Bütçe
30 - 100 USD
Son teslim tarihi
to 4 gün