Your Positions. Protected. Every Night.

NightGuard EA automatically removes Stop Loss and Take Profit before overnight spread spikes, and restores them after. Sleep. Your trades are safe.

2,000+ Nights Protected
< 0.3s Response Time
Any MT5 Broker

Watch NightGuard EA
Protect Your Trades

This is the exact interface running inside MetaTrader 5 right now.
Enter your broker's spread hour window, hit SIMULATION, and watch every position get shielded in real time.

Fully Configurable
Set your broker's exact spread window (start & end time)
< 0.3s Reaction
Positions protected before the spread spike hits
Auto-Restore
SL & TP restored exactly as set, every single morning
NightGuard EA v4.0 Expert Advisor
ACTIVE
LOCAL: --:--:-- Build 2024.03.16
Spreadhour Start
Spreadhour End
Countdown
02:14:33
Positions
3 Protected
⚙ Spreadhour adjustable — set to your broker time & timezone
SymbolSLTPP/L
EURUSD 1.08420 1.09100 +$47.20
GBPUSD 1.26800 1.28200 -$12.80
XAUUSD 2304.50 2340.00 +$128.40
Download Free Trial
EURUSD SPREAD / OVERNIGHT WINDOW ● HIGH RISK ZONE
50 pips 30 pips 15 pips NIGHT WINDOW ↑ 48 pips 20:00 22:45 00:15 03:00
Spread
Danger Zone
NGP Active

What Happens
During the Spread Hour?

What Is the Spread Hour?
The Spread Hour is a customizable time window during which your broker's spreads typically widen. The exact timing and duration may vary depending on the broker, market, and time zone.
🎯
Stop Loss or Take Profit Triggered Unintentionally
Sudden spread expansions can trigger your Stop Loss or Take Profit orders even though the actual market price has barely moved.
📱
Protection Directly Inside MetaTrader 5
NightGuard EA runs directly within MetaTrader 5 and automatically protects your positions during your personally defined Spread Hour.

NightGuard EA Protects Your Positions Automatically

Fully automated. No manual intervention required. NightGuard manages your Stop Loss and Take Profit levels throughout your defined Spread Hour.

Spread hour
SL & TP Removed
Stop Loss and Take Profit levels are automatically saved and temporarily removed from the market for the duration of the Spread Hour.
During Spread Hour
Position Monitoring Active
NightGuard continuously monitors your positions throughout the entire Spread Hour and protects them using multiple built-in safety mechanisms.
spread ends
SL & TP Restored
Once the Spread Hour ends, all previously saved Stop Loss and Take Profit values are automatically restored.
Always
Push Notification
Stay informed at all times. NightGuard sends important notifications directly to your smartphone.
One chart.  All symbols.  Fully automated.  Zero effort.
NightGuard EA v4.0 ACTIVE
Positions Under Management
3 positions
SymbolSLTPP/L
EURUSD 1.08420 1.09100 +$47.20
GBPUSD 1.26800 1.28200 -$12.80
XAUUSD 2304.50 2340.00 +$128.40
Window Status Standby
01 / 06
01
SPREAD HOUR

Spread Hour Starts.
SL & TP Removed.

At the beginning of your defined Spread Hour, NightGuard automatically saves all Stop Loss and Take Profit values and temporarily removes them from the market. This protects your positions from unwanted executions caused by short-term spread expansions.

Automatic Backup File Backup < 0.3s
02
PHASE 1: INTELLIGENT BUFFER ZONE

Short-Term Spread
Spikes Ignored.

NightGuard detects temporary spread expansions and ignores minor fluctuations that are not caused by genuine market movements. This prevents unnecessary actions triggered by short-lived spread spikes.

Spread Filter Individually Configurable
03
PHASE 2: DRAWDOWN MONITORING

Drawdown Is
Continuously Monitored.

After the initial protection phase, NightGuard monitors the drawdown of each position individually. If a predefined threshold is exceeded, the integrated protection system automatically intervenes.

Drawdown Control Risk-Based
04
PHASE 3: MAXIMUM DRAWDOWN PROTECTION

Your Capital
Stays Protected.

As the final layer of protection, NightGuard monitors the overall account drawdown. If your defined maximum drawdown level is reached, account protection is activated automatically. At the same time, you receive a notification on your mobile device.

