This article is for education and risk awareness, not investment advice. Verify platform rules and fees in the latest official documents of the relevant broker entity.

1. Market Orders and Pending Orders: First Distinguish the Two Types of Orders

  • Market orders pursue the fastest execution but do not guarantee the price: They are executed immediately at the current best available price, and slippage may occur in fast markets​​WikiFXcomparefx.co​ ​;
  • Limit orders limit the worst price but may fail to execute: They are executed only at the specified price or a better price (buy limits below the current price, sell limits above the current price), and if the price never reaches it, they wait forever for TraderDetector.

In other words: market orders "want execution," limit orders "want price."

2. Stop Orders: Triggering and Execution Are Two Different Things

  • After a stop is triggered, it usually becomes a market execution: A stop order is activated after the price triggers the trigger price, and then it is executed at market;
  • During gaps, the actual execution may go beyond the trigger price: In fast markets or gaps, the trigger price is not equal to the execution price, and the actual execution may be worse;
  • Stop loss and take profit are also trigger instructions, not guaranteed execution prices—they guarantee "trigger when this price is reached," not "execute at this price."

3. OCO and Trailing Stops

  • OCO (One Cancels Other): When one order is executed, the other is automatically canceled, often used for breakout pending orders. Before placing an order, confirm whether the platform truly supports it: MT5 does not natively support OCO, and it is usually implemented by an EA or trading panel. If implemented on the client side, the other order may not be canceled in time when the terminal is offline; if supported on the server side, the behavior may also differ, StoicFXFP Markets;
  • Trailing Stop: Moves the stop loss unidirectionally along with the price. MT5's trailing stop is executed by the client, depends on the platform being online—when the terminal is offline, the trailing stop no longer updates, but the server-side stop loss that has already been set will still trigger.

4. Order Type Determines the Trigger Method

  • Market order: Execution first, price second;
  • Limit order: Waits for a better price and may never execute;
  • Stop pending order: Triggered after the price breaks through, and in gaps and fast markets the execution price may exceed the trigger price;
  • OCO: Also confirm where the platform implements it—client-side EA or server-side—because offline behavior differs between the two.

5. Pre-Order Checklist

Before placing an order, confirm the following fields, then submit the order:

  • Maximum order size (maximum lots/units);
  • Minimum pending order distance (stops level, the minimum distance between the trigger price and the current price);
  • Trading rules (trading increments, position limits, execution mode);
  • Stop loss and take profit rules (whether they are mandatory and distance limits);
  • Slippage settings (market execution, tolerance in fast markets).

First verify the platform's actual behavior in a demo account, then link the order logic to the EA. Do not directly move backtesting logic to live trading (for execution differences between backtesting and live trading, see [internal link: EA Backtesting Guide] Section 7).

6. Choose Orders by Scenario, Not Just by Memorizing Names

Table

Scenario

Order Type

Cost

Want to enter the market immediately

Market order

The execution price may be lower than the quote seen

Want a pullback to a better price

Limit order

May never execute

Enter after a breakout trigger

Stop pending order

After a gap, it may execute at a worse price

The same applies to stop loss and take profit: they are trigger instructions, not guaranteed execution prices.

7. Put the Terminology Back into Account and Order Scenarios

When recording order logic, you should record trigger conditions, server time, latest price, allowed minimum distance, and partial execution handling. If OCO is implemented by an EA on the client side, the other order may not be canceled in time when the terminal is offline; if supported on the server side, the behavior may also differ—write these differences into backtesting and contingency plans (see [internal link: Forex VPS Configuration and EA Operation Monitoring Guide] Section 6).

The same terminology may be displayed differently on different platforms, instruments, and accounts. Open contract specifications or a demo account to verify the fields, and points, pip value, contract size, margin currency, and quote decimal places must be understood together. The test of learning terminology is not memorization, but being able to answer three questions:

  1. Where does this number come from;
  2. How does it change when the price or position changes;
  3. How will it affect costs and liquidation risk.

When encountering platform-specific names, first check the official manual and customer agreement. Examples are only used to illustrate relationships and cannot directly represent fixed parameters of any real account.

8. Apply to Your Account Conditions

Replace the numbers and steps in this article with your own account conditions (instrument, minimum distance, slippage, OCO implementation method), and record the relevant data sources, observation dates, and assumptions confirmed for variables. Order types and execution rules vary greatly across platforms, so use the official pages as the standard; for fields that cannot be confirmed from official documents, keep them as unknown and verify with the provider.

Frequently asked questions

Do pending orders always execute at the set price?

Not necessarily. It depends on the order type, liquidity, and platform execution rules: limit orders execute only at the specified price or a better price, stop orders execute at market after being triggered, and during gaps the execution price may exceed the trigger price.

Can stop loss eliminate risk?

No. Stop loss limits the planned risk, but slippage and gaps still exist, and the actual execution may be worse than the stop loss price.

Does MT5 natively support OCO?

No. MT5 does not natively support OCO, and it is usually implemented by an EA or trading panel; with a client-side implementation, when the terminal is offline, the other order may not be canceled in time.

Will trailing stops fail when offline?

It depends on where it is implemented. MT5's trailing stop is executed by the client and no longer updates when the terminal is offline; however, the server-side stop loss that has already been set will still trigger.

What is most easily overlooked in actual use?

Confirm the minimum order size, minimum pending order distance (stops level), trading rules, stop loss and take profit rules, and slippage settings; first verify the platform's actual behavior in a demo account, then link the order logic to the EA. In addition, common ones include: treating stop loss and take profit as a "guaranteed execution price," assuming that MT5 without native OCO can still cancel offline, and relying on the terminal being online for trailing stops.

Conflict disclosure: we may receive referral commission from partner brokers, but this does not justify omitting costs, eligibility limits or risks. Report corrections with sources through our contact page.

Team information