Skip to content

Order Type: Market, Limit and Stop orders

The Order type of an Open signal decides how the order is sent to the broker: at once, or as a pending order that waits for a price.

In short:

  • Market Order: opens immediately at the current market price.
  • Limit Order and Stop Order are pending orders: they wait at the broker for the At price.
  • A pending order can expire: after a condition (Expire when) or a time (Expire after).

In the signal editor of Open Buy or Open Sell, choose from the following order types:

  • Market Order: opens immediately at the current market price. The order is sent to the broker and filled at the current price.
  • Limit Order: opens only when the price reaches a better level than now. A pending order that requests a better price.
  • Stop Order: opens when the price moves further in your direction to a set level. A pending order that waits until the price reaches a target price.

A pending order (Limit Order or Stop Order) is filled at some time in the future, if it can be filled for the requested price before it expires.

Order type list with Market Order, Limit Order and Stop Order and a short description of eachOrder type list with Market Order, Limit Order and Stop Order and a short description of each
Select the type of order you would like to send to the broker.

With a Market Order you only configure the Open Trade when condition: the order is sent to the broker when this condition is met.

A pending order shows extra tabs in the signal editor:

  • Open Trade when: the condition that sends the order to the broker
  • At price: the price at which the order is filled
  • Expire when: a condition that deletes the order before it is filled
  • Expire after: a time after which the order is deleted if it isn’t filled
Signal editor with Order type Limit Order and the tabs Open Trade when, At price, Expire when and Expire afterSignal editor with Order type Limit Order and the tabs Open Trade when, At price, Expire when and Expire after
A Limit Order has the tabs Open Trade when, At price, Expire when and Expire after.

The condition, built in the same way as for a Market Order: when it is met, the pending order is sent to the broker.

The At price is a value you build like an Advanced Condition: from Values, Operations and Math Operators. For example Ask + 10 × Pip for a Buy Stop 10 pips above the current price.

The At price must be on the right side of the current price:

  • Buy Limit: below the current Ask
  • Buy Stop: above the current Ask
  • Sell Limit: above the current Bid
  • Sell Stop: below the current Bid
At price tab with the text The price at which the order is filled. Must be below the current Ask, and Operation, Value and Math OperatorAt price tab with the text The price at which the order is filled. Must be below the current Ask, and Operation, Value and Math Operator
The At price tab of a Buy Limit: the price at which the order is filled. Must be below the current Ask.

A Pending Order waits at the broker until the price reaches the At price level. If that takes too long, or the market changes, you may no longer want the order. Use the two expiry tabs to delete a Pending Order that hasn’t been filled yet.

A condition, built in the same way as the Open Trade when condition. The order is deleted if this condition is met before it is filled.

A duration in Days (up to 365), Hours (0 to 23) and Minutes (0 to 59). The order is deleted if it isn’t filled within this time. Leave all three at 0 if the order shouldn’t expire after a fixed time.

  • If you use both, the order is deleted as soon as the first of the two happens.
  • Once a Pending Order is filled, it is a normal open order and the expiry settings no longer apply.

Your EA places a Buy Stop above the current Ask when the price breaks out of a range. If the breakout doesn’t happen within the same trading day, you no longer want the order:

  • Expire after: 0 Days, 8 Hours and 0 Minutes
  • Expire when: Moving Average 7 Down Cross Moving Average 30, to also delete the order when the trend turns

MetaTrader is a registered trademark of MetaQuotes Ltd. EA Builder Pro is not affiliated with MetaQuotes.