Risk Engine

Grid & Martingale Detection
for Prop Firms

Identify and restrict progressive lot-doubling, coordinated grid orders, and compounding position abuse before they create catastrophic exposure. Real-time pattern recognition with configurable sensitivity thresholds and instant enforcement.

Real-Time
Pattern Scanning
3+
Detection Layers
100%
Auto-Enforced
Grid Pattern Detected
Martingale x4 Flagged
Martingale Sequence — Account #7302
Trade
#1
Lot Size
0.10
Result
-$40
Trade
#2
Lot Size
0.20
Result
-$82
Trade
#3
Lot Size
0.40
Result
-$168
Trade
#4
Lot Size
0.80
Status
BLOCKED
⚠ Martingale multiplier x2 detected across 3 consecutive losses — 4th position blocked

Capabilities

Stop Risk-Stacking Before It Compounds

Grid and martingale strategies share a common trait — they look like profitable trading until a single adverse move wipes the account. The detection engine catches both before the firm bears the loss.

Martingale Multiplier Detection

Tracks consecutive same-direction trades on the same instrument. When lot sizes follow a multiplier progression (1x → 2x → 4x → 8x) across losses, the sequence is flagged and next position blocked.

Grid Order Pattern Recognition

Detect equidistant pending order grids placed above and below the current price — a hallmark of grid trading systems that build unlimited risk as price trends away from the grid origin.

Max Concurrent Exposure Limit

Enforce a maximum number of open positions per instrument or per direction at any given time — preventing both grid and averaging strategies from stacking unlimited correlated exposure.

Averaging Down Detection

Identify accounts that systematically add to losing positions in the same direction — a form of martingale that doesn't always double but still creates compounding drawdown risk across multiple adds.

Detected Patterns

Every Variant We Catch

Both classic and obfuscated variants of grid and martingale — including blended strategies designed to evade single-rule detection.

Critical
Classic Martingale (x2 Multiplier)
Doubling the lot size after every losing trade on the same instrument and direction — flagged when 3+ consecutive doublings are detected within a single session or across sessions within 24 hours.
Critical
Equidistant Grid System
5+ pending orders placed at equal price intervals (e.g., every 20 pips) above or below current market price — a signature of automated grid EAs placing unlimited buy-stop / sell-stop grids.
High
Fibonacci Martingale
Lot size progression following Fibonacci multipliers (1x, 1x, 2x, 3x, 5x, 8x) rather than simple doubling — a common obfuscation technique that produces the same compounding exposure trajectory.
High
Averaging Down Pattern
Systematic addition to losing positions in the same direction across 3+ entries — even without strict doubling, the aggregate exposure and correlation create martingale-equivalent drawdown risk.
High
Bi-Directional Grid Hedging
Grids placed simultaneously in both buy and sell directions on the same instrument — designed to look like hedging but creating compounding unrealised loss as one side trends deeper into drawdown.
Medium
Progressive Lot Recovery
Increasing lot sizes after losses in a non-mathematical but trend-based progression — detected by monitoring the correlation between prior trade result and next trade lot size across rolling windows.

How It Works

Multi-Layer Pattern Recognition

Sequential position analysis, lot-size regression, and pending order geometry — three independent detection layers working in parallel.

1

Trade Sequence Indexing

Every closed trade is indexed against the account's history on the same instrument and direction. The sequence is analysed for lot-size progression patterns — both within a session and across consecutive trading days.
2

Multiplier Ratio Analysis

The lot-size ratio between consecutive same-direction trades is calculated. When the ratio consistently matches a multiplier (2x, 1.5x, Fibonacci) across 3+ sequential losses, a martingale signal is generated.
3

Pending Order Geometry Scan

All pending orders are mapped to a price-distance matrix. Equal-interval spacing across 5+ orders on the same instrument triggers a grid detection signal — flagging the account regardless of current open trades.
4

Concurrent Exposure Check

Live position count per instrument and per direction is compared against your configured maximum. If a new trade would breach the maximum concurrent exposure threshold, the order is rejected with a clear error code.
5

