Spectar Daily Loss Limiter
- Utilità
- Dusan Djermanovic
- Versione: 1.1
Spectar Daily Loss Limiter is a free daily loss limit lock for MetaTrader 5, built for prop-firm challenges and for anyone who wants a hard stop for the day. It never opens a trade on a live or demo account: a discipline tool, not a robot.
WHAT IT DOES
When today's loss reaches the limit you set (minus a small safety buffer), it closes open positions, deletes pending orders and keeps the day locked until the next daily reset in broker server time. While locked, any new position is closed as soon as it is seen and any new pending order deleted. The lock survives restarts.
Today's loss is counted from a start-of-day value (balance, or the higher of balance and equity) on every tick, every trade event and once per second. Floating P/L is included by default; closed P/L only is an option. An on-chart panel shows the start value, today's loss, the limit, the room left, the status and the next reset time.
INPUTS
- Daily loss limit, money (0 = off)
- Daily loss limit, % of base (default 3.0; if both are set, the stricter applies)
- Base for % limit: start-of-day balance, or the higher of balance and equity
- Safety buffer, % of base (default 0.10)
- Day reset hour, SERVER time (0 = server midnight)
- Include floating P/L (true = equity-based)
- Ignore deposits/withdrawals made today
- Close all open positions when lock triggers
- Magic filter (0 = all positions and orders on all symbols, manual trades included)
- Max slippage; retries; panel; pop-up alert
- Tester only: open demo trades; close a demo trade after N minutes
Defaults are not suggestions. Rules differ by firm; read yours and set the inputs to match, ideally a little stricter.
SETUP
Attach it to any one chart; it watches the whole account. One instance per account. Hedging and netting accounts. No DLLs, no web requests. Algo Trading must be on.
WHAT IT CANNOT DO
- It cannot physically block manual trading. MT5 does not let an EA disable the trade buttons; a trade placed while locked is closed as soon as it is seen and can still cost spread, commission and slippage.
- It only works while the terminal is open and connected, the EA is on a chart and Algo Trading is on.
- Closing is not guaranteed at your exact limit: slippage, gaps or a closed market can make the loss larger.
- It does not guarantee that you pass any evaluation or follow any firm's rules.
- No trading, no signals, no profit. In the Strategy Tester it opens small demo positions only to show the lock.
Not financial advice. Trading involves risk. Free, as is.
If the Limiter has been useful to you, a short review here would help other traders find it.

