MT5 Server Plugin

Dealer Hedge

for MT5 Brokers

One group change. Fully hedged. Surgical client-level hedging with partial ratios and per-symbol filters, automated 24/5 on your MT5 server. No bridge required.

24/5

Always-On Hedging

0–100%

Partial Hedge Ratios

N+1

Multi-Account & Multi-LP

<1ms

Server-Side Callback

The Problem

Manual Hedging is Killing Your Dealing Desk

Your dealer spots a dangerous client. The client has 8 open positions across 5 symbols. Now the dealer opens MT5 Admin, manually mirrors every position, prays the prices haven't moved, then babysits every close, partial close, SL move, and new entry — 24/5. Multiply by 20 hedged clients.

No Bridge = No Risk Management

Most small and mid brokers run on a price feed only. When a client wins, the choice is hope or manual hedging. Both lose money.

Bridges Are All-or-Nothing

A bridge routes whole groups. You can’t hedge one specific client at 50% on gold only — the granularity simply isn’t there.

24/5 Markets vs 8h Dealers

Your desk works 8–10 hours. The market doesn’t. Hedges drift at 3 AM and you wake up to 80 pips of unmatched exposure.

The Dealer Hedge Difference

Dealer Flips Group

real\B\VIP → real\A\VIP

2 sec

Plugin Mirrors Positions

Same symbol, direction, SL/TP — ratio applied

Hedge Synced 24/5

Opens, closes, partials, SL/TP edits — all automatic

Watch Dealer Hedge in Action

See How Dealer Hedge Works

Walk through rule setup, the group-flip workflow, partial ratios, symbol filters, and how the plugin keeps the hedge account perfectly synced with client positions in real time.

How Dealer Hedge Works

Define rules once. Flip groups when you need to hedge. Plugin handles everything else.

1

Define Your A-Book Groups

Tell the plugin which MT5 groups are A-book. Supports exact names or wildcards like real\A\* so every subgroup is treated as A-book automatically.

2

Define Your Rules

Each rule maps a list of logins (or group patterns) to a hedge account with a ratio and an optional symbol filter. Mix and match logins and wildcards freely.

3

Dealer Flips the Group

When a client needs hedging, the dealer moves them to any A-book group in MT5 Admin. One click. The plugin detects the change instantly.

4

Plugin Handles the Lifecycle

All open positions are mirrored to the hedge account with their SL and TP. Every new trade, edit, partial close, SL/TP move, and full close is synced 24/5.

5

Dealer Flips Back When Done

Moving the client back to a B-book group instantly closes every matching hedge trade. No manual cleanup, no orphans.

Rule Anatomy

Surgical Rules, Login + Group + Symbol

Mix individual logins, group wildcards, and symbol filters in a single rule. Each rule routes to its own hedge account with its own ratio.

dealer_hedge.cfg
# Name | Hedge Account | Ratio % | Logins / Group Patterns | Symbol Filter (optional)
Rule_1 = GoldScalper|5001|100|500|XAU*
Rule_2 = Strong_VIPs|5001|75|100,101,102
Rule_3 = Watch_List|5001|30|200,201,202,203
Rule_4 = WholeBBook|5004|100|real\B\Standard
Rule_5 = FX_to_LPA|5002|100|100,101,102,103|EUR*,GBP*,USDJPY
Rule_6 = Indices_to_LPC|5003|50|100,101,102,103|US30,US500,NAS100,GER40

Login + Group Targeting

Pure-digit tokens are logins. Anything else is a group pattern with wildcards. Mix both in one rule.

Ratio 0–100%

Partial hedging is where real risk management lives. Set the exact ratio per segment.

Optional Symbol Filter

XAU*, EUR*, BTC*, US30,NAS100 — mirror only the toxic symbols. Empty = all symbols.

Why Client-Level

Hedge the Client, Not the Whole Group

A VIP group of 50 clients has 3 consistent winners and 47 average traders losing as expected. A bridge routing the whole group to LP pays costs and gives up B-book revenue on 47 normal clients to protect against 3.

Dealer Hedge targets the exact clients that need hedging and leaves everyone else alone. Pair it with Hedge Account for group-wide hedging or with Smart Execution to neutralise fast-closing toxic flow before it ever hits the book.

Account-Level Rules

Highest Precision

Target one specific login. The whale, the scalper, the watch-list account. The other 47 group members stay untouched.

Group Wildcards

Bulk Coverage