Account Monitoring Drawdown Limit Push Notification
05
AUTOMATIC RECOVERY

Even After a Crash,
NightGuard Stays Ready.

If MetaTrader 5 crashes or is restarted, NightGuard automatically restores all saved data and seamlessly continues protection. For reliable 24/7 operation, we recommend using a VPS.

Automatic Recovery Protection Stays Active
06
SPREAD HOUR ENDED

Spread Hour Ended.
SL & TP Restored.

As soon as the Spread Hour ends, NightGuard automatically restores all saved Stop Loss and Take Profit values. The protection phase is completed and a notification is sent directly to your mobile device.

SL & TP Active Break-Even Ready Push Confirmation

Designed for the Spread Hour.
Built to Protect Your Positions.

Intelligent Emergency Close
During the Spread Hour, Stop Loss levels are automatically removed to prevent unnecessary closures caused by spread spikes. Only when an additional user-defined percentage loss threshold is reached will the EA automatically close the position.
3-Phase Drawdown Protection
Multiple protection layers ensure that both individual positions and your entire trading account remain protected against excessive losses.
Break-Even Automation
Once a position reaches your predefined profit target, NightGuard automatically moves the Stop Loss to Break-Even. The required number of pips is fully customizable and this feature can be enabled or disabled at any time.
Saved Spread Hour
Once configured, your Spread Hour remains saved and is automatically applied to all future protection cycles. No need to reconfigure every night.
Automatic Recovery
All Stop Loss, Take Profit, and position data are automatically saved. In the event of a restart, NightGuard automatically restores the previous session and continues operation.
Push Notifications
NightGuard keeps you informed in real time about important events — from the start and end of the Spread Hour to emergency position closures.
Master / Slave Mode
Manage your settings centrally through a Master Account. Additional Slave Accounts can automatically inherit these configurations, ensuring a seamless and consistent setup across multiple trading accounts.
Live Spread Display
NightGuard displays the current spread of all monitored positions in real time. This allows you to identify spread expansions early and maintain full control at all times.
Maximum Broker Compatibility
NightGuard is specifically designed for MetaTrader 5 and is compatible with brokers worldwide. Support for FIFO-compliant brokers and automatic retry mechanisms ensure reliable operation across a wide range of trading environments.
MetaTrader 5 / Experts Journal
[2024.03.15 22:44:58] NightGuard EA v4.0: Initializing window...
[2024.03.15 22:45:00] ━━ PROTECTION WINDOW STARTED ━━━━━━━━━━━━━━━
[2024.03.15 22:45:01] EURUSD | SL=1.08420 TP=1.09100 → REMOVAL OK
[2024.03.15 22:45:01] GBPUSD | SL=1.26800 TP=1.28200 → REMOVAL OK
[2024.03.15 22:45:02] XAUUSD | SL=2304.50 TP=2340.00 → REMOVAL OK
[2024.03.15 22:45:02] Saved to file: nightguard_backup.csv
[2024.03.15 22:45:03] Push notification sent → "Protection started"
 
[2024.03.15 23:12:44] GBPUSD | Spread=48.2 pips | RE-ENFORCE CHECK
[2024.03.15 23:12:44] Phase 1 | Drawdown=-0.84% | Within limit | No action
 
[2024.03.15 23:34:17] ⚠ XAUUSD | SL BREACH WARNING detected
[2024.03.15 23:34:17] Spread=12.4 pips | Buffer=8 | SPREAD-INDUCED
[2024.03.15 23:34:17] False trigger blocked. Position held.
[2024.03.15 23:41:02] PENDING recheck in 30s, spread still elevated
 
[2024.03.16 00:15:00] ━━ PROTECTION WINDOW ENDED ━━━━━━━━━━━━━━━━
[2024.03.16 00:15:01] EURUSD | SL=1.08420 TP=1.09100 → RESTORED
[2024.03.16 00:15:01] GBPUSD | SL=1.26800 TP=1.28200 → RESTORED
[2024.03.16 00:15:01] XAUUSD | SL=2304.50 TP=2340.00 → RESTORED
[2024.03.16 00:15:02] Push notification sent → "All positions restored"

How NightGuard
Works

01

Automatic Backup of All Values

