Drawdown limits

Account and strategy drawdown limits and the profit target: what each measures, holds, stops and locks, prop firm terms, withdrawals, restarts, backtests.

Solo in inglese per ora.Apri la pagina in inglese

AlgoTradingHub has two independent kinds of drawdown limit. Account limits protect a broker account as a whole and are measured by the platform. Strategy limits belong to a strategy and are measured inside each deployment of it, on its own P&L — in live trading and in backtests. An account can also carry a profit target, measured like an account limit, which closes everything and locks the account when it is reached.

The two kinds at a glance

Account limitStrategy limit
Where you set itLive → the account's page → Drawdown limitsStrategy builder → Drawdown limits
What it countsYour deployments on the account, or the whole account including manual trades — your choiceOnly this deployment's own P&L
PeriodsOverall, M5, M15, M30, H1, H4, D1, W1, MN1, and StaticOverall — calendar periods, in UTC or in the limit's own time zone and day startOverall, M1, M5, M15, M30, H1, H4, D1, W1, MN1, and StaticOverall — D1, W1, MN1 on the calendar of the strategy's time zone; the shorter ones rolling from the moment they open
Measured againstBy default the balance at the period's start; Overall: the highest balance; Static overall: the balance when the limit started measuring. With prop firm terms: the equity or the higher of the two, and a starting balance you setTimed: the account balance when the window opened; Overall: the deployment's highest realised equity; Static overall: its starting equity
How oftenEvery 500 ms, whether or not anything is deployedOn every tick the deployment receives
Timed breachEvery deployment on the account closes its positions and resting entry orders; no new entries until the period ends. On the whole account, the manual trades open at the breach close tooThis deployment cancels its resting entry orders and closes its positions; no new actions until its window has passed
Overall / Static overall breachEvery deployment on the account is stopped and closed; the account is locked until you reactivate it. On the whole account, the manual trades open at the breach close tooThis deployment is stopped and closed ("Halted")
Profit targetEquity reaching the starting balance plus the target: every deployment stopped and closed — on the whole account, manual positions too — and the account lockedNone
After a server restartCarries on where it wasCarries on where it was (afresh only on a restart you make)
In backtestsNot simulatedYes
Deposits and withdrawalsNot counted as profit or loss (cTrader)Not adjusted

Account limits

What is measured

  • Drawdown % = (reference − equity) ÷ reference × 100, never below 0.

  • By default the reference is a balance (realised money): for a timed limit, the balance at the start of the period; for Overall, the highest balance reached since the limit started measuring (or since you last reactivated it); for Static overall, the balance when the limit started measuring (or when you last reactivated it), which never rises. Prop firm terms can take the reference from equity instead, and measure from a starting balance you set.

  • Equity includes open positions. A period that opens while positions are losing starts already in drawdown by their floating loss; a floating gain at the period's start is a cushion.

  • By default, Overall trails the balance. Its high-water mark rises only when the balance (realised P&L) makes a new peak; floating gains never raise it.

  • A limit breaches when the drawdown reaches the cap — at or above, not strictly above — compared on the unrounded figure. A breach is sticky: a timed limit's until its period ends, Overall's until you reactivate it.

  • If the reference is zero or negative (an account at or below zero), the drawdown reads 0 % and the limit cannot breach until a positive balance anchors it.

Scope: your deployments only, or the whole account

Scope (editor switch)Shown asBalanceEquity
"Count your deployments only" — on (default)strategy P&LBalance at the period's start + the realised P&L of the account's deployments sinceThat balance + the deployments' floating P&L
Off — the whole accountaccount P&LThe broker's balanceThe broker's balance + the broker's unrealised P&L of every open position, manual ones included
  • Whole-account scope uses the broker's own unrealised figure: it includes the swap and the opening commission already charged, not the commission a close would add.

  • Deployments-only scope uses each deployment's own figures: realised P&L is the sum of its closed trades' profit net of commission, swap and currency-conversion fees as the broker booked them; floating P&L is the price difference × volume × contract size, converted to the account currency and valued at the price a close would get (bid for a long, ask for a short), without commission or swap.

  • A position the platform has no price for is left out of the floating P&L (it counts 0) until a price arrives.

  • Which deployments count (deployments-only scope): every deployment Running or Paused on the account, on any server. A deployment that stops counts its final realised P&L, closing fills included, then drops out. A deployment that starts during a period counts only what it realises from then on.

  • Positions you leave open when you stop a deployment ("stop, keep positions") stop counting under deployments-only scope, although they are still open at the broker. Only a whole-account limit keeps seeing them.

  • Manual trades count only under whole-account scope. There, a breach closes the ones open at that moment and cancels your manual pending orders, as a whole-account profit target does: see Your manual trades on the whole account. Under deployments-only scope they are never closed.

