TradeWarden: part 1 of 4 — rules and account protection

TradeWarden: part 1 of 4 — rules and account protection

29 November 2026, 18:30
Olga Solomina
0
4

This is the first part of the TradeWarden panel guide. It covers the operating modes, the Rules tab, limits, the delay on loosening rules, templates, the checklist and the messages after each trade. Next parts: news, the trade panel, other features. The panel is a trader's assistant, not a trading robot: it never opens trades by itself, every entry is made by you.

1. WATCH and PROTECT modes

The mode is switched with one click on the mode button in the panel header. The mode does not depend on the selected profile: personal account or prop firm.

WATCH. The entry buttons are disabled, the panel only calculates and displays. Rules can be set freely, without delays. Use it to set up rules and templates calmly, explore the panel without the risk of an accidental click, monitor limits, risk and news when trades are opened manually or by another Expert Advisor, and follow the market on a day you decided not to trade.

PROTECT. Trading is enabled and your rules are in force. A rule can be tightened at once, but loosened or switched off only after a delay.

The panel starts in PROTECT mode, so the rules work from the first minute. For a second monitor there is the "View only (2nd monitor)" input in the Expert Advisor settings: the panel and the news run in a separate window, without trading and without blocks.

2. The delay on loosening rules

The most expensive decisions are made in the heat of the moment: after a loss you want to win it back, after a winning streak it feels like anything goes. That is why in PROTECT mode a change that makes protection softer (a higher limit, a rule switched off, a shorter news window) does not take effect at once. The delay gives you time to calm down and make a sober decision.

The default delay is 60 minutes. You choose your own period with the input "Delay before loosening or switching off a rule takes effect, min" (0 means immediately). On the panel it looks like this:

  • the rule gets a mark with the time, for example "looser at 11:50" (for a value) or "off at 11:50" (for switching off);
  • until then the old value stays in force, and the bottom of the tab shows when the new one takes effect;
  • switching off can be cancelled by clicking the toggle again before the time comes;
  • the time is rounded up to a whole minute, so the time shown is the moment it takes effect;
  • a pending change survives a timeframe change and a restart of the Expert Advisor.

Tightening a rule (a lower limit, a rule switched on) works at once.

3. The Rules tab

The rules are grouped into three sections. Each rule has an on/off toggle and, if it has a value, "+" and "−" buttons. If you do not need a rule, switch it off and the panel will not check it.

LIMITS

Daily loss limit. Set in percent. The calculation method is chosen in the Expert Advisor inputs: from the balance at the start of the day, from the initial deposit, from the higher of balance and equity at the start of the day, or from the day's equity high (trailing, as some prop firms do). A separate input sets how the day's profit is counted: strict (profit does not increase the room left) or prop-firm style (the day's profit is added to the room left).

Overall limit. Maximum drawdown from the initial capital. The panel warns you when less than 10% is left.

Weekly and monthly loss limits. Entries are closed when the loss of the week or month reaches the set percent of the balance. Off by default, set with the "+" and "−" buttons. The minimum is 0.5% for the weekly limit and 1% for the monthly one.

Losing streak. After the set number of losing trades in a row, trading stops until the next day. A trade closed in the red only because of commission or swap, at a price no worse than the entry, is not counted as a loss.

Pause after a loss. Entries are closed for the set number of minutes. The automatic pause can be lifted with the LIFT button on the ENTRY tab (in PROTECT mode) or by switching the rule off with the delay.

Maximum trades per day and order limits: per day and for open positions and orders at the same time (a typical technical limit of prop firms).

TIME & NEWS

Trading hours by server time: you choose from what time to what time entries are allowed.

Friday: no new entries from the set time and, if you wish, all positions closed before the weekend (PROTECT mode only, once a day).

No entries on Saturday and Sunday (for instruments that also trade at weekends).

News window: minutes of ban before and after an event (details in part 2).

ENTRY & RISK

Maximum allowed spread.

Maximum risk per trade: an entry above it is blocked.

No moving the stop loss further from the entry price.

Pre-trade checklist (see below).

If an entry is blocked, the reason is shown on the button and in the status line (for example, "STOP · daily limit reached").

4. Daily limit: three levels of protection

  • A limit bar with marks at 50%, 70% and 90%. From 50% it turns yellow, from 90% red. At 70% and 90% the panel gives a warning.
  • When the limit is used up, entries are closed until the end of the trading day.
  • Near the limit all positions are closed automatically, with a buffer for commission.

The "Limit left" mini window can be dragged anywhere on the chart and has its own size. It stays visible even when the panel is minimized. Closing at the limit happens at market price: with a gap, a sharp move on news or slippage, the loss can be larger than the limit.

5. Protection against bypassing the panel

  • A pending order placed manually in the terminal's order window during a ban is deleted at once, and a message appears on the panel.
  • Trades opened outside the panel during a ban (manually in the terminal, from a phone or by another Expert Advisor) are closed at once. The same applies to pending orders placed from a phone or by another Expert Advisor.

6. Rule templates and account profile

Ready templates: "Prop 2-step 5/10" for a prop firm and "Strict discipline". You can create your own and name them, for example for a challenge, for normal days or for days with important news. A template is applied with the APPLY button. If a template loosens a rule while entries are closed or positions are open, the loosening goes through the same delay.

One button switches the profile: personal account or prop firm. Each profile has its own set of rules, and the prop profile has a challenge tracker: profit target (how much is left to pass), trading days, counted days (a day counts if its profit reached the minimum you set) and consistency (the share of the best day in the total profit). The tracker is for self-control and does not replace the prop firm's official dashboard. If you need a profit target, the percent is set on the TEMPLATE tab, and a target bar appears on the DAY tab.

7. Pre-trade checklist

Switched on in the rules. Once a day, at the first start, the panel asks you to tick the items: did you sleep well and are you calm, have you checked today's news, do you remember the risk per trade and the daily limit, do you enter only on your own setup, do you remember the pause after a loss. Until the checklist is done, entries in PROTECT mode are closed. You can skip it for the day by closing the window, or switch it off in the rules. The items can be edited: add your own for your strategy.

8. Messages after a trade and the violations report

After each trade a short card appears on the chart: for a winning trade, a losing one (stop) and a breakeven. Breakeven is shown only if the closing price is no worse than the entry price. The messages rate how well you followed the plan, not the profit. After three take profits in a row the panel reminds you not to give the profit back, and after a manual close it asks whether it was in the plan. You can replace the texts with your own.

The discipline report shows, in the account currency, the number of trades and the result for each type of violation (moved stop, entry during a ban, early exit), as well as the best and worst hour to enter. The data comes from the trade journal, the file TradeWarden_trades.csv, which you can open in Excel.

9. Saving settings

Settings are saved to disk at once and are not lost if the terminal restarts or crashes. Expert Advisor inputs (including the loosening delay) return to their defaults when you attach it again; you can keep your set of inputs in a .set file.

Important

  • The panel does not guarantee profit or passing a challenge and does not replace your own risk control.
  • Calculations use MT5 terminal data. A broker or a prop firm may count drawdown, limits and trading days differently, so check the settings against your firm's current rules.
  • The rules work only while the terminal is running and algorithmic trading is enabled in it. Use a VPS for 24-hour protection.

The panel described here: TradeWarden for MT5 — https://www.mql5.com/en/market/product/211679