How to get Slippage for manual orders without the use of logs?

 
Dear Programmers,

I am looking for a MT4 solution that will allow me to monitor order slippage for manual orders. Fundamental thing to do is to capture the trade request event and register the price from this moment. Registred price will be later compared with order open ( or close ) price. My question is how to capture this trade request event, the moment when user click the buy / sell or close button and the request is being sent to the server? IsTradeContextBusy function works unfortunatelly only for EAs or scripts.

Any ideas much appreciated.

Kind Regards,
Radek

P.S. Analyzing logs does not suit my needs.
 

AFAIK. There no such tool built into MT4 by default!

Why not send the order with 0 slippage?

Why not use an EA or Script to monitor the process?

Why not write down the price at sending and compare?

Why not use the log file?

 

Доброго времени суток уважаемые форумчане!

Меня зовут Герман, мне 23 года, я являюсь трейдером компании "Инстафорекс"

Помогите в поиске нужного скрипта! Скрипт нужен для сетки отложенных ордеров.

 

Hello Ubzen,

Thank you for your reply. Yes, I realize that there is no such tool by default.

I want to monitor slippage ( not prevent it ) for broker evaluation purposes. The same way I would like to monitor order execution time. The EA or script would be just fine for me, but for person who is "it resistent" I have to figure out simple, set and forget solution. Log file idea is not very efficient way, especially for measuring order execution time.

Maybe tcp port listener?

Kind Regards,

Radek

Reason: