Tripwire Risk Manager protects your account from the losses that end most trading accounts: one bad day, one revenge trade, one position without a stop loss.
It does not open trades by itself and does not predict the market. It watches every position you open, manually or with other Expert Advisors, and enforces the risk rules you set.
ACCOUNT GUARD
- Daily loss limit (% of the day's starting equity). When it is reached, all managed positions are closed, pending orders are deleted and new trades are blocked until the next daily reset.
- Maximum drawdown guard, static (from your initial balance) or trailing (from your highest equity). When it is reached, everything is closed and trading stays blocked.
- Daily profit target: lock in a good day and stop trading.
- Maximum number of open positions.
- The guard state survives terminal restarts.
AUTOMATIC PROTECTION
- Adds a stop loss to any position opened without one.
- Optional automatic take profit as a multiple of the stop loss.
- Break-even with a configurable locked profit.
- Trailing stop with start, distance and step.
ONE-CLICK PANEL
- Enter your risk in % and your stop in points; the lot size is calculated for you.
- BUY / SELL with stop loss and take profit (reward:risk) attached.
- Close all, Close profitable, Break-even all.
- Live view of daily P/L, remaining daily loss allowance and drawdown room.
SCOPE
- Manage the current symbol only or every symbol on the account.
- Filter by magic number: all trades, manual trades only, or one specific EA.
NOTES
- Works on netting and hedging accounts, any symbol, any timeframe.
- FREE DEMO: run it in the Strategy Tester with visual mode on. The demo opens small trades without a stop loss and you watch the utility add the stop loss and take profit, move to break-even and trail the stop, with each event labelled on the chart. Set a low daily loss limit (e.g. 0.5%) to see the account guard close everything and block trading. The demo trades only exist in the Tester; on a live chart the utility never opens trades by itself.
- Closing on a limit happens at the next available price. In fast markets or gaps the final loss can exceed the limit slightly.
- Trading involves substantial risk. This tool helps you enforce rules; it cannot guarantee that you will not lose money.
INPUTS:
| Input | Default | What it does |
| Positions to manage | All symbols | Current chart symbol only, or every symbol |
| Magic to manage | -1 | -1 = all trades, 0 = manual and panel trades only, other = that EA only |
| Daily loss limit % | 5.0 | Close all and block until reset when equity falls this far below the day's start (0 = off) |
| Max drawdown % | 10.0 | Close all and block when equity falls this far below the reference (0 = off) |
| Drawdown mode | Static | Static = from initial balance; Trailing = from highest equity |
| Initial balance | 0 | Reference for static drawdown (0 = balance when first attached) |
| Daily profit target % | 0.0 | Close all and stop for the day when reached (0 = off) |
| Daily reset hour | 0 | Server hour when the daily counters reset |
| Max open positions | 0 | Newest position over the limit is closed (0 = off) |
| Clear stored guard state | false | Set true once to reset after a block or account change |
| Auto SL (points) | 0 | Stop loss added to positions opened without one (0 = off) |
| Auto TP (x SL) | 0.0 | Take profit as a multiple of the stop distance (0 = off) |
| Break-even trigger / offset (points) | 0 / 10 | Move SL to entry + offset once profit reaches the trigger |
| Trailing start / distance / step (points) | 0 / 300 / 10 | Trailing stop settings (start 0 = off) |
| Panel risk % / SL points / R:R | 1.0 / 300 / 2.0 | Defaults shown in the panel; editable on the chart |
| Magic number | 30112027 | Magic used for panel trades |