Hedge an entire group like real\B\Standard when the whole segment needs to flip. Wildcards keep config compact as the book grows.

Pairs With Your Bridge

Complementary

Bridge handles group-level routing. Dealer Hedge handles client-level surgical hedging. Both run at once with no conflict.

Partial Hedging — Where Real Money Is Made

Full hedge gives up B-book revenue. Zero hedge exposes you to client recovery. Partial ratios sit in the middle — the rational risk treatment every client deserves.

RatioYour RiskYour RewardBest For
0% (B-book)Full client riskFull client losses = your profitNew clients, unproven flow, expected losers
25–30%70–75% of client riskMost of the spread + most of the lossesEarly profits, you want some downside cushion
50%Half of client riskHalf of the losses + half of the markupModerate winners, uncertain flow, large depositors
75%Quarter of client riskMostly spread markup with some B-book upsideConsistent winners, reducing exposure
100% (A-book)Zero client riskSpread markup onlyToxic flow, scalpers, news traders, proven winners

Example: The Gold Scalper

A client makes $8,000/month scalping XAUUSD and loses $3,000/month on FX. Net cost: $5,000/month. Set rule GoldScalper|5001|100|500|XAU* — gold trades are mirrored to LP, FX trades stay in B-book. Net result: +$3,000/month. An $8,000/month swing on one client from 8 characters of config.

Why Brokers Choose Dealer Hedge

Built for the demands of live dealing desks — surgical, automated, transparent, and safe under real conditions.

Client-Level Hedging

Hedge the exact client that needs it, not the whole group. Mix login lists and group wildcards in a single rule for surgical precision your bridge cannot deliver.

Partial Ratios, 0–100%

Hedge 30% of a new whale, 50% of a recovering loser, 100% of a proven scalper. Each client segment gets the exact risk treatment it deserves.

Per-Symbol Filtering

Hedge only the symbols a client is actually winning on. Gold scalper? Mirror XAU* only, keep their FX flow in B-book. Surgical precision per instrument.

Full Lifecycle Automation

Open, partial close, SL/TP edit, stop out, margin call — every client action is mirrored on the hedge account in real time. No dealer babysitting.

No Bridge Required

Works with any MT5 account as the hedge destination. If you already have a bridge, Dealer Hedge layers on top with client-level precision.

Safe Restarts & Live Reload

Trades are tagged. On restart or config reload, the plugin reconciles state idempotently. Never duplicates a hedge, never orphans one.

Full Hedge Lifecycle, Fully Automated

Every client action is reflected on the hedge account. No dealer babysitting required.

Live Mirroring

Every client open is mirrored on the hedge account with the same symbol, direction, SL, and TP — volume scaled by the rule's ratio.

EURUSDBUY 3.01.5 @ 50%
XAUUSDSELL 1.01.0 @ 100%
GBPUSDBUY 1.50.75 @ 50%

SL / TP Sync

When the client edits SL or TP, the change is propagated to the matching hedge trade live. Stop outs, margin calls, and TP hits all close the hedge automatically.

Synced

SL Edit

Synced

TP Edit

Closed

Stop Out

Closed

Margin Call

Tagged & Auditable

Every hedge trade carries a tag linking it to the source client and position. Restarts and reloads reconcile state idempotently — no duplicates, no orphans.

hg:500:1820001 → source position
Per-client close isolation
Live config reload, no restart
Idempotent prime on startup
Technical Details

Built for Production MT5 Servers

Native server plugin. No external services. No polling. No dependencies. Runs entirely inside the MT5 Trade Server process with server-side callbacks.

Runs natively inside the MT5 Trade Server process
Server-side callbacks, never polling
Live config reload — no server restart
Per-client isolation — multiple clients share a hedge account safely
Tagged trades for full auditability and idempotent recovery
IP-licensed via CDN — no keys, no dongles, no activation
PlatformMetaTrader 5 Server
Plugin TypeNative x64 DLL
LanguageC++17, Static CRT
Trigger ModelMT5 server-side callbacks (no polling)
Trade Taghg:<client_login>:<position_id>
LicensePer-server, IP-bound (CDN-based validation)
dealer_hedge.log
// Client moved into A-book group
[14:32:07]GROUP_CHANGElogin=500
from: real\B\VIP
to: real\A\VIP
rule: GoldScalper
// Existing position mirrored
[14:32:07]HEDGE_OPEN
client_login: 500
client_pos: 1820001
hedge_account: 5001
symbol: XAUUSD
side: SELL
volume: 1.00 @ ratio=100%
sl/tp: mirrored
tag: hg:500:1820001
// Client TP hit
[14:48:12]HEDGE_CLOSEreason=tp_synced

