Not certain if it will help, the MT5 Strategy Tester has an 'Execution' option where you can simulate an execution delay.
I think I'd only trust this though if you're also using the 'Every tick based on real ticks' setting.
From the documentation:
Execution
The strategy tester allows you to emulate network delays during an Expert Advisor operation in order to bring testing closer to real conditions. A certain time delay is inserted between placing a trade request and its execution in the strategy tester. From the moment of sending a request till its execution, the price can change. This allows you to evaluate how trade processing speed affects the trading results.
In case of the instant execution mode, users can additionally check the EA's response to a requote from the trade server. If the difference between requested and execution prices exceeds the deviation value specified in the order, the EA receives a requote.
Please note that delays work only for trades performed by an EA (placing orders, changing stop levels, etc.). For example, if an EA uses pending orders, delays are only applied to placing an order but not to its execution (in real conditions, execution occurs at the server without a network delay).
No delay
In this mode, all orders are executed at requested prices with no requotes. The mode is used to check an EA in "perfect" conditions.
Random delay
This mode allows testing an EA in conditions that are close to real ones. The delay value is generated as follows: a number from 0 to 9 is selected randomly - this is the number of seconds for a delay; if a selected number is equal to 9, another number from the same range is selected randomly and added to the first one.
Thus, the possibility of a delay for 0-8 seconds is 90%, possibility of a 9-18 second delay is 10%.
Fixed delay
You can select one of the predefined delay values or set a custom one. The platform measures the ping to the trade server and allows you to set that value as a delay in the tester so that you are able to test a robot in the conditions that are as close to the real ones as possible.