Server pluginRisk managementv1.0.09 options Live demo

Weekend and News Guard

Automatically widen MT5 stops and freeze levels or switch symbols and groups to close-only during weekend and high-impact news windows, with crash-safe restoration.

Get a licenseDownload

What it does

9 capabilities
  • Recurring weekly weekend schedules with exact weekday validation and 24:00 support
  • Multi-event UTC news windows in pre/post minute or explicit range formats
  • Dynamically widens MT5 stops_level and freeze_level in points
  • Optional close_only or disabled trade mode during guard windows
  • Supports both server-wide symbol scope and group-level rule scope
  • Configurable post-window restore delay to let news volatility settle
  • Crash-safe persistence of original values guarantees exact restoration after restart
  • Immediate cleanup and restoration when windows or targets are removed in config
  • Dry run by default with condition_guard CRM audit report

How it works

Protects MT5 brokers against news pending-order straddling and Friday-close gap sniping by dynamically tightening symbol trading conditions during recurring weekly weekend schedules and UTC economic calendar news windows. Can widen stops_level and freeze_level (symbol scope) and switch trade_mode to close_only or disabled either server-wide per symbol or scoped to specific MT5 client groups. Before applying any modification, the plugin snapshots and persists exact original values so they are restored cleanly after the window and configurable post-window restore_delay_seconds elapse, even across an MT5 server crash or restart. Reconfiguring or removing an active window restores affected targets immediately. Starts in dry run mode and logs every activation and restore to the condition_guard CRM report.

Parameters & options

Configured directly in MetaTrader 5 Administrator and testable live in the simulator.

11 of 11
ParameterTypeDefaultDescription
symbols
group mask*Symbols or symbol paths to guard (MT5 mask with wildcards and ! exclusions). * means all
groups
group maskemptyOptional MT5 group mask. When set, applies group-level symbol rules; when empty, applies server symbol settings
weekend_window
textfri 21:00-23:59; sat 00:00-23:59; sun 00:00-22:00Recurring weekly guard windows separated by ; using exact weekday names (mon..sun) and HH:MM-HH:MM (24:00 end allowed). Empty disables
news_windows
textemptySemicolon-separated UTC news windows: YYYY-MM-DD HH:MM,pre_min,post_min or YYYY-MM-DD HH:MM-HH:MM. Empty disables
stops_level
int50MT5 stops level in points during active guard windows (0 keeps original; symbol scope)
freeze_level
int30MT5 freeze level in points during active guard windows (0 keeps original; symbol scope)
trade_mode
textkeepTrade mode during active guard windows: keep, close_only, or disabled
restore_delay_seconds
int60Seconds to wait after a guard window ends before restoring original values
dry_run
bool11: report activations and restores without modifying MT5 symbol or group config. 0: apply live
license_key
System
textemptyLicense key from FXOpsPro, for example FXO-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
license_server
System
texthttps://plugins.fxopspro.comLicense server address

Risk management

View all server plugins