Fix issue with named PIPE communicating between MT4 and MT5

Job finished

Execution time 1 hour
Feedback from employee
Thank you, I am happy to be working with you! :-)
Feedback from customer
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.

Specification

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? 

Responded

1
Developer 1
Rating
(258)
Projects
267
30%
Arbitration
0
Overdue
3
1%
Working
Published: 2 codes
2
Developer 2
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
Similar orders
I offer a custom semi-automated trading solution for MetaTrader 5 designed for traders who prefer to keep full control over trade decisions while automating trade execution and risk management. Features MT5 Expert Advisor Telegram integration Automatic position sizing based on user-defined risk Automatic Stop Loss and Take Profit placement Fast trade execution after user confirmation Support for multiple Forex pairs
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 or broker clock. 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell/buy at 50% of the FVG 7. SL: 10 pips above
Code An Loss Rate 90-100% MT5 EA , that can blow a 100 USD account a day ,with fixed TP of 3000 points and SL of 3000 For better Rate Calculations get an strategy that can lead to so
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 or broker clock. 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell/buy at 50% of the FVG 7. SL: 10 pips above
Shooter razor 30+ USD
Makes it takes trades by it self buy and sell, it must use the higher signals, also when I press stop it must not pick any trades I want it to take trades automatically when I press start also close by it self
8 cap prop firm passing 30 - 3000 USD
I am looking for an experienced MQL4/MQL5 HFT developer to build or optimize a High-Frequency Trading (HFT) Expert Advisor that can successfully pass proprietary trading firm challenges and perform consistently under live trading conditions with brokers such as 8cap or BlackBull Markets . The developer should have proven experience with HFT execution, ultra-low-latency trading, broker execution, slippage, spreads
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
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
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell at 50% of the FVG 7. SL: 10 pips above sweep wick 8. TP: 2R
Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction

Project information

Budget
30 - 100 USD
Deadline
to 4 day(s)