Composite Abuse Score

Martingale, grid, and averaging signals are combined into a single abuse score per account. Score thresholds determine whether the account is warned, flagged, trade-blocked, or suspended automatically.
6

Enforcement & Audit Trail

Every detected sequence, blocked order, and enforcement action is logged with full position detail — instrument, lot sizes, timestamps, and the specific pattern signal that triggered the action — for complete audit compliance.

Grid/Martingale Risk Panel
Account #7302 — EURUSDMartingale x4Blocked
Account #6614 — XAUUSDGrid: 8 OrdersFlagged
Account #9221 — GBPUSDAveraging x3Warned
Account #5503 — USDJPYScore: 8Clean
Account #4418 — AUDUSDScore: 2Clean
Precision Detection

Catches Obfuscation — Not Just the Obvious

Sophisticated traders disguise martingale with fractional multipliers, non-round lot sizes, and instrument switching. The multi-layer engine correlates across instruments and sessions to catch obfuscated variants that single-rule systems miss.

  • Cross-session sequence analysis — patterns spanning multiple trading days detected
  • Fuzzy multiplier matching — catches 1.8x, 2.1x variants alongside exact 2x doubling
  • Configurable sensitivity — tune false-positive tolerance per account phase independently
  • Full sequence export per flagged account for manual review and dispute resolution

3+
Independent Detection
Layers Per Account
6+
Martingale & Grid
Variants Detected
99.9%
Pattern Recognition
Accuracy
100%
Automated Enforcement,
Zero Delay

Frequently Asked Questions

Grid & Martingale Detection FAQs

Everything you need to know about how FXPropTech detects and enforces grid and martingale strategy restrictions.

Grid and martingale detection identifies traders who systematically double lot sizes after losses (martingale) or place equidistant buy/sell orders at fixed price intervals (grid trading) — both strategies that create compounding risk exposure. Prop firms ban these because a single adverse move can wipe a funded account.

FXPropTech tracks consecutive same-direction trades on each instrument and analyses lot-size progression ratios. When the ratio between sequential losing trades consistently matches a multiplier pattern (e.g. 2x, 1.5x, Fibonacci) across 3 or more trades, a martingale signal is generated and the next position is blocked.

Pending orders are mapped to a price-distance matrix. When 5 or more orders on the same instrument are spaced at equal price intervals — the hallmark of a grid strategy — a grid detection signal is triggered. This is assessed independently of any current open trades.

Yes. Fuzzy multiplier matching catches fractional variants like 1.8x or 2.1x alongside exact 2x doubling. Cross-session analysis detects patterns spanning multiple trading days, and the multi-layer engine correlates trades across instruments to catch strategies that switch symbols to avoid single-rule detection.

Averaging-down detection identifies accounts that repeatedly add to losing positions in the same direction without following a strict doubling pattern. Even without exact multiplier matching, consistent same-direction position additions on a losing trade are flagged as compounding risk behaviour.

Prop firm operators configure a maximum number of open positions per instrument and per direction. When a new order would breach the configured limit, it is rejected at the order level with a clear error code returned to the trading platform — preventing both grid and averaging strategies from stacking unlimited correlated exposure.

Martingale, grid, and averaging signals are combined into a composite abuse score per account. Depending on the score threshold configured, the account can be warned, flagged for review, trade-blocked (new orders rejected), or suspended automatically — with every action logged for a complete audit trail.

Yes. Sensitivity thresholds — including the minimum sequence length, multiplier tolerance, and composite abuse score limits — can be configured independently per account phase (e.g. Phase 1 challenge, Phase 2 verification, funded). This lets operators tune false-positive tolerance without applying blanket restrictions.

Get Started

Stop the Compounding
Before the Drawdown Hits

Grid and martingale strategies always look profitable until they don't. Catch the sequence early and protect your firm's capital before the inevitable large adverse move.

Grid Pattern Detection
Martingale Sequence Flagging
3-Layer Detection Engine
Full Audit Trail