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
(204)
Projects
209
28%
Arbitration
0
Overdue
3
1%
Free
2
Developer 2
Rating
(261)
Projects
427
38%
Arbitration
86
44% / 19%
Overdue
71
17%
Loaded
Similar orders
The job is simple, I want a custom indicator which consist of a combination of 3 indicators in separate window as I will show you in the screenshot of my mt5 trading platform. The indicators are RSI(period 14, Apply to close) Level 10 Buy, Level 50 Take profit, level 90 Sell) MA( Period 200, Method Exponential, Apply to Median price, Shift 0) BB (Period 25, Apply to close, Deviation 0.035, Shift 0) Ideally on a 1
the code wasn't mine, i have got it somewhere on the web, but i like the performance of the EA, so i want to use it on mt5 platform. the given code based on price movements with ladder entry concept
Good Day I would like to order a trading robot. Pairs: XAUUSD (GOLD) EUR/USD USD/JPY The robot should be trading daily with TP/SL build in, would like to have trailing and stop loss, should execute up to 5 trades (preffarable setting choice) up to 10 trades Los sizes to be choise setting, must also trade major US vews events Like:US- PPI, CPI, NFP, Sales m/m and so on Must also show/display alert when opening
Hello Guys, I need a trading bot for the MT5 to place order based on my trading strategy which is based on - >> entry based on EMA with rejection from specific levels like support and resistance area - levels and time frame i will apply into the robot manually on daily basis. also need - trailing stoploss , shift to breakeven after gaining some points. need a highly expert developer
I have a full strategy based on indicator and candle based on . i would like to make it into a robot which will trade for me on a specific time and specific rules. i need a person who can do this project for me. If you have done this type of job . you are most welcome for this. Apply only if you know binary trading option and binomo trading platform well and how it works
Enter buy trade at close of candle when bar closes above the 3 emas. Emas are 34 ema, 64 ema and 128 ema. For a buy trade the 34 ema must be above the other two emas. The 64 ema should be in the middle. The 128 ema should be below the other two emas. For a buy trade the Awesome Oscillator should be above the middle line and colored green. Exit a buy trade when price touches 64 ema. Sell trade same conditions as buy
I want to make AI based on Attached Picture Swing High low. If you have experience can share demo first. Stop loss, take profit, trailing , break even ,DD etc. also amiable
Hello, I’m looking for a TradingView indicator that fits my forex trading needs. If you can create or customize one for me, please reach out. I'd appreciate your help! Thanks in advance."
Pls I need help I don’t have much but pls accept my little payment for the work thanks 🙏 mt5 file Once it opens buy and move positively to buy let it use auto trailing to follow the trend that’s if I choose to use trailing option and before the trailing starts it must reach the actual profit target example if I set profit target to 500 then once profit is at 500 let trailing immediately protect it and any 1 pip
Hey greetings am in need of a developer that can convert my simple tradingview indicator to MT4 I have the source code of the indicator and is also a public indicator on Tradingview site Kindly bid and let started

Project information

Budget
30 - 100 USD
For the developer
27 - 90 USD
Deadline
to 4 day(s)