Free MT5 Daily Loss Lock EA

A small, free MetaTrader 5 utility with one job: when your daily loss limit is reached, it closes your positions, deletes pending orders and keeps the day locked until the next daily reset (broker server time). Floating P/L is included, and the lock survives a restart.

Download Spectar Daily Loss Lock Lite (.ex5, v1.01) Free. No sign-up, no email, no licence key. MetaTrader 5 only. It never opens a trade on your account.

Or install it from the MQL5 Market

On the MQL5 Market it is listed as “Spectar Daily Loss Limiter” — the same tool, installed directly inside MetaTrader 5.

How it works

  1. At the daily reset (broker server midnight by default) it stores the start-of-day value: the start-of-day balance, or the higher of start-of-day balance and equity.
  2. On every tick, every trade event and once per second it calculates today’s loss: start value minus current equity (floating P/L included), or closed P/L only if you prefer.
  3. When today’s loss reaches your limit minus a small safety buffer, the day locks: open positions are closed (all symbols, or only one magic number), pending orders are deleted, and the lock is saved in the terminal.
  4. While the day is locked, any new position is closed immediately and any new pending order is deleted.
  5. The lock lifts automatically at the next daily reset.

An on-chart panel shows the start value, today’s loss, the limit, the room left, the status (OK / LOCKED) and the next reset time.

Install in 1 minute

  1. In MetaTrader 5 open File → Open Data Folder, then the folder MQL5\Experts.
  2. Copy SpectarDailyLossLockLite.ex5 into that folder.
  3. In the Navigator panel right-click Expert Advisors → Refresh.
  4. Drag the EA onto one chart (any symbol — it watches all of them), set your limit in the Inputs tab and click OK.
  5. Make sure Algo Trading is switched on in the toolbar. The panel warns you if it is off.

Main settings

Hedging and netting accounts. No DLLs, no web requests, no hard-coded symbol.

Please read: what this tool cannot do

Want more than a lock?

Spectar FX Gold is our full MT5 tool for XAUUSD on your own account — the rules run within numbers you set, with a daily stop that locks the day. You can try MANUAL free for 8 days. See plans · Free daily loss calculator

Not financial advice. Trading involves risk. This utility is provided free of charge and as is; your account’s own rules and figures always take precedence.

↑