Gap Controller

MT5 Market Gap Risk Management

Detect market gaps the moment they open and automatically apply configurable execution controls to every affected trade — pending orders, stop-losses, take-profits, and new market orders handled before your risk desk even sees the gap.

3

Control Modes

256

Max Rules Supported

5

Gap Trigger Types

<1ms

Detection Overhead

The Problem

Market Gap Risk Is Costing Brokers Real Money

Every broker knows the feeling: the market opens after a weekend break, prices jump hundreds of points in an instant, and pending orders, stop-losses, and take-profits all execute at prices far from what was expected. The financial exposure is unpredictable, the client complaints are inevitable, and the risk desk is left scrambling.

Pending Orders Fill at Gap Prices

Buy Stop, Sell Stop, Buy Limit, Sell Limit — all activate at the gap price instead of the requested price, creating massive slippage the broker or client must absorb.

Stop-Losses Trigger Far Beyond the SL Level

A client with a 50-pip stop-loss can see a 300-pip loss if gold gaps 3,000 points on Monday morning. One gap event can spark a wave of disputes.

New Orders Fill at Extreme Prices

Market orders placed in the volatile first minutes of a session can fill at extreme prices before the market stabilizes — inconsistent execution that leads to chargebacks.

Gap Controller in Action

Gap Detected — XAUUSD

Gap size: +3,120 points · Sunday 22:01

ACTIVE

Gap Window Active — 5 min

All trades on XAUUSD subject to gap rules

Gap Rules Applied Automatically

SL capped · Pending at requested price · New orders requoted

What Is Gap Controller?

MT5 Gap Control Plugin That Acts Before You Can

Brokeret Gap Controller is a native MT5 server plugin that monitors deal flow in real-time, detects gaps the instant they occur, and applies configurable execution rules to every trade during the gap window — automatically, with zero manual intervention.

Real-Time Detection

Gaps are detected from actual deal flow, not clock-based triggers. No manual scheduling, no market-hours config — it just works.

Configurable Per Symbol

Different rules for XAUUSD vs EURUSD vs US30. Symbol-level, group-level, and global rules cascade with automatic priority resolution.

Zero Manual Intervention

By the time your dealing desk sees the gap, the controls are already active. Every affected trade has already been handled by the plugin.

When Gaps Happen

Gaps Are Not Just a Monday Morning Problem

Without automated controls, every one of these events is an unmanaged risk. Gap Controller handles all of them.

Weekend Opens

Friday close to Sunday/Monday open. Gold and forex majors gap regularly on geopolitical or macro news published over the weekend.

Daily Session Boundaries

Overnight close to morning open on indices, equities, and CFDs. Session gaps are smaller but frequent and predictable.

Intraday Breaks

Midday session pauses on certain futures and commodity markets. Short gaps but with concentrated order flow on resumption.

Server Rollover

Midnight price jumps during daily rollover processing. Swap adjustments and pricing shifts can create brief but material gaps.

Post-Halt Resumptions

After trading halts on volatile instruments. Circuit-breaker resumptions often gap significantly as queued orders clear.

News Events

High-impact macro releases — NFP, CPI, central bank decisions — can cause gap-like conditions even mid-session on illiquid instruments.

How Gap Controller Works

Detect. Activate. Control.

1

Detect the Gap

The plugin continuously tracks the last trade price and timestamp for every symbol. When a new trade arrives after a configurable silence period and the price has jumped beyond a threshold, a gap is declared.

2

Activate the Gap Window

A gap window opens for that symbol. For a configurable duration (e.g. 5 minutes), all trades on that symbol are subject to your gap rules — automatically and immediately.

3

Apply the Controls

Every deal that executes during the gap window is evaluated against your rules. Pending orders get slippage caps, stop-losses are bounded, take-profits are handled fairly, and new orders can be requoted or flagged.

4

Log and Report

Every gap event and every order modification is recorded with full detail — symbol, gap size, direction, trades affected, and PNL impact. Complete audit trail, always.

Precise Control Over Every Order Type

Gap Controller handles each order type differently, because a pending order during a gap is a completely different problem from a stop-loss or a new market order.

Pending Order Controls

Buy Stop, Sell Stop, Buy Limit, Sell Limit

At Requested Price

Fill at the original order price. Broker absorbs the gap. Best client experience, broker carries the cost.

With Slippage Cap

Fill at the gap price but cap the maximum slippage in points. Splits the gap cost fairly between broker and client.

At Gap Price

Standard MT5 behaviour, no intervention. Client bears full slippage. Use only where your T&Cs clearly permit.

Stop-Loss & Take-Profit

Same granular control for SL and TP fills

Fill at SL/TP Level

Honour the exact SL or TP price regardless of where the market gapped. Eliminates gap slippage on protective orders entirely.

Fill with Cap

Allow some deviation from the SL/TP level but limit the maximum. Balanced approach that remains defensible in client disputes.

Fill at Market

Standard gap execution at market price. No intervention. Applies where your execution policy permits full market fill.

New Market Orders

Placed by clients during the gap window

Allow

Normal execution. No intervention. Suitable when the gap has already stabilised and price action is reliable.

Requote

Add a configurable spread adjustment against the trader. Protects the broker from clients intentionally trading into a volatile gap.

Flag for Review

Log the order for dealing desk attention without blocking execution. Use when human review is preferred before action.

PNL Tracking

Know exactly what gap controls are saving you

When enabled, every price modification is recorded as a charge on a dedicated tracking account, giving the risk desk a clear, quantified view of how much money gap controls are saving or costing — per event, per symbol, per day.

4

Gaps Today

