you dont need a dll for that
LONG TRADE EXAMPLE
1 - when you send an order store the actual price in a variable. THIS IS ORDER SEND PRICE : V1
2 - order open price. THIS IS ORDER OPEN PRICE : V2
3 - After order open store the actual price in a varıable. THIS IS PRICE AFTER ORDER OPEN : V3
if you see the following close your account at that broker and find another.
IF ( V1==V3 && V1 - V2 < 0 ) then there is problem
or send me your script I will fix it for you 😉
How to properly test slippage without building a sophisticated DLL/EA like yours?
I'm using a script to enter my positions - with in the script After the OrderSend() function is used , Print Function displays the '' broker time - Spread - and bid/ask'' to see if I'm getting the order that I requested. To me this doesn't seam like the best approach. Have any ideas?