The MT5 deviation setting and what it does to your fills on fast markets
Posted: Thu Oct 08, 2026 1:29 am
The MT5 deviation setting and what it does to your fills on fast markets
when you send a market order on MT5, there's a deviation or slippage setting, which is the maximum difference in price you'll accept between what you requested and what you get. I didn't pay attention to it for a long time and it was costing me.
If it's set too wide, the order will fill at nearly any price during a fast move, and you can get a bad fill. If it's set too tight, the order may be rejected in a fast market, and you'll miss the entry. There's no perfect value. It depends on the pair, the time of day and how fast you need the fill.
For my entries in normal conditions, I use a small value, like a pip or so on majors, and for stop orders I allow a bit more because I'd rather exit than not. In an EA, you set it in the code, and it's worth thinking about it per symbol rather than using one number.
Better yet, use limit orders where possible. Then the question goes away because you're stating the price you'll accept.
when you send a market order on MT5, there's a deviation or slippage setting, which is the maximum difference in price you'll accept between what you requested and what you get. I didn't pay attention to it for a long time and it was costing me.
If it's set too wide, the order will fill at nearly any price during a fast move, and you can get a bad fill. If it's set too tight, the order may be rejected in a fast market, and you'll miss the entry. There's no perfect value. It depends on the pair, the time of day and how fast you need the fill.
For my entries in normal conditions, I use a small value, like a pip or so on majors, and for stop orders I allow a bit more because I'd rather exit than not. In an EA, you set it in the code, and it's worth thinking about it per symbol rather than using one number.
Better yet, use limit orders where possible. Then the question goes away because you're stating the price you'll accept.