Forum

Why do I get a worse price for a Limit Order in MT5 simulation mode?

Hi, just saw that my limit sell/buy orders in simulation mode were sometimes filled worse than the limit price (see attachment for a limit sell order )? I think a limit order is always executed at the limit price, better or not at all. What am I doing wrong there? Thanks

Missing price ticks in orderbook on S&P500 future with MarketBookGet (MT5)?

Hi, I want to read the orderbook for each price level/tick. On S&P500 its 0.25. MqlBookInfo book[]; void OnBookEvent ( const string &symbol) { bool getBook = MarketBookGet (symbol, book); } In my DOM I see e.g. ... 3983.75 3983.5 3983.25 3983.0 3982.75 3982.5 3982.25 ... But with MQl5 in the book