FXCompute Trade Copier Bridge for MetaTrader 5
- ユーティリティ
- バージョン: 1.21
FXCompute Trade Copier Bridge is a lightweight, ultra-low latency execution engine that connects your MetaTrader 5 terminal directly to your FXCompute cloud trade copying network with zero third-party software required.
Overview
FXCompute Trade Copier replicates trades across your accounts in real time. Operating alongside dedicated 24/7 cloud infrastructure, it handles position opens, modifications (Stop Loss and Take Profit), partial closes, and market exits with millisecond execution precision. Your MT5 terminal can serve as an authoritative trade leader, an automated follower, or a bidirectional synchronization node.
This is the pure headless bridge: zero visual clutter, no DLL imports required, no external installers, and zero background bloat. Attach it to a single chart, enter your account token, and run continuous trade replication with minimal CPU and memory footprint.
Key Functionality
- High-Frequency Cloud Synchronization: Replicates trades seamlessly between MetaTrader 5, MetaTrader 4, and cTrader accounts across different brokers.
- Bidirectional Replication: Act as a Leader (broadcasting your manual or EA trades to followers), a Follower (executing incoming signals), or both simultaneously on the same terminal.
- Multi-Tier Transport Ladder: Automatically negotiates the fastest route—prioritizing persistent WebSockets and kept-alive TLS sockets, with instant fallback to optimized native web requests.
- Zero Installation Hassle: A single, self-contained MQL5 Expert Advisor file. No extra DLL libraries, no Windows registry edits, and no third-party runtimes.
- Multi-Account Aggregation: Merge signals from multiple source accounts into a single MT5 follower account with distinct risk weightings.
- Automated Position Reconciliation: Cloud and terminal synchronization monitors detect and resolve orphaned trades or missed exits after connection interruptions.
- Zero Trade Interference: Strictly filters orders by Magic Number. Your manual positions, discretionary scalps, and independent robots on the same account remain completely untouched.
- Full Account Architecture Support: Native support for both Hedging and Netting account modes, handling multi-leg positions and partial volume reductions cleanly.
Integration into Trading Workflow
- Account Connection: Register this account in the panel under Settings once and copy the token it issues. The token belongs to the account, so the same one serves this headless build.
- Session Setup: Pair your leader and follower accounts, selecting this MT5 terminal as the source or destination.
- Parameter Configuration: Define position sizing rules, lot multipliers, stop loss offsets, and symbol mapping directly in the cloud dashboard.
- Terminal Activation: Attach the bridge to any active chart, enter your token, and allow automated execution.
- Passive Cloud Execution: Trade normally on your leader account. Execution events are captured, resolved, and filled on your terminal in milliseconds.
Cloud Copier Settings & Advanced Features
All core replication logic is configured centrally in your cloud account and applied across your sessions:
- Lot Multiplier: Proportional volume scaling (e.g. 1.0 for 1:1 sizing, 0.5 for half size, 2.0 for double volume).
- Risk Per Trade: Automatically scales follower lot size based on a percentage of account balance or equity.
- Volume Caps: Enforces global minimum and maximum lot limits per trade.
- Reverse Copying: Inverts trade directions so that BUY on the Leader becomes SELL on the Follower, and vice versa.
- Skip Unprotected Trades: Ignores leader trades that lack a predefined Stop Loss or Take Profit.
- SL and TP Distance Override: Enforces custom fixed Stop Loss or Take Profit distances in points or pips.
- Trailing Stop & Break-Even: Moves Stop Loss to break-even once target profit is reached, then trails the market price.
- Partial Take-Profit Scaling: Closes defined fractions of volume at initial targets while trailing the remainder.
- Symbol Mapping & Multipliers: Translates mismatched broker symbol names (e.g. GOLD to XAUUSD, EURUSD to EURUSD.pro) and applies asset-specific multipliers.
- Time & Side Filters: Restricts copying to specific trading hours, weekdays, or trade directions (Buy Only or Sell Only).
Terminal Settings and Input Parameters
Connection Settings
- gInpApiUrl: Secure FXCompute API gateway endpoint. Leave as default unless instructed by support.
- gInpApiToken: The account token, issued when the account is registered in the panel's Settings (it is shown once, at that moment). Required to link your terminal.
- gInpPollSeconds: Command polling interval in seconds. Default is 3 seconds.
- gInpRequestTimeout: Maximum network wait time in milliseconds for HTTP calls. Default is 15000 ms.
- gInpUseSockets: Enable ultra-fast persistent socket/WebSocket transport ladder for lightning-fast command delivery. Default is true.
Client-Side Risk Limits (0 disables the check)
- gInpMaxLot: Hard ceiling on the lot size of any single copied trade. Protects your balance against oversized orders. Default is 0 (unlimited).
- gInpMaxDailyLoss: Daily loss protection threshold in your account deposit currency. The bridge automatically halts all new copy execution if this closed loss is reached today. Default is 0 (unlimited).
- gInpMaxSlippage: Maximum allowable price deviation in points between signal price and execution price. Trades exceeding this tolerance are rejected to preserve trade quality. Default is 30.
Operation and Mode Configuration
- gInpLeaderMode: Set to true to broadcast all manual and EA trades opened on this terminal to your follower network. Default is true.
- gInpFollowerMode: Set to true to execute trades dispatched from your FXCompute leader sources. Default is true.
- gInpMagic: Unique Magic Number stamped on all copied positions for total separation from your manual trades. Default is 20260914.
Diagnostics and Recovery
- gInpLogLevel: Terminal log detail level: 0 for silent operation, 1 for standard operational messages, 2 for comprehensive verbose debugging. Default is 1.
- gInpRateLimitBackoffSeconds: Automatic safety pause window in seconds when encountering API rate limits before resuming checks. Default is 30 seconds.
Typical Use Cases
- Multi-Account Portfolio Management: Replicate trades from a master strategy account across multiple MT5 accounts while enforcing individual risk tiers.
- Cross-Platform Strategy Synchronization: Execute trades on cTrader or MetaTrader 4 and automatically mirror them onto MetaTrader 5 in real time.
- Prop Firm & Asset Allocation: Manage multiple evaluation or funded accounts simultaneously with customized lot multipliers and strict daily loss caps.
- Strategy Hedging & Inversion: Deploy reverse copying across separate broker environments for statistical hedging or counter-trend testing.
Who This Product Is For
Designed for prop firm traders, signal providers, money managers, and algorithmic traders who require institutional-grade execution speed, flexible cross-broker symbol translation, and reliable 24/7 background trade synchronization without cumbersome third-party software.
Installation & Quick Start
- 1. Enable Allow Algo Trading on the MetaTrader 5 top toolbar.
- 2. Go to Tools > Options > Expert Advisors, check Allow WebRequest for listed URL, and add: https://fxcompute.com
- 3. Attach the EA to any active chart (timeframe and symbol do not restrict multi-symbol copying; one chart handles all symbols).
- 4. Register this account in the panel under Settings and copy the token it shows (it is shown once, at registration). Paste it into gInpApiToken and click OK.
- 5. Check the Experts tab: a successful connection log confirms your bridge is live and ready to copy.
Limitations and Usage Notes
- Execution Fill Prices: Signal dispatch takes milliseconds, but execution fill prices depend on your broker liquidity, spread, and server ping.
- Symbol Mapping: Ensure non-matching symbol names (e.g. GOLD vs XAUUSD) are mapped in your cloud session settings before activating.
- Market Hours: Orders sent while the destination market is closed will be rejected by the destination broker.
- Single Instance: Run only one instance of the bridge per trading account to prevent duplicate executions.
- Risk Warning: Trading financial markets carries risk. Past performance does not guarantee future results.
Support and Assistance
For assistance, feature inquiries, or setup questions, contact us directly via the Comments tab on this product page or send a private message via the MQL5.com messaging system. When reporting an execution question, set gInpLogLevel to 2 and attach the relevant log output from the Experts tab.

