Fix issue with named PIPE communicating between MT4 and MT5

Trabalho concluído

Tempo de execução 1 hora
Comentário do desenvolvedor
Thank you, I am happy to be working with you! :-)
Comentário do cliente
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.

Termos de Referência

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? 

Respondido

1
Desenvolvedor 1
Classificação
(258)
Projetos
267
30%
Arbitragem
0
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
2
Desenvolvedor 2
Classificação
(298)
Projetos
478
40%
Arbitragem
105
40% / 24%
Expirado
82
17%
Carregado
Publicou: 2 códigos
Pedidos semelhantes
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
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
I want to build a fundamental news trading bot that trade off economic news data, as we know every economic news data released always have effect on the asset associated with it, so this bot will take a trade instantly based on the news data released either to buy or sell, it will come with good money management and also SL and TP target based on price and pips value
I have a EA/indicator that I want built. I should say 1st off dont know how to code myself so I will be using AI to verify that the source code is complete and matches the documents spec or if better so if you can not truly do the job do not waste either of out time. This is a idea I came.up wit and used AI to produce a framework for it.... and of course AI isn't 100% accurate so I need a knowledgeable quantitative

Informações sobre o projeto

Orçamento
30 - 100 USD
Prazo
para 4 dias