I need an EA that will do the following test sequence ASAP to trap an edge case on an MT4 server:
First we will need to place an order and then place a test on each order
1) Place an SL on an open order and immediately try to close it on the same tick.
2) Place TP on an open order and immediately try to close it on the same tick.
3) Close an open order and on the same tick send a TP on it.
4) Close an open order and on the same tick send a SL on it.
5) Close an open order on the same tick that will cause an auto close out (stop out).
Iterate through this X times (configurable in MQL4 code is fine) with different instruments from the server each time, to catch any issues.
Produce a summary report of the test and any exceptions caught.
Must provide MQL4 source code, not just compiled ex4 file.
Needed as soon as possible please.