Discover expert developed MetaTrader tools that can complement professional solutions.
Daily Loss Guard closes all trades when your daily loss reaches your limit. Attach it to any one chart of the account: it does not open trades itself and works alongside manual trading and other Expert Advisors. It also runs on a timer, so a quiet chart is fine, and any symbol and timeframe can host it, for example EURUSD M15.

How it works. It counts today's closed trades and the change in open trades since the day started. Deposits and withdrawals are not trades, so they never count as a loss. When this total loss reaches your limit, it closes all positions and deletes pending orders, and until the next trading day it closes any new trade that opens.
Watch in-depth trading tutorials and EA reviews on the RobotFX YouTube channel. Subscribe for free tips.
The trading day starts at the server hour you choose. The start balance and the limit-hit state are kept in the terminal's global variables, so a terminal restart or a re-attach in the middle of the day keeps them, and a new day starts fresh automatically.
The panel shows the start of the trading day, the start balance, the limit in money, today's result split into closed and open, how much of the limit is used, and the status: ACTIVE, WARNING when 75 percent of the limit is used, or LIMIT HIT with the time. If algo trading is switched off, the panel says so, because the guard cannot close trades then.
Inputs
- Limit type: percent of the day's start balance, or a fixed amount in the account currency.
- Limit, %: default 2.0. Limit, account currency: default 100.
- New day starts at (server hour, 0-23): default 0.
- Close positions, Delete pending orders, Close new trades until the next day: all on by default.
- Max slippage, points: default 20.
- Symbols: empty watches all symbols, or give a list such as EURUSD,XAUUSD. Magic number: -1 watches all, 0 means manual trades only; one magic number can be set.
- Pop-up alert, Push notification, Show panel, Panel X and Panel Y position.
Important: it closes at market price, so on fast news the loss can go a little past the limit. Always use stop losses as well. This tool does not give signals and does not promise profit.
Level up your trading with professional RobotFX expert advisors and indicators. Visit robotfx.org for proven MT4/MT5 tools.
78920