Hi, I just saw that my Limit Orders in simulation mode (AMP Demo) in MT5 were filled worse than the limit price (see attachment)? I think a limit order is always executed at the limit price, better or not at all. What am I doing wrong there? Thanks...
You answered your own question, and did not realize it. Simulation means simulation. It's not an exact thing.
In Simulation mode, you are not dealing with real data but stale data that does not reflect executions of orders properly.
That's not entirely true. Demo mode usually uses a real-time datafeed, but it's the simulation engine in the trading software that gets out of whack in representing the actual trade matching. NT7 is usually really good at a fair approximation of proper execution. Ironically enough, I have a sim trade on June MES that should have closed ( an OCO limit order on an open position) that did not execute by market close, with the price being a few points above the target! It closed sometime during this 5PM ET hour during the market close, because the sim engine finally saw the target price print somewhere in it's sim brain. lol, sometimes it flakes out badly. I suspect that is what happened to Armin. Now a SIMULATED data feed would actually be MORE reliable than the shit I have witnessed with demo on live feeds, heh. But of course, that is pointless work, period.
Thanks for your comments! Only for me it is not really understandable why the MT5 simulator does not simulate a simple Limit Order correctly. I've now also set SetDeviationInPoints() to 0, but haven't noticed any change. Everything works fine with Bookmap. With MT5 there is unfortunately no backtesting for Order Book, Ask, Bid data, only for Price. So only real-time data feed and demo account remains. Would anything change if I set up a paid account with simulation mode?
With AMP? No, I do not see how that would change anything, because you are getting live data on both accounts.
Nevertheless, considering that this is a LIMIT order, it shouldn't have any problem executing at the stipulated price.
Did you read my post above? "...Ironically enough, I have a sim trade on June MES that should have closed ( an OCO limit order on an open position) that did not execute by market close, with the price being a few points above the target! It closed sometime during this 5PM ET hour during the market close, because the sim engine finally saw the target price print somewhere in it's sim brain. lol, sometimes it flakes out badly. I suspect that is what happened to Armin..." Sometimes, sim engines flake out.