Before Stop Loss and Take Profit levels are removed, NightGuard automatically stores all relevant position data. This ensures that everything can be restored reliably at any time.

02

Intelligent Protection Logic

NightGuard evaluates spread conditions, drawdown levels, and additional safety parameters before triggering any protective action. This prevents unnecessary interventions caused by short-term market fluctuations.

03

Automatic Restoration

Once the Spread Hour has ended, all saved Stop Loss and Take Profit values are restored automatically. Break-Even adjustments can also be taken into account if desired.

04

Complete Activity Logging

All important events are fully documented and can be reviewed at any time. This gives you complete visibility into every action performed by NightGuard.

4.0
Current Version
9
Active Protection Features
0
Positions Closed by Spread Noise*
24/7
Continuous Monitoring
// Trader feedback / received via email / 2024.03.18 09:42 UTC
> Running NightGuard on 4 live accounts across Ultima Markets and ICMarkets.
> Before NGP, I had 7 SL hits in 14 nights, all during the 23:00-00:30 window.
> After installing: 0 spread-induced closes in 6 weeks. Same positions, same broker.
> The crash recovery worked correctly when MT5 updated mid-window on week 3.
> BE automation moved 2 stops to entry while I slept. Woke up already at break-even.
T.M. | Prop trader, London | Account: ****4829

*With correct buffer and delay settings configured. Results vary by broker and market conditions.

Why NightGuard EA?

Protection Method No Protection Manual SL Removal NightGuard EA
Spread noise protection △ Partial
Works while you sleep
3-phase drawdown watch
Crash / MT5 restart recovery
Push notifications △ Manual
Break-even automation
FIFO broker compliance N/A △ Manual
Execution time N/A Minutes (manual) < 0.3 seconds

Invest in the Protection of Your Positions

Choose the NightGuard version that best fits your trading style — from ready-to-use protection to complete control over every setting.

Knight
99  / month

Perfect for traders who want to start using NightGuard immediately. All protection settings are managed by the NightGuard team, allowing you to focus entirely on your trading. Simply install, activate, and let NightGuard automatically protect your positions during the defined Spread Hour.

  • Automatic protection during the Spread Hour
  • Preconfigured for a quick start
  • Push notifications sent directly to your mobile device
  • Automatic recovery after MT5 restart
  • All future updates included
  • Email support within 24 hours
Secure payment via Stripe
License delivered instantly by email
Full setup guide included

Common Questions

Yes. NightGuard EA runs inside MetaTrader 5, which can be used on Mac through solutions such as Wine or CrossOver. Since NightGuard has no platform-specific dependencies, it works wherever MetaTrader 5 is supported. For reliable 24/7 operation, we strongly recommend using a VPS.
Yes. A VPS is highly recommended for reliable NightGuard operation. MetaTrader 5 must remain active and connected to your broker during your defined Spread Hour. A VPS ensures that NightGuard runs continuously and reliably around the clock. Most MT5-compatible VPS providers work perfectly for this.
NightGuard EA was developed for MetaTrader 5 and is compatible with nearly all MT5 brokers worldwide. Support for FIFO-compliant brokers is built in and can be activated in the settings when required.
No. NightGuard does not open trades and does not interfere with your trading strategy. It only manages Stop Loss and Take Profit for selected positions during the defined Spread Hour. Magic Number and comment filters allow NightGuard to target specific trades without affecting other Expert Advisors.
NightGuard includes a built-in recovery system. All relevant position data is automatically saved before protection begins. After a restart, NightGuard restores the saved information and resumes monitoring automatically. In most cases no manual action is required.
Each NightGuard license is linked to a single MetaTrader 5 account upon activation. For multi-account solutions, please contact our team before purchasing. We offer individual solutions and multi-account licensing for traders who need it.
NightGuard uses a multi-layer drawdown protection system to monitor actual risk exposure. If predefined thresholds are reached, the corresponding protection mechanisms are activated automatically — distinguishing genuine market moves from short-term spread spikes.
Installation typically takes less than five minutes. Copy the provided .ex5 file into your MQL5/Experts folder, restart MetaTrader 5, drag NightGuard onto any chart, configure your settings, and enable AutoTrading. A detailed installation guide is included with every purchase.