RavandFXMT5 Trade Manager

Daily loss limit EA · MetaTrader 5

A daily loss limit for MT5 that actually ends the day.

MetaTrader 5 has no daily loss limit of its own. RavandFX adds one that counts every trade on the account, closes everything the moment you reach it and keeps you out until the next day. And because it's locked into your licence, you can't raise it in the heat of the moment.

What happens at your limit

Say your account is $10,000 and your daily loss limit is 3%, which is $300.

  1. You lose $180 on two closed trades. A third trade is open and down $130 more. Today's result is −$310.
  2. RavandFX sees the day pass −3% and closes every position on the account, on every symbol, and deletes every pending order.
  3. The day is blocked. Any new trade, from the panel, the one-click buttons, the phone app or another EA, is closed at once.
  4. At 00:00 broker server time the day resets and you can trade again, with a clear head.

The daily profit target works the same way: hit it and everything is closed, so a great day stays a great day.

How the day is measured

RavandFX keeps one running figure for the whole account:

today's result = closed today (profit + swap + commission + fees)
               + floating profit and swap of every open position
  • The starting point is your balance just before the day's first trade, and the limit is a percentage of it.
  • A position carried over from yesterday counts only the move since the day's reset, plus its swap, so yesterday's loss isn't counted twice.
  • Every symbol and every trade source counts. Running RavandFX on several charts doesn't give you several allowances; all charts share one figure for the account.

How fast it reacts

The check runs on every price tick of the chart's symbol, on a timer four times a second, so moves on other symbols are caught too, and right after every trade on the account. In practice the close-out starts within a fraction of a second of the limit being crossed. The orders are market orders, so on a gap or a fast news spike they can fill at a worse price. Set the limit with that margin in mind.

Why a locked limit beats a setting

Many daily-loss tools are a number in the EA's settings. On a bad day, that number can be raised in five seconds, which is exactly what a bad day makes you want to do. RavandFX's limit lives in your licence:

  • Lower it at any time, and it applies immediately.
  • Raise it once every 30 days, 24 hours after you ask, with the option to cancel.

It also can't be reset by accident or on purpose: restarting MetaTrader, re-attaching the EA or deleting its variables doesn't clear the day, because the day is rebuilt from your account's deal history.

Works with the rest of your rules

The daily loss limit is one of the rules locked into your licence, along with risk per trade, a lot cap, a daily trade allowance and a pause after every trade. Together they stop the chain that usually ends at the limit: a loss, a quick bigger trade, then another. See the trading discipline lock for the whole set, or the prop firm risk manager if you trade a funded account.

Limits worth knowing

  • It works while RavandFX is running. Use a VPS if your computer isn't on during trading hours.
  • Slippage can push a loss past the limit on gaps and fast moves.
  • It doesn't replace your prop firm's own rules, which may measure the day differently. Read the prop firm daily loss limit guide.

Try it

Set a daily loss limit in the free simulator and trade until you hit it, to feel what a hard stop to the day is like. Then start the 3-day free trial on a demo account.

Common questions

Does it close my open trades or only stop new ones?

Both. When the daily loss limit is reached, RavandFX closes every position on the account, deletes every pending order, and closes any new trade until the day resets. The daily profit target works the same way.

When does the daily limit reset?

At 00:00 your broker's server time, which is the time MetaTrader shows in Market Watch. It is often not midnight where you live.

Are swap and commission included?

Yes. Closed trades count with their profit, swap, commission and fees, and open positions count with their floating profit and swap.

Can a loss still go past my limit?

Yes, a little. RavandFX reacts within a fraction of a second, but it closes with market orders, so a gap or a fast move can fill them at a worse price. That's why the limit should sit below any hard limit you must never cross, such as a prop firm's.

Can I raise the limit after a bad morning?

Not on the spot. Lowering it applies at once. Raising it waits 24 hours, is allowed once every 30 days and can be cancelled. By the time it would apply, the bad morning is over.