Robots mt5 not always executing

usd_linux

Trader
May 27, 2022
21
2
9
59
i try to get a sell robot to enter at the same time. a basket of 7 trades. sometimes all 7 execute. sometimes just a few then rest later and sometimes just a 2 or 3. especially if i disable algo the reenable. any ideas? why are they not all just executing. i just tried with 7 euro buys only 4 executed. another time it might be all 7. really pissing me off
 

Enivid

Administrator
Staff member
Nov 30, 2008
18,535
1,355
144
Odesa
www.earnforex.com
i try to get a sell robot to enter at the same time. a basket of 7 trades. sometimes all 7 execute. sometimes just a few then rest later and sometimes just a 2 or 3. especially if i disable algo the reenable. any ideas? why are they not all just executing. i just tried with 7 euro buys only 4 executed. another time it might be all 7. really pissing me off
You should check the execution return code. Is that slippage? Connection error? Anyway. You could run a loop for each trade to send the trade to the server until it is executed. That way, you can make sure it goes through.