Order Throttle
Fail-closed order rate limiter protecting servers and bridges from HFT floods, modify storms, and runaway EAs with burst, rolling, and global caps.
What it does
10 capabilities- Fail-closed order and order-modify (SL/TP/cancel) flood protection
- Always allows closing orders and server-triggered pending orders
- Per-second burst HFT guard (max_orders_per_second)
- Rolling window limits per login, per symbol, and per ordered lots
- Global bridge circuit breaker (max_server_orders_per_minute)
- Configurable rolling window_seconds (default 60s)
- Persisted post-breach cooldowns that survive server restarts
- Auto-disable trading after repeated breaches (disable_trading_after_breaches)
- Reject mode blocks floods; alert_only monitors with bounded memory
- Exempt logins, MT5 group mask, alerts, and throttle_events report
How it works
Built for liquidity providers and brokers hosting institutional bridges, API clients, and automated desks. Order Throttle monitors incoming client orders and order modifications (TA_MODIFY/TA_REMOVE/TA_SLTP) on a fail-closed hook while always allowing closing orders and server-triggered pending activations. Enforces per-second burst caps (max_orders_per_second), per-login rolling caps on total orders, per-symbol orders, and lot volume across window_seconds, plus a global server circuit breaker (max_server_orders_per_minute). Breaching accounts can enter persisted cooldowns surviving restarts and be auto-disabled after repeated breaches (disable_trading_after_breaches). All breaches and cooldown blocks are recorded to throttle_events with operator alerts.
Parameters & options
Configured directly in MetaTrader 5 Administrator and testable live in the simulator.
| Parameter | Type | Default | Description |
|---|---|---|---|
groups | group mask | * | Client groups subject to order throttling (MT5 group mask). * means all |
exempt_logins | text | empty | Logins never throttled (for example coverage or house accounts), separated by commas |
max_orders_per_second | int | 0 | Maximum orders per login in any 1-second burst window. 0: off |
max_orders_per_minute | int | 60 | Maximum orders per login in the rolling window (window_seconds). 0: off |
max_orders_per_symbol | int | 20 | Maximum orders per login on one symbol in the rolling window. 0: off |
max_lots_per_minute | number | 100.00 | Maximum total ordered lots per login in the rolling window (two decimals). 0: off |
max_server_orders_per_minute | int | 0 | Global server cap on total orders across all checked logins in the rolling window. 0: off |
window_seconds | int | 60 | Rolling window length in seconds for rate limits and breach counts (1 to 3600) |
cooldown_seconds | int | 30 | Seconds to keep rejecting orders from a login after a throttle breach. 0: reject only while the window is full |
disable_trading_after_breaches | int | 0 | Auto-disable trading on a login after this many per-account breaches in window_seconds (reject mode only). 0: off |
action | text | reject | reject: block excess orders and alert. alert_only: let orders pass, only alert and log |
license_key | text | empty | License key from FXOpsPro, for example FXO-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX |
license_server | text | https://plugins.fxopspro.com | License server address |
Release history
- v1.1.0Latest2026-11-24
Fail-closed hook, kOrderModify flood protection, closing and triggered-order exemptions, persisted cooldowns and breach history across restarts, NTP clock-rollback protection, bounded alert_only memory, plus max_orders_per_second, max_server_orders_per_minute, disable_trading_after_breaches, and window_seconds.
- v1.0.12026-11-22
Expanded unit and end-to-end test coverage for sliding windows, alert deduplication, and timer pruning.
- v1.0.02026-11-21
First release: rolling 60s order-count, per-symbol burst, and lot-volume rate limits with cooldown and alert_only mode.
Liquidity provider



