Timeout Error 10012 MT5

MQL5 전문가

명시

Hi guys

I receive quite often from broker the timeout error when I use my MT5 EA - it is on LIVE account

and it happens like this:

the order is sent to market , after 3 min I receive a Timeout Error, and then my EA tries again  - it could try 5 times

after 5 timeout tries it will stop trying, and suddenly after 30 min I can see all 5 orders filled in market. Before it tries to place again the order it checks is there is a new order on account - but no, there is none, they all somehow magically appear after 30-40 minutes.

Attached you have the image from live account how orders are being filled after 30 min, all at once and the code for sending orders.

If anyone can help me figure this out would appreciate a lot - is it from My EA or from broker?


I will pay you right away if the issue is from my EA, broker does not want to answer to my requests

it could be on ICMarkets,- prop firms: FTMO , thePropTrading, Vantage

this is the code where it waits for response - which usually comes in 3 minutes if we have timeout

bResult = OrderSend(trade_request, trade_result);
if(bResult == true && (trade_result.retcode == TRADE_RETCODE_DONE || trade_result.retcode == TRADE_RETCODE_PLACED))
                        {
                                RetVal = (int)trade_result.order;               
                                // EVERYTHING OK
                                break;
                        } else Print("Error Sending Order "+IntegerToString(trade_result.retcode));  // 10012 here comes after 3 minutes


It could happen when I try to open trade and sometimes when I try to change SL/TP

Thank you

응답함

1
개발자 1
등급
(176)
프로젝트
236
45%
중재
17
82% / 12%
기한 초과
35
15%
작업중
2
개발자 2
등급
(92)
프로젝트
109
34%
중재
5
40% / 20%
기한 초과
5
5%
작업중
3
개발자 3
등급
(5)
프로젝트
6
0%
중재
3
0% / 100%
기한 초과
0
무료
4
개발자 4
등급
(9)
프로젝트
8
0%
중재
9
0% / 67%
기한 초과
3
38%
무료
5
개발자 5
등급
(66)
프로젝트
143
34%
중재
10
10% / 60%
기한 초과
26
18%
무료
6
개발자 6
등급
(563)
프로젝트
932
47%
중재
301
59% / 25%
기한 초과
124
13%
작업중
비슷한 주문
I am looking to develop an automated trading bot based on a strategy involving the crossing of four Simple Moving Averages (SMA). The bot should be capable of entering trades based on this strategy. Additionally, I would like to incorporate some custom diversions tailored for NinjaTrader
RSI trading bot 50 - 80 USD
Good morning, I'm looking to have an RSI based trading bot developed, which focuses on having many options for closing trades in order to diversify my trading opportunities, and to be good for experimentation in backtesting. Here are the features I'd like: -Being able to have as many of the following options activated as I want, to try all combinations of them -To work on all timeframes, though I will be focusing on
Looking for an EA which can produce less than 5% drawdown. Also profit factor above 1.5 (preferably 2.0) Please give me proper explanation how your EA works too Has anyone programmed it before? is it limited to forex only
1) the EA can compound the lot size from 0.01 to 0.02 so on 2) the EA must able to trade different kind of pair 3) the EA will have stoploss or take profit 4) long term profit 5) for equiry will be 100 for every 0.01 lot Developer will have that kind of EA may apply and introduce any investor account! this EA must have mql4 file
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'} Hello Looking for someone to help me improve my current strategy on my own algorithm and to also add hedging mode
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
Please watch the video on this youtube channel and download the Indicator from there. https://www.youtube.com/watch?v=ldTomLu8DxE&amp ;t=32s Rules are explained on the video and the download of the indicator is on the same video
I would like an EA that follows exactly this steps to trade de daily candle. Watch the video and then see if you can do the task. https://www.youtube.com/watch?v=g3oDYq4P9ZE Document is one this link https://cdn.discordapp.com/attachments/1135977927469703230/1135978751461695598/Daily_Bias-TTrades_edu.pdf?ex=669a9a27&amp ;is=669948a7&hm=96de195f7e695a381c1261b065f67b94fae319d02a0c88641b146f8b2978320c& Should have
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells

프로젝트 정보

예산
45+ USD
개발자에게
40.5 USD
기한
 1 일