37

Orders Adjusted

19

SL/TP Capped

$4,820

Slippage Saved

3-Level Rule System

The Right Rules for the Right Instruments

XAUUSD and EURUSD gap differently. Retail clients and VIP clients deserve different treatment. Gap Controller's three-level rule system lets you define precise controls at any level — instrument, client group, or server-wide.

Rules cascade intelligently: symbol-level rules override group-level rules, which override the global default. A XAUUSD-specific rule always takes precedence. You define the policy, the plugin enforces it.

Symbol Level

Highest Priority

Instrument-specific rules for high-gap assets like XAUUSD or US30. Set tighter SL caps and stricter pending controls for your most volatile symbols.

Group Level

Wildcard Matching

Different treatment for retail vs. institutional vs. VIP clients using MT5 group masks (e.g. real\vip\*). VIP accounts can get fill-at-SL-level while retail gets capped fills.

Global Level

Catch-All Baseline

A server-wide default that applies to every account and every symbol. The perfect safe baseline that all symbol and group rules automatically override.

Full Visibility Into Every Gap Event

Real-time statistics, a 500-event gap history log, and a desktop management tool — everything your risk desk needs to operate with confidence.

Real-Time Statistics

Monitor gap activity as it happens — gaps detected today, deals processed, deals within active windows, pending orders adjusted, slippage saved.

Gaps Detected Today 4
Deals in Gap Windows 37
Pending Orders Adjusted 12
Total Slippage Saved $4,820

Gap History Log

Rolling log of the last 500 gap events. Each entry records the symbol, timestamp, pre-gap and post-gap prices, gap size in points and percentage, direction, and orders affected.

XAUUSD +3,120 pts
18 orders Sun 22:01
US30 +420 pts
6 orders Mon 00:05
EURUSD +38 pts
3 orders Mon 08:00

Management Tools

A dedicated Windows desktop app (GapCtrlManager) and a full REST API for remote management — no need to touch MT5 Administrator for day-to-day operations.

Dashboard with live stats & license status
Add, edit, and delete rules instantly
Active gap window monitoring
Gap history viewer
Whitelist management
All changes take effect immediately

Why Brokers Choose Gap Controller

Automatic, precise, transparent, and zero-maintenance once configured — everything your dealing desk expects.

Automatic From the First Gap

No manual activation, no dealing desk intervention needed. The plugin detects and responds to every gap on its own, from the first millisecond.

Protects Every Order Type

Pending orders, stop-losses, take-profits, and new market orders — all handled with separate, configurable rules. No order type is left unprotected.

No Client-Side Software

Everything runs server-side inside your MT5 Trade Server. Nothing to install for clients, no EA to distribute, no terminal modifications required.

Fewer Disputes & Chargebacks

Fair, policy-driven execution during gaps means fewer surprises for clients. Defensible fills that align with your stated execution policy reduce complaint rates significantly.

Instant Rule Changes

Update rules via the REST API, desktop tool, or MT5 Admin at any time. Changes take effect immediately — no server restart, no interruption to trading.

Complete Audit Trail

Every gap event and every order modification is permanently logged in the MT5 server journal. Transparent, defensible, and compliant with your record-keeping obligations.

Technical Details

Built Directly for MT5 Trade Servers

Native C++17 plugin. No .NET runtime, no external dependencies, no third-party services. Runs inside the MT5 Trade Server process with sub-millisecond overhead and zero impact on your existing setup.

Platform MetaTrader 5 Server
Plugin Type Native x64 DLL
Language C++17, Static CRT
Management Tool .NET 8 Windows App
API Embedded HTTP REST + API Key
License Per-server, IP-bound
gap_controller.log
// Gap detection event
[2026-03-01 22:01:04] GAP_DETECTED
symbol: XAUUSD
pre_gap_price: 2,312.40
post_gap_price: 2,343.60
gap_points: 3,120
gap_window: 300s
// Pending order adjusted
[2026-03-01 22:01:04] ORDER_ADJUSTED
login: 10445
order_type: "BUY_STOP"
requested: 2,320.00
fill_price: 2,320.00
rule: "xauusd/at_requested"

Simple, Transparent Pricing

Licensed per server. Everything included, no hidden costs.

Monthly Subscription
$799 $1,000

per server / month

Up to 256 rules
Symbol, group & global rule levels
All order type controls (pending, SL, TP, market)
PNL tracking account
500-event gap history log
REST API with API key auth
Desktop management tool
24/7 dedicated support
Get Started
Perpetual License
Limited Time
$9,999 $12,000

one-time · one server · lifetime

Everything in Monthly, forever
One-time payment, no renewals
Single server license
All future updates included
Up to 256 rules
Priority support
Get Perpetual License

Limited time offer. Price increases once offer ends.

Additional servers: $2,000 per server

Frequently Asked Questions

Everything you need to know about Brokeret Gap Controller.

No. The plugin runs natively inside the MT5 Trade Server process with sub-millisecond processing overhead. It has no measurable impact on trade execution latency under any load.

More MT5 Plugins for Brokers

Gap Controller is one of several native MT5 server plugins Brokeret builds for brokers. Each one targets a specific risk or revenue challenge.

GAP CONTROLLER FOR MT5 BROKERS

Stop Scrambling When the Market Gaps

Ready to Stop Flying Blind During Market Gaps?

Installation takes minutes — copy the DLL, configure parameters in MT5 Administrator, and gap controls are live. From $799/month or secure the perpetual license at $9,999 before the offer ends.

Native MT5 Plugin
Zero Execution Impact
Full Audit Trail
Same-Day Setup