Who Is This For?

Any MT5 broker managing risk by hand or hitting the limits of group-level bridge routing.

Feed-Only Brokers (No Bridge)

First-time ability to hedge specific clients without a bridge. Connect the hedge account to any LP via MT5-to-MT5 or basic MAM.

Small Brokers With a Bridge

Client-level precision on top of group-level bridge routing. Hedge individual B-book clients without moving them to A-book.

Mid-Size Brokers Scaling Up

Eliminate manual hedge operations and scale dealing desk capacity without growing headcount. Pairs naturally with Forex CRM for full back-office automation.

Multi-LP Brokers

Route FX, metals, indices, and crypto to different LPs per rule. Add Centroid Bridge management for unified LP orchestration and separate P&L tracking per segment.

PRICING

Simple, Transparent Pricing

Licensed per server. Everything included, no hidden costs.

Monthly Subscription

$0/mo

Flexible monthly billing with full access to all Dealer Hedge features.

  • Unlimited hedge rules and accounts
  • Login + group wildcards + symbol filters
  • Live SL/TP mirroring and 24/5 auto-close
  • Idempotent restarts, live config reload
  • Full audit trail on every hedge action
  • 24/7 dedicated support
Get Started
Limited Time

Perpetual License

$0/one-time

One-time payment for lifetime access. Single server license.

  • Everything in Monthly, forever
  • One-time payment, no renewals
  • Single server license
  • All future updates included
  • Whitelabel available (minimum 3 licenses)
  • 50% off on each new license / server
  • Priority support
Get Perpetual License

Frequently Asked Questions

Common questions about Dealer Hedge execution, configuration, and safety.

Do I need a bridge to use Dealer Hedge?

No. Dealer Hedge works without any bridge. The hedge destination is just another MT5 account, which can sit on the same server, a different server, or be linked to an LP via MT5-to-MT5 or MAM. If you already have a bridge, Dealer Hedge complements it by handling client-level surgical hedging on top of group-level bridge routing.

How fast does the plugin react to a client trade?

The plugin reacts on MT5 server-side callbacks, not polling. Hedge trades are submitted immediately after the client deal is confirmed, so there is no perceptible delay and zero added latency on the client side.

Does Dealer Hedge add latency to my clients?

No. The hedge trade is placed after the client deal is already confirmed by the MT5 server. The client experiences exactly the same execution path as before the plugin was installed.

Can I hedge only part of a client’s volume?

Yes. Each rule has a ratio from 0% to 100%. A 50% rule mirrors half of the client’s volume to the hedge account, leaving the rest of the risk in your B-book. Different rules can use different ratios for different clients or segments.

Can I hedge only specific symbols for a client?

Yes. Each rule accepts an optional symbol filter with wildcards — for example XAU*, EUR*, BTC*, or US30,NAS100. If a client trades a symbol outside the filter, that trade is not mirrored and stays in your B-book.

What happens if the hedge account runs out of margin?

The hedge trade request fails and the failure is logged. The client’s original trade is completely unaffected — their execution is never impacted by a hedge issue. Your dealer can review the log and top up the hedge account or adjust ratios.

How are SL and TP handled on hedge positions?

Hedge trades open with the same SL and TP levels as the client position. When the client edits SL or TP, the change is synced live to the matching hedge trade. When the client closes (manually, by SL, TP, stop out, or margin call), the matching hedge trade is closed automatically.

Can I run multiple hedge accounts at the same time?

Yes. Each rule has its own hedge account, ratio, and optional symbol filter. You can route FX flow to one LP, metals to another, and indices to a third — all from the same plugin, with separate P&L tracking per hedge account.

What if I restart the MT5 server?

On restart or live config reload, the plugin checks for existing hedge positions tagged to client positions and never duplicates them. The hedge state is reconciled idempotently, so restarting is always safe.

Does Dealer Hedge work with MT4?

Dealer Hedge is a MetaTrader 5 server plugin. It runs inside the MT5 Trade Server and uses MT5 server callbacks. MT4 is not supported.

Ready to Automate Your Dealing Desk?

One plugin. One group change. Fully hedged. Talk to our team about pricing and deployment.