TradingPactBETA
Menu
Checked When First Seen·Held if stream stale (>15s)·Updated 2026-11-27

Max Open Trades Rule (MT5): Concurrent Position Count Limit

Limits how many simultaneous open positions an account can carry at once. Locking this cap in your trading pact (your locked rules) prevents attention fragmentation and correlated exposure bloat.

Rule Specification · Max Simultaneous Open Trades

Max Open Trades enforces openPositions < max at Desk submission and when a direct MT5 fill is first seen. On MT5 reconnects or bursts, the enforcer counts only positions opened strictly before the new position so earlier trades are never closed out of order.

Parameters & stream handling

Max open positionsPositive integer count

Maximum allowed active positions across all symbols on the connected MT5 account.

Ordering ruleStrictly opened earlier

Direct MT5 enforcement evaluates positionsOpenedBefore so only the incremental violating fill is judged.

Stale-stream boundary: Held while stream is stale (>15s silence) because accurate account-wide position counts are required.

How Max Open Trades behaves across modes

Surface & modeBehaviorAudit & safety notes
Desk · Hard ruleRefuses new order when open count reaches maxIncludes active open positions reported on the synced MT5 terminal state.
Desk · Soft ruleWarns when opening above preferred slot countLogs acknowledgment on manual order; armed plans pause on Soft warnings.
Direct MT5 · Enforce (closing on)Closes incremental fill exceeding cap at first sightWaits for fresh stream sync so partial lists never miscount open positions.
Direct MT5 · Monitor / closing offLogs Hard violation receipt & notificationAlerts trader once per breach episode without closing any open trade.

Holding a maximum of 2 concurrent positions during London overlap

  1. Pact locks Max Open Trades at 2 across the account.
  2. Trader holds 1 long EURUSD and 1 short XAUUSD simultaneously (2 active slots full).
  3. Clicking Buy on GBPUSD in the Desk fails pre-trade immediately (2 open, limit is 2) until one active position closes.

Implementation safeguards

  • Enforces strict chronological comparison (`positionsOpenedBefore`) so simultaneous or reconnected fills only attribute overflow to newer entries.
  • Withholds live evaluation during stale stream windows (>15s) until full synchronized position list returns.
  • Pairs cleanly with Max Concurrent Open Risk when two slots still carry unequal stop budgets.

Frequently asked questions

If two positions open in quick succession directly in MT5, which one gets flagged?

The enforcer orders positions by opening timestamp (`positionsOpenedBefore`), evaluating the newer incremental position against already-open slots rather than closing earlier valid trades.

Do pending limit orders count toward Max Open Trades before they fill?

Max Open Trades tracks live open positions, while working orders and holds consume daily entry quota and Desk risk budget where applicable.

Why does Max Open Trades pause enforcement during a stale MT5 stream?

Counting open positions requires an intact full-account snapshot. When telemetry is stale (>15s), TradingPact holds account-wide closes until synchronization resumes.

TRADINGPACT DESK · MT5

Lock your trading rules and price every order before MT5.

Join the waitlist for hosted Desk access, or look around the view-only demo on sample data, with no broker login or card required.