Market Order - An order to buy or sell a currency pair immediately at the best available price. Market orders execute instantly against the current bid or ask quote, so the trader accepts the prevailing price. For example, in a Forex robot one might call a function like
PlaceMarketOrder(TradeType.Buy, Symbol, volume)
 (cTrader Automate API) or useÂ
OrderSend()
 in MetaTrader to submit a market order. Market orders ensure execution but give no control over the exact fill price, so they are used when immediacy is more important than price.