Pending Order Setup Calculator
Check Buy Limit, Sell Limit, Buy Stop or Sell Stop entry placement against manually entered Bid, Ask and stop-level points, then inspect protective-price ordering and distances.
Enter the pending-order setup
Use one consistent price snapshot and copy the point size and stop-level points from the exact broker symbol. Stop-limit orders are deliberately excluded.
Pending-order check
MT Setup Audit 1.0.0.
| Check | Entered or derived value | Status | Explanation |
|---|
How pending prices are checked
Sell Limit: Entry above entered Bid
Buy Stop: Entry above entered Ask
Sell Stop: Entry below entered Bid
Entry distance = |Entry − Applicable quote| ÷ Pip or point size
Buy setups require Stop Loss below entry and Take Profit above entry. Sell setups reverse those protective-price relationships.
An entered stop level of zero remains unconfirmed because MQL4 documents that zero can also represent a dynamic server-side restriction.
Worked example from the audited fixture
With EURUSD Bid 1.0850, Ask 1.0852, point size 0.00001 and pip size 0.0001, a Buy Limit at 1.0830 sits 220 points or 22 pips below the applicable Ask. A Stop Loss at 1.0800 is 30 pips below entry, while a Take Profit at 1.0890 is 60 pips above entry, producing a gross target-to-stop ratio of 2.00. The entered spread is 2 pips.
How to interpret the result
The price side, a 50-point entered minimum distance and both protective-price relationships pass this example. That confirms only a consistent snapshot and ordering calculation; prices can move, restrictions can be dynamic, and only the broker server can accept or reject the actual request.
Assumptions and limits
- Only Buy Limit, Sell Limit, Buy Stop and Sell Stop are supported.
- MT5 Buy Stop Limit and Sell Stop Limit require a second stop-limit price and are excluded.
- Bid, Ask, point size, pip size and stop-level points are manually entered snapshots.
- Stop Loss and Take Profit may be left blank, but the corresponding checks remain unconfirmed.
- No digits normalization, freeze level, order-mode flag, margin, filling, expiration or server response is checked.
Frequently asked questions
- Buy Limit, Sell Limit, Buy Stop and Sell Stop are supported because both MT4 and MT5 expose those common types.
- MT5 stop-limit orders require an activation price and a second limit-order price. Hiding that extra field would make the common setup model misleading.
- Buy Limit and Buy Stop compare the entered pending price with the entered Ask.
- Sell Limit and Sell Stop compare the entered pending price with the entered Bid.
- It is the manually entered minimum point distance from the symbol specification. The page compares it with the pending-entry distance only.
- MQL4 documents that zero can mean no static restriction or a dynamic server-side rule, so the browser cannot confirm acceptance.
- The platform request can use zero values, but leaving either blank means this page cannot check its ordering or derive the complete reward/risk ratio.
- No. It performs browser-side arithmetic and never calls OrderCheck or OrderSend.
Sources and methodology
- MQL5 Reference — Order Types — Official limit, stop and stop-limit pending-order definitions.
- MQL5 Reference — MqlTradeRequest — Official pending price, Stop Loss, Take Profit, stop-limit and type fields.
- MQL4 Reference — OrderSend — Official pending-price and MODE_STOPLEVEL constraints, including the dynamic-zero caveat.
Continue MT4 / MT5 planning
Verify platform and broker rules
Confirm the exact broker entity, account, platform, symbol specification, EA inputs and order rules before relying on an entered check.
Risk and affiliate disclosure: Leveraged forex and CFD trading can result in substantial losses. These are affiliate links, so ForexMT4Indicators.com may receive compensation if you register or trade through them, at no additional cost to you. Availability and terms vary by jurisdiction and broker entity.

