Market Order – An immediate buy or sell order executed at the current market price. MT4/MT5 have two market order types: Buy (market) and Sell (market). When submitted, these orders fill at the best available price (there can be slippage). In MQL, OrderSend()
with action TRADE_ACTION_DEAL
is used for market orders. A market order appears in the chart (and Terminal) until it’s closed.