Periods and resets

  • Timed periods are calendar periods. By default in UTC: D1 starts at 00:00 UTC; W1 on Monday 00:00 UTC; MN1 on the 1st at 00:00 UTC; M5, M15, M30, H1 and H4 on multiples of their length counted from 00:00 UTC (H4: 00:00, 04:00, 08:00 …). Overall and Static overall never reset.

  • Each limit can follow its own day: a day start (a time of day) and a time zone, set in the editor. D1 then starts at that time each day in that zone, W1 on Monday at that time, MN1 on the 1st at that time, and the shorter periods count from the day's start. A New York 17:00 day — the forex close many brokers use — resets at 21:00 UTC in summer and 22:00 UTC in winter; a Prague midnight (FTMO's) at 22:00 or 23:00 UTC. The zone's daylight-saving changes are followed. A lifetime limit has no day start.

  • Changing a limit's day start or zone restarts its measurement, like changing its period.

  • M1 is not offered for account limits: a hold takes 1–2 s to act.

  • A new limit starts measuring a few seconds after you save it. Its reference is the balance read at that moment, so its first period is partial: it runs from then to the next calendar boundary, after which the limit follows the calendar.

  • At a boundary, the limit re-anchors on the balance it holds (read at most about 2,000 ms earlier), clears its breach and its hold, and measures the new period in the same pass: a reading on the boundary belongs to the new period. A fill within about 2,000 ms of a boundary can be counted in the wrong period.

How often, and how fast it acts

  • The drawdown is measured every 500 ms; each deployment's P&L is refreshed every 500 ms; the broker's balance (and, for whole-account scope, its unrealised P&L) is read every 2,000 ms. A breach is acted on in the pass that sees it; the design bound from breach to action is 1–2 s.

  • Positions are closed with market orders at the broker's price. The loss you end with can therefore be larger than the cap: by the move between the breach and the close, by slippage, and by any price gap (a weekend or news gap is seen only at the first price after it).

  • An account that carries at least one limit is measured whether or not anything is deployed on it.

  • Each account's limits are measured by one server at a time. If that server fails, another takes over within about 40 s; nothing is measured in between. A hold or a stop is never applied twice, and the hand-over does not restart a period.

  • Edits take effect within about 2 s. Changing only the percentage keeps the current period's reference and Overall's high-water mark; changing the period or the scope restarts the limit's measurement (a new reference at the next evaluation); deleting a limit discards its state.

  • Broker figures that cannot be read keep their last values; they are never read as zero. A whole-account limit is not evaluated until the broker's unrealised P&L has been read once.

  • During a broker disconnection no prices arrive: the deployments' floating P&L stays at the last prices and the broker figures keep their last values. A limit cannot see a move that happens during the outage; it acts on the first fresh figures afterwards. Any stop loss and take profit your broker holds still apply.

When a timed limit breaches: the hold

  • Every deployment Running or Paused on the account cancels its resting entry orders, closes every position it holds, and dispatches no action until the period ends. Its indicators keep updating, so a signal that formed during the hold is not fired late when it ends.

  • New entries — market and pending — are refused at the order level until the period ends. Only entries are refused there: the hold's own closes go through, and the broker-side stop loss / take profit of any position are untouched.

  • An entry that was already on its way when the hold started is closed as it fills.

  • The hold ends by itself at the end of the period. Nothing ends it earlier: deleting or raising the limit, pausing and resuming, or restarting do not. If two periods breached, the later end applies.

  • You can still deploy, restart or resume on a held account, but the deployment starts held: before its first tick it cancels its resting entries and closes whatever it holds, and it opens nothing until the period ends.

  • On the whole account, the manual trades open at the breach are closed too, and your manual pending orders placed by then are cancelled. A trade you open by hand during the hold is left alone. See Your manual trades on the whole account.

  • What you see: the account page shows "Held until … UTC — Positions closed, trading resumes at the next period" (on the whole account: "Positions closed, including your manual trades open at the breach; trading resumes at the next period") with the limit and the reading; each deployment's Activity gets a Warning row under Limits, e.g. "Held by the account's daily drawdown limit (5.12% of 5% reached): closing every position; opens resume at 2026-10-05 00:00 UTC.", and, when the hold ends, "Resumed: the account's drawdown hold ended with its period."; you get the notification "Account drawdown limit reached" (Warning).

When the Overall limit breaches: stop and lock

  • Every deployment Running or Paused on the account is stopped and its positions closed (its state reads "Account limit"). The deployments are stopped at the same time, not one after another, so a slow close on one does not delay the others; the same holds when a profit target is reached. On the whole account, the manual trades open at the breach are closed too and your manual pending orders cancelled (below); with "Count your deployments only" on, manual trades stay open. A stop you had already made keeps its own choice — e.g. a stop that kept its positions keeps them.

  • The account is locked. Deploy, restart, resume and portfolio bulk deploy are refused with "This account's Overall drawdown limit was reached, so nothing can start on it until you reactivate the account." Stopping and deleting still work.

  • Deleting or editing the limit does not unlock the account; only Reactivate does.

  • Reactivate measures the Overall limit again from the current balance — the old peak is forgotten — and restarts nothing. A limit with a starting balance keeps it: an Overall peak starts again no lower than the starting balance, and a Static overall stays on it. The page then offers "Restart the N deployments it stopped": each restart runs every deploy check again (the account, the plan's slots, the risk acknowledgement) and keeps the deployment's trades and history.

  • If a timed limit breached in the same pass as Overall, its hold still applies: a deployment you restart after reactivating, within that period, starts held.

  • What you see: a danger banner "Drawdown limit reached — every deployment stopped" with Reactivate; an Error row under Limits in each stopped deployment's Activity ("Stopped by the account's Overall drawdown limit (x.xx% of y% reached): closing every position."); the notification "Account stopped by its drawdown limit" (Critical).

  • A close that does not complete at once is re-checked against the broker and retried in the background until the deployment is flat.

Your manual trades on the whole account

A limit that counts the whole account also closes what no deployment closes itself, so the account ends the breach flat. It works the same way for a drawdown limit breached and for a profit target reached.

  • What is closed: every position open at the breach that no running, paused or stopped-and-closed deployment owns — the ones you opened by hand, and those a deployment you stopped earlier with "keep positions" left open. Every pending order placed by then that no such deployment owns is cancelled. The deployments' own positions close through their own stop or hold, never twice.
  • Only what was open at the breach. A trade you open by hand after the breach is yours: it is never closed, during a hold or after a stop. A position the broker gives no opening time for is treated as open at the breach.
  • How long the platform keeps at it: a close or a cancel the broker refuses (a market closed, for example) is asked again, from every 5 s up to every 5 min; after 5 refusals in a row a Warning row says so, and it keeps asking. For an Overall or Static overall limit it stops once you reactivate the account, and at the latest 3 days after the breach. For a timed limit it stops when that limit's hold ends, at the latest 3 days after the breach.
  • A breach just before a weekend: a daily limit's hold can end before the market opens again. A position the broker refused to close while its market was shut then stays open: close it at your broker.
  • What you see: each close and each cancel is an Info row under Limits in Activity, e.g. "Account daily drawdown limit breached: closed your manual position EURUSD sell 0.2 lots." — on the deployments the breach stopped (a timed breach: on the deployments it held), or, for a position a stopped deployment had left open, on that deployment ("… closed EURUSD sell 0.2 lots this deployment had left open."). An account with no deployment has no Activity to show it: the positions still close. The notifications of a whole-account breach say the manual trades open at the time were closed too.
  • With "Count your deployments only" on, a breach never touches a manual trade.

The profit target

  • A profit target is a row beside the drawdown limits, added with Add target on the account page: a percent (above 0, up to 100) of the starting balance you enter, filled in with today's balance. The editor shows the equity to reach: starting balance × (1 + percent ÷ 100). It never resets, and there is no daily or weekly target.
  • It fires at exactly that number: the first evaluation whose equity is at or above the target. Nothing is added for spread or slippage; any room for them is yours to set in the percent. The positions then close at market, so the balance they leave can differ from the target by the move and the slippage of those closes.
  • What it counts follows the same switch as a drawdown limit. Whole account: the broker's balance plus the unrealised P&L of every open position. Deployments only: the balance when the target started measuring plus the deployments' realised P&L since and their floating P&L.
  • When it is reached, every deployment Running or Paused on the account is stopped and its positions closed (its state reads "Target reached"), and the account is locked as after an Overall breach: deploy, restart, resume and portfolio bulk deploy are refused until you reactivate it.
  • On the whole account it also closes your manual trades. Every other position open on the account at the hit — the ones you opened by hand, and those a deployment you stopped earlier left open — is closed, and your manual pending orders are cancelled, each with a row in Activity. A close or a cancel the broker refuses is asked again, from every 5 s up to every 5 min; after 5 refusals in a row a Warning row says so, and the platform stops asking 3 days after the hit. With "Count your deployments only" on, only the deployments' positions close.
  • What you see: the row reads "x% of +y%", the progress from the starting balance (negative while below it), and gives no near warning. At the hit, a banner "Profit target reached — positions closed, account locked" with Reactivate, and the notification "Profit target reached".
  • Reactivating while equity is still at or above the target locks the account again at the next evaluation; the page warns you first. Raise or delete the target before you reactivate.
  • Deposits and withdrawals move the target by the same amount, so the distance left to it does not change.

Deposits and withdrawals

  • On cTrader, a deposit or a withdrawal moves each limit's reference by the same amount, so it is not counted as profit or loss: the money drawdown is unchanged and the percentage is re-taken of the new reference. Example: 300 lost from a 10,000 period start, then 1,000 withdrawn → 300 of 9,000 = 3.33 %. A deposit cannot hide a loss.

  • Counted as cash movements: deposits, withdrawals, transfers between accounts and sub-accounts, the broker's bonus credits and their removal, converted bonuses. Stay in the drawdown: swaps, commissions, dividends, rollover and copy fees, and the broker's negative-balance-protection top-up.

  • Each movement is applied once per limit, within seconds of the balance change — during a hold or after a breach too, where it lifts nothing.

  • Each adjustment is written as an Info row under Limits on every deployment Running or Paused on the account, e.g. "Withdrawal of 1,000.00 on the account (…): not a trading result, so the account's drawdown limits moved their reference by -1,000.00. daily whole-account limit: reference 10,000.00 → 9,000.00, drawdown 3.33%."

  • If the broker's cash-flow history cannot be read for more than 30 s, the new balance is taken without its movement: a withdrawal then counts as a loss until the history can be read again (it is asked for on every read). A large withdrawal at such a moment can breach a limit.

  • Prop firm terms let an Overall or Static overall limit take a withdrawal differently: start again from the balance after it, or stay where it is, so the withdrawal counts against it.

  • Strategy limits are not adjusted for deposits or withdrawals (see below).

Prop firm terms

A prop firm measures its limits on its own terms. The limit editor's Prop firm terms section sets them on any account limit; applying a rule set fills them for you. Every option's default is the behaviour described above.

SettingChoices (default first)Read by
Measured from (timed) · The peak follows (Overall)the balance · the equity, open positions included · the higher of balance and equityTimed periods: the value at the period's start. Overall: what the peak follows
The percentage is ofthe value it's measured from · the starting balanceEvery drawdown limit
Starting balancean amount in the account currencyA Static overall limit measures from it; "the starting balance" above and the lock below need it. Reactivating never moves it
The peak risesas soon as it's reached · once a day, at the day startOverall
Stop the floor at the starting balanceoff · onOverall
When you withdrawlower the limit by the amount · start it again from the balance after the withdrawal · leave the limit where it isOverall and Static overall
  • A timed limit reads (reference − equity) ÷ base, the reference being the balance, the equity or the higher of the two at the period's start, and the base the reference or the starting balance.
  • An equity reference is read after the boundary. At a period's start, or at the day start of a peak that rises once a day, the limit waits for a broker read made after the boundary — a figure read before midnight is yesterday's equity. Once taken, the reference is kept, so a server failover does not move it.
  • A whole-account limit starts on a fresh broker read. A timed limit on the whole account waits for a broker read made after the period's start on every reference, the balance included: a loss that floated before midnight and is gone is not counted in the new day. A limit that is new, reactivated or started again by an edit waits the same way for a read made after that moment. While the broker cannot be read the limit is not measured; a hold on the deployments still ends at its period's end.
  • An Overall limit keeps a peak of the value it follows, raised at every evaluation or only at the limit's day start (its time zone and day start, as a timed limit's). The floor sits the percent of the base under the peak; with the starting balance as the base it is a fixed amount. With a starting balance, the peak starts no lower than it, even when the limit is created or reactivated after a loss. With the lock, the floor never rises above the starting balance. The limit breaches when equity reaches the floor. Example, a 10% floor on a 100,000 starting balance: at a 104,000 peak the floor is 94,000 with the starting balance as the base, 93,600 with the peak as the base.
  • A peak that follows equity is raised at every evaluation, every 500 ms on broker figures up to 2,000 ms old. A firm that watches every tick can see a spike that happens between two reads, and set its floor higher than ours.
  • The reading stays a percent of the base, so the bar, the near warning and the breach read as for any limit.
  • Changing any of these settings restarts the limit's measurement, as changing its period does; changing only the percent keeps it.

Applying a prop firm's rule set

Apply rule set on the account's limits fills them from a prop firm's rule set — a preset or one of your own (Prop firm accounts) — for one stage: a phase of the challenge, or funded. Every row it writes counts the whole account and carries the starting balance you confirm:

From the rule setThe limit written
The stage's daily loss (the funded stage's own, when it has one)Daily (D1): its percent, or your own tighter daily stop in its place; its anchor and size basis; the firm's day start and time zone
A static maximum lossStatic overall: its percent, from the starting balance
A trailing maximum lossOverall: its percent of the starting balance; the peak follows the balance or the equity, as the firm's; it rises at once or once a day (at the daily loss's day start, else 00:00 UTC); the lock and the withdrawal rule, as the firm's
A phase's profit targetThe profit target: the phase's percent. The funded stage gets none
Your own daily stop, when the firm has no daily lossDaily (D1): from the balance, resetting at 00:00 UTC
  • It replaces the account's whole-account Daily, Overall and Static overall limits and its profit target. Limits of other periods, and every limit that counts only your deployments, stay. The limits-per-account cap counts the result.
  • Your own daily stop must be tighter than the firm's daily percent; a looser or equal one is refused.
  • The preview shows the limits it sets, the ones it replaces, and the notes: that the program forbids automated trading or needs the firm's approval, that the account's currency differs from the rule set's (the limits are percents and still apply), and that the firm fails an account on a daily breach where here the account is held until the next reset.
  • A locked account — a drawdown breach or a reached target — is refused: reactivate it first.
  • Each deployment Running or Paused on the account gets an Activity row, e.g. "Limits set from {rule set} ({phase}): daily 5%, max loss 10% static, target +10%."
  • Afterwards the limits are yours. The account remembers which rule set filled them, for display. A daily, overall or static overall limit whose percent you raise above the firm's is marked "Looser than {rule set}'s x%" — a warning, never a block; a changed anchor, base or clock is not flagged. Forget drops the remembered rule set and the warnings, and leaves the limits as they are.
  • A firm gives you a new account for each stage. Nothing moves to the next phase by itself: connect the new account and apply the next stage to it.

What you see on the account page

  • Each limit row reads "x.x% of y%" — the usage to one decimal, the cap as you typed it — with a bar, the reset rule ("resets daily 00:00 UTC", "resets Monday 00:00 UTC", "resets on the 1st", "never resets — reactivate manually after a breach") and a state: Near limit (at or above 80% of the cap), Held until …, Breached · stopped.

  • Early warning: when a limit's reading reaches 80% of its cap without reaching it, you get "Near an account drawdown limit" (Warning; the account, the reading and the cap) and each deployment Running or Paused on the account gets a Warning row under Limits, e.g. "Near the account's daily drawdown limit (deployments-only): 4.20% of 5%." — once per period for a timed limit; for Overall and Static overall once, again only after the reading fell back under 50% of the cap. A limit reached at once (a gap past the cap) gives no warning; a warning given is kept with the limit's state, so a server restart or an edit of the percentage does not repeat it.

  • The portfolio bulk deploy warns when an account's Overall limit is near (it does not stop the deploy) and refuses an account whose Overall limit was reached.

  • On an account with nothing running, a hold, a breach or a cash adjustment writes no Activity row — the notification and the limit's state are the record.

Caps and counts

  • Cap: greater than 0 and at most 100 % (the editor accepts from 0.01). Up to 10 limits per account, a profit target included, at most one per period and scope — a D1 deployments-only and a D1 whole-account limit can coexist — and one profit target per scope. Editor default: Overall, 5 %, deployments only. Drawdown limits carry no plan restriction.

Strategy limits (per deployment)

What is measured

  • Only the deployment's own P&L: its realised P&L (closed trades, net of costs) and the floating P&L of its open positions.

  • Timed (M1 … MN1): value = the account balance when the window opened + the deployment's realised P&L since the window opened + its current floating P&L; the percentage is taken of the account balance when the window opened. A window that opens with a floating loss starts in drawdown.

  • The base is the whole account's balance, not an allocation. A 5 % D1 strategy limit on a 100,000 account acts when this deployment has lost about 5,000 within the window, however many other deployments share the account.

  • Overall: value = (the deployment's baseline + its realised P&L since it was first started) + floating P&L; the percentage is taken of the highest value the realised part has reached — floating gains never raise it. The baseline is the account balance when the deployment first started, kept across restarts (the baseline), so a restart counts the deployment's realised P&L once. After a server restart or an update the highest value is rebuilt from the deployment's closed trades; a restart you make takes it again from the current realised part.

  • A limit breaches at or above its cap; an Overall breach takes precedence over a timed one on the same tick.

  • Static overall: the same value against the deployment's baseline alone — the balance when it first started (in a backtest, the deposit) — which never moves.

  • A strategy limit always counts only the deployment's own P&L, and the strategy's limit list says so ("this deployment's P&L"). For whole-account protection use an account limit.

Windows

  • D1, W1 and MN1 follow the calendar of the strategy's time zone (the zone it names for its rules — your strategy's clock): a day from local midnight, a week from Monday, a month from the 1st, daylight-saving changes included. The first window is the calendar period the first tick falls in, so it is partial; it rolls on the first tick at or after the period's end, and the new window is that calendar period.
  • The shorter windows roll. M1, M5, M15, M30, H1 and H4 open on the deployment's first tick and last their length (1 min … 4 h) from then; each next window opens on the first tick at or after the previous one's end, so gaps without ticks shift them.
  • A strategy limit follows the strategy's zone at midnight. To follow a broker's or a prop firm's day starting at another hour, use an account limit with that day start.
  • The deployment page does not show when a window will roll.

When it breaches

  • Timed limit — the deployment pauses itself. It cancels its resting entry orders, closes every position it holds (market orders), dispatches no action until the window has passed, and keeps its indicators updating. Its state stays Running (or Paused); its limit row reads Held. Activity (Limits): Warning "Paused by a drawdown limit: cancelling its resting entry orders and closing every position until its window passes."; then Info "Resumed: the drawdown limit's window has passed." Notification "Strategy paused" (Warning), at most once per deployment, period and UTC day.

  • Overall or Static overall limit — the deployment halts on the breaching tick: it is stopped and its positions closed, with the reason "Overall drawdown limit breached (x.xx%)" (two decimals). It reads Halted; Activity gets an Error row under Limits; notification "Drawdown halt" (Critical). Other deployments on the account are not touched.

  • Under heavy load the engine may skip intermediate ticks for the strategy's decisions, but the drawdown limits are still checked on every tick (heavy load).

Restarts, pauses and edits

  • A start the platform makes carries on where the deployment was — after a server restart, an update or a failover: a timed pause in force stays until its window passes (no second close, no second notification), each window keeps its start and reference, a warning already given is not given again, and the Overall limit's highest value is rebuilt from the deployment's closed trades. If a window ended while the platform was down, the first tick after the start rolls it.
  • A restart you make starts the limits afresh: windows re-open at the first tick, a pause in force is lifted, and the Overall peak is taken again from the deployment's current realised equity — the drawdown that stopped it is not carried over.
  • The limits' state is saved only when it changes — a window opens, a limit is reached, a warning is given — and the save never holds up the deployment's decisions. A change in the instants before a server failure can be lost; the peak is never lost, because it is rebuilt from the closed trades.
  • While you pause a deployment, its own limits keep running: they are checked on every tick, a timed breach closes its positions (and cancels any resting entry), an Overall or Static overall breach halts it.
  • A deployment runs the strategy revision it was deployed with, limits included. Editing the strategy's limits changes nothing for it, and a restart keeps the old revision; deploy the new revision to apply new limits.

Periods, caps and what you see

  • Periods: Overall, M1, M5, M15, M30, H1, H4, D1, W1, MN1, and StaticOverall; at most one limit per period (an Overall and a Static overall limit can coexist); cap greater than 0 and at most 100 % (the editor accepts from 0.01). Editor default: Overall, 5 %.

  • The deployment page's Drawdown limit block shows each of the deployment's own limits as "x.x% of y%" with a bar and a state: Near (at or above 80% of the cap), Held (a timed limit's pause), Breached (Overall stopped it). It is refreshed about every 5 s while prices arrive; before the first refresh it shows "—". The reading stays at its breach value while the limit is exceeded. The account's limits are on the account page.

  • Early warning: when one of the deployment's own limits reaches 80% of its cap, you get "Drawdown warning" (Warning) and its Activity a Warning row "Near a drawdown limit: …" — once per window for a timed limit; for Overall and Static overall once, and again only after the reading has fallen back under 50% of the cap. A limit breached at once (a gap past the cap) gives no warning.

In backtests

  • Strategy limits run in backtests with the same evaluator and the same windows (D1, W1, MN1 on the strategy's calendar); the base is the run's own balance (in a backtest the strategy is the whole account).

  • Tick mode checks the limits on every tick. Bar mode checks them once per M1 bar, on the equity at the bar's close — not on the intrabar low the reported maximum drawdown uses — and a breach closes positions at the bar's closing prices.

  • Windows in a backtest open at the run's first step and roll at the first tick or bar at or after their end; the shorter ones drift across data gaps, D1, W1 and MN1 re-align to the calendar. Bar mode rolls a window at the bar's open, before the bar's fills and its stop and target check, as tick mode rolls it on the first tick: a loss on a window's first bar counts in that window in both. Bar mode decides a bar before the limit measures it, so an entry decided on the breaching bar fills at the next bar's open and is closed there by the pause.

  • A timed breach in a backtest cancels the pending orders and closes the positions with exit reason Drawdown limit, stamped at the breaching tick or bar, and does so again on every bar or tick until the window passes. (Live cancels the resting entries and closes once, at the breach.)

  • An Overall or Static overall breach ends the run early; the result reads "Halted early by the {period} drawdown limit: Overall drawdown limit breached (x.xx%)". Its resting orders are cancelled and its positions closed at the breaching step, priced and stamped there, with exit reason Drawdown limit.

  • Account limits are not simulated in backtests. To see how a firm's account rules would have treated a set of strategies, the prop simulator replays a portfolio's backtests through a rule set.

When both kinds apply

  • The two kinds are evaluated independently; the stricter action wins. An Overall stop (of either kind) overrides a hold or a pause; an account hold blocks a deployment's actions exactly like a paused strategy limit. A deployment stopped by its own Overall limit reads Halted; one stopped by the account's reads Account limit.

What drawdown limits do not do (today)

  • Caps are percentages only: no money-amount cap.

  • A strategy limit's day starts at midnight in the strategy's zone; only account limits take another day start, prop firm terms or a profit target.

  • Not enforced live: a prop firm's best-day (consistency) rules, payout conditions, daily profit caps, minimum trading days and time limits, rules about single trades (the prop simulator checks these against your backtests' trades), news windows, no entries before a market closure, and hedging across accounts. A daily breach holds the account until the next period; it never fails it as a firm does.

  • A peak or a reference read from equity is read on the evaluator's cadence, not on every tick: a spike between two reads can be missed.

  • A limit is not a guaranteed exit price: the final loss can exceed the cap (detection time, market close, gaps).

  • During a broker outage, limits measure on the last known figures.

  • Strategy limits: whole-account base; the windows shorter than a day roll from the moment they open; fresh state on a restart you make.

  • Deployments-only scope stops seeing positions left open by a stop that kept them.

  • A withdrawal made while the broker's cash-flow history cannot be read for more than 30 s counts as a loss until it can be read.

  • Account limits and the profit target are not available in backtests.

  • If the server measuring an account fails, up to about 40 s go unmeasured.

Not yet documented

  • How an Overall whole-account limit counts a deposit made while the broker's cash-flow history cannot be read for more than 30 seconds (under engineering review).
  • How a deployment values the floating P&L of a position quoted in a third currency during the first moments after it starts, before the conversion rate has a price (under engineering review).

Domande?support@algotradinghub.io

Ultimo aggiornamento: 15 nov 2026© 2026 AlgoTradingHub