Why Slippage on Limit Orders with MT5?

Discussion in 'Index Futures' started by Armin, Jun 2, 2022.

  1. Armin

    Armin

    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...
     
  2. Armin

    Armin

    Forgott to mention for S&P500...
     
  3. Overnight

    Overnight

    You answered your own question, and did not realize it. Simulation means simulation. It's not an exact thing.
     
    TheDawn likes this.
  4. TheDawn

    TheDawn

    In Simulation mode, you are not dealing with real data but stale data that does not reflect executions of orders properly.
     
  5. Overnight

    Overnight

    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.
     
  6. Armin

    Armin

    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?
     
  7. Overnight

    Overnight

    With AMP? No, I do not see how that would change anything, because you are getting live data on both accounts.
     
  8. schizo

    schizo

    Nevertheless, considering that this is a LIMIT order, it shouldn't have any problem executing at the stipulated price.
     
  9. Overnight

    Overnight

    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.
     
  10. Armin

    Armin

    Yes I read your post, but I have slippage on 50% of my Limit Orders, not only sometimes.
     
    #10     Jun 4, 2022