Max Loss Count
Max Loss Count caps how many losing trades you'll take in a day and then steps aside. It's a simple guardrail for a bad day: once you've hit your limit, no new trades open — so a rough morning can't snowball into a rough afternoon.
A "loss" is any trade that closes below break-even (net of the whole trade). A trade that scratches at exactly $0 doesn't count, and winners never count against you.
You set it in two independent places, and either one can stop new trades:
- Per-strategy — on the Strategies page, in a strategy's Risk & Orders tab under Max Loss Count. This limits losses for that one strategy.
- Global (account-wide) — on the Strategies page in Account Settings, right next to the Profit/Loss kill switches. This limits losses across every strategy at once.
Both default to 0, which means unlimited — no cap, nothing changes until you set a number. Whichever limit you hit first takes over: the per-strategy cap only pauses that strategy, while the global cap pauses all of them.
Flatten All Trades when the count is reached
The moment you enter a number above 0, an extra switch appears: Flatten All Trades when Max Loss Count Reached.
- Off (default) — trades already open keep running on their own take-profit / stop / trailing exits. Only new entries are blocked.
- On — the instant the cap is hit, your still-open trades are market-closed too, so you're fully out.
The per-strategy switch flattens only that strategy's trades; the global switch flattens every open trade on the account.
Only your automated trades are closed. The flatten closes positions this software opened and is tracking — a position you opened yourself in the brokerage, outside the app, is never touched.
How it's different from the Loss kill switch
They pair nicely but measure different things:
- The Loss Limit kill switch stops you after a dollar loss (e.g. down $300 on the day).
- Max Loss Count stops you after a number of losing trades (e.g. 3 losers), regardless of how big or small each one was.
Turn on both and either one can end the day — whichever comes first.
When it resets
The count clears at the start of each trading day, along with the daily kill-switch state. Paper and live are counted separately, so a paper losing streak never locks your live trading and vice-versa.
On the Backtest page
The per-strategy Max Loss Count also appears on the Backtest page, so it saves and loads with your copy codes and is fully simulated — the replay stops taking entries after the cap and, with the flatten switch on, closes any open position at that moment. (The account-wide global cap has nothing to simulate in a single-strategy backtest.) See Backtest.
Tip
Max Loss Count only decides when to stop for the day. Your Profit Target & Stop-Loss and every other exit rule still govern each individual trade.