A market order to purchase (go long on) the base asset of a symbol. A Buy market order executes immediately at the ask price. In MQL4 the OrderSend()
function with OP_BUY
is used to place a Buy order; in MQL5 one can use OrderSend()
or the CTrade::OrderSend()
method.