TradingPactBETA
Menu
TRADINGPACT · BLOGProp firms & challenge survival

Monitor or Enforce: connecting an MT5 account

Not every account should grant trading rights. How Records only, Monitor with a read-only investor password, and Enforce with closing authority differ, and how credentials and stale streams are handled.

Before connecting a brokerage or prop-firm account to any risk tool, a careful trader asks three questions: what happens to my password, will this violate my prop firm's terms, and what happens if the connection drops while I have a position open?

TradingPact is MT5 only, and it separates tracking from trading authority so you choose the exact level of access each account grants.

Three ways to connect an account

When you add an account, you choose one of three connection modes:

Connection modeWhat you provideWhat TradingPact can doSuited to
Records onlyAccount name and balance only, no broker loginTrack pacts, plans, and manual or imported records with zero broker connectionOffline or standalone tracking
MonitorMT5 Investor Password (read-only)Read live balance, equity, deals, and open positions; track the firm's daily line; write receipts and send breach alerts; never places or closes a tradeProp-firm challenge and funded accounts
EnforceMT5 Master PasswordEverything in Monitor, plus Desk order routing, position protection, and, with closing on, closing positions that break a hard rule after the fillPersonal brokerage accounts, and prop-firm accounts whose firm allows it

For a prop-firm account, Monitor with the read-only investor password is the cautious choice. Because an investor password has no trading rights at the broker, Monitor mode cannot send an order, modify a stop, or close a position under any circumstance. A prop-firm account connected to Enforce starts with closing turned off; positions are closed only if you opt in.

If your prop firm permits automated risk management and you choose to switch an account to Enforce, you record an explicit consent receipt noting the connection mode, whether closing is allowed, and the firm stance shown at the time.

Where your broker password goes

We never store your broker password. When you connect an MT5 account in Monitor or Enforce mode, your login number and password are transmitted once over an encrypted channel to establish your isolated AWS-hosted native MT5 terminal session, which maintains the broker link for the account. TradingPact's database has no place for your password: it is passed through when you test or change a connection, not kept.

If you connect with a read-only investor password while selecting Enforce, or if the broker later reports that trading rights are disabled on the account, the enforcer detects the mismatch from the broker's own terminal state, records a receipt showing that closing was unavailable due to missing trading rights, and sends you a protection alert so you are never left assuming a trade will be closed when the broker will not allow it.

Desk pre-trade checks versus MT5 post-fill closes

How a rule is held depends on where you place the trade:

  • On the Desk: Every order is checked against your locked pact before it is sent to the broker. A hard rule refuses the order at the gate.
  • Directly in MT5: MT5 does not hold an order at the broker to ask an external server for permission. This is not a pre-trade block. On an account connected to Enforce with closing on, the enforcer watches the position stream and a position that breaks a hard rule is closed at market after the fill, best-effort, and the close is recorded on a receipt.
  • On an account in Monitor mode (or with closing turned off): Nothing is closed at the broker. The enforcer logs a receipt once for that breach episode and sends a protection alert to you, and to your accountability partner if you turned on breach notices for that link.

If a position opened from the Desk slightly exceeds your per-trade risk cap solely because of fill slippage, within the risk amount approved by the execution service plus 2%, the enforcer does not close it for that slippage alone.

What happens when a stream goes stale

Closing a trade or trailing a stop on outdated equity numbers is worse than doing nothing. Every 15 seconds, the enforcer verifies that the broker stream is connected, synchronized, and fresh.

If the stream disconnects, loses synchronization, or goes silent for 15 seconds:

  1. Equity-based closes and protection writes are held immediately so no trade is closed on stale data.
  2. The account is marked "Unprotected since" with the timestamp of the last fresh read.
  3. Upon reconnection, a full re-check runs across all open positions before normal enforcement resumes.

Separately, an independent watchdog checks the enforcer service every minute. Short deployment restarts send nothing, but if the enforcer is ever unreachable for 5 minutes running, every trader with a connected enforcement account is emailed an "Unprotected since" notice, followed by a confirmation email as soon as the service is back.

Changing authority while a pact is locked

If you could turn off position closing or downgrade an Enforce account to Monitor in the middle of a losing trade, a locked pact would have a back door. While your pact is locked, turning off force-close or downgrading your connection mode goes through the same server-side cooldown as a rule change, so the pact stays intact when you need it most.

See how connection modes fit into challenge compliance in the Prop-Firm Challenge Survival & Drawdown Guide, inspect Security & Enforcement Safety for write-authority gates and stale-stream holds, review Monitor vs Enforce vs Records Only side by side, and compare pre-trade and post-fill scopes in Hard rules and soft rules.

QUESTIONS & ANSWERS
Does TradingPact store my MT5 master or investor password?
No. We never store your broker password in TradingPact's database. It is sent over an encrypted connection to provision or test the MT5 terminal and is not retained.
What happens if my live MT5 stream disconnects while Enforce is active?
If a broker stream goes silent for 15 seconds, equity-based closes and protection writes pause immediately so nothing acts on stale numbers, and the account shows Unprotected since until a fresh synchronized read completes.