Spectar Daily Loss Limiter is a free utility for MetaTrader 5. You choose a daily loss limit; when today's loss reaches it, the tool closes positions, deletes pending orders and keeps the day locked until the next daily reset on broker server time. This post goes through every input, in the order they appear in the settings window.
Free on the MQL5 Market: https://www.mql5.com/en/market/product/200369
Daily loss limit
Daily loss limit, money (0 = off). A fixed amount in the account currency. If you set 500, the day locks when today's loss reaches 500.
Daily loss limit, % of base (0 = off). The same limit as a percentage. If both the money and the percent limit are set, the tool acts on whichever is reached first.
Base for % limit and loss. What the percentage is taken from: the balance at the start of the day, or the higher of start-of-day balance and equity. Check the exact wording of your own rules; firms differ on this point.
Safety buffer, % of base. Makes the tool act slightly before the limit. A market order is filled at the next available price, so in a fast move the closing price can be worse than the price that triggered the lock. The buffer leaves room for that. It reduces the gap; it cannot remove it.
Day and calculation
Day reset hour, SERVER time (0 = midnight). The hour at which a new trading day starts, on the broker's server clock, not your local clock. The server time is shown in the Market Watch window.
Include floating P/L. When on, open positions count: a floating loss can lock the day before any trade is closed. This matches rule sets that measure the daily limit on equity.
Ignore deposits/withdrawals made today. Keeps balance operations out of the day's result, so a withdrawal is not read as a loss.
Enforcement
Close all open positions when lock triggers. When on, positions are closed and pending orders deleted at the moment of the lock. When off, the tool only blocks and warns.
Magic filter (0 = all positions, all symbols). Limit the tool to positions with one magic number, or leave 0 to watch the whole account.
Max slippage for closing, points and Close/delete retries. How far the closing price may move, and how many times the tool retries if the server is busy or requotes.
Display and share card
Show on-chart panel and Pop-up alert when the day locks. The panel shows today's result, the limit and the lock state.
Share card. A PNG image saved to MQL5/Files when the day locks or a streak milestone is reached. It carries no account number and no balance.
Strategy Tester inputs
The two tester inputs only matter in the Strategy Tester: they open demo trades so you can watch the lock work. They are ignored on live and demo accounts.
What the tool cannot do
It runs inside your terminal, so it works only while MetaTrader 5 is running and connected. A gap or slippage can carry a position past any limit. It places no trades of its own and suggests none.
Trading involves high risk of loss. This is a utility, not advice.


![[XAUUSD]: Weekly Liquidity Activation Points (LAP), November 30-December 4, 2026 [XAUUSD]: Weekly Liquidity Activation Points (LAP), November 30-December 4, 2026](https://c.mql5.com/6/1059/splash-preview-782550.jpg)