Appearance

Personalize your experience

Mode
Accent Color
Direction
Capped Linear

Capped Linear

Capped

Arithmetic growth with a safety ceiling.

At a glance

Engine value
capped_linear
Size at level i
size(i) = base · min(i, cap) (cap = 5)
Family
Capped — Martingale recovery with a hard ceiling on per-level size.
Risk band
Low risk
Capital profile
Linear, then flat once capped — bounded per level.
Best for
Risk-controlled averaging on any market; conservative funds.
Orders per level
One entry order and one take-profit per level.
Ladder cost @ 10 levels
40.0× base lot
Versus a flat ladder
4.00× the capital
Deepest rung
5.00× base (5.00× the first rung)
Entry orders resting
10 at 10 levels
Break-even bounce
4.03% from the deepest fill (flat ladder: 5.00%)
★
Pro tip:A practical pick — one of the modes that holds up in trading rather than only on paper.

What this curve is for

Linear growth with a hard ceiling: 1×, 2×, 3× and so on up to the cap, then flat. It is the most conservative genuine growth in the — enough averaging to matter, a maximum per-level commitment you choose, and a capital profile that stays affordable at depths where would be out of reach.

How the sizing rule works

Size at level i is min(i, cap), with the cap defaulting to 5× base. Below the cap the ladder is (with one order per level); at and beyond the cap it is a flat ladder at cap × base.

LevelPer-order sizeOrdersLevel totalCumulativeEntry priceTake-profit
L11.00×11.00×1.00×99.0099.99
L22.00×12.00×3.00×98.0098.98
L33.00×13.00×6.00×97.0097.97
L44.00×14.00×10.0×96.0096.96
L55.00×15.00×15.0×95.0095.95
L65.00×15.00×20.0×94.0094.94
L75.00×15.00×25.0×93.0093.93
L85.00×15.00×30.0×92.0092.92
L95.00×15.00×35.0×91.0091.91
L105.00×15.00×40.0×90.0090.90
Reference configuration: 10 levels, 1% apart, 1% target, base price 100, long. Sizes are in base-lot units.

The ladder, as the engine builds it

Below is the 's own ladder and the trading terminal's chart engine, both driven by buildLadderPlan for this . Change the level count, spread or target and the rung prices, sizes, and chart lines recompute exactly as they would in the .

base lot 100 USDT · long · no stop

Ladder shape — Capped Linear

LONG · base 100.00 (illustrative) · 10 levels stepping down · 1% apart

Base positionEntry rung (buy)Init target
Opening position & init targets200 USDT
T2
target 2 sell @ 102.00
+2 USDT
T1
target 1 sell @ 101.00
+1 USDT
L0
Market buy · 2 lots @ 100.00
200 USDT

Targets are stacked above the opening buy because a long grid exits higher than it enters.

Entry ladder

Limit buys below the base · L1 nearest, L10 deepest · every amount in USDT

Entry ladder: one row per rung, showing entry and exit price, size, order count, notional, margin, running capital and profit at exit.
LevelSize curveEntry buyUSDTExit sellUSDTFrom base%Sizebase lotsOrdersNotionalUSDTMarginUSDTCum. capitalUSDTProfit at exitUSDT
L120%99.0099.991.00%1.00×11001003001
L240%98.0098.982.00%2.00×12002005002
L360%97.0097.973.00%3.00×13003008003
L480%96.0096.964.00%4.00×14004001,2004
L5100%95.0095.955.00%5.00×15005001,7005
L6100%94.0094.946.00%5.00×15005002,2005
L7100%93.0093.937.00%5.00×15005002,7005
L8100%92.0092.928.00%5.00×15005003,2005
L9100%91.0091.919.00%5.00×15005003,7005
L10100%90.0090.9010.00%5.00×15005004,2005
Levels 1–10 of 10
1 / 1
Ladder cost 40.0×Capital 4,200 USDTAvg entry 93.93Cycle profit 43
Loading the chart engine…

What depth costs

Convex only for the first few levels, then linear at cap × base per level. Worst case is a two-term calculation, and depth is genuinely purchasable.

LevelsLadder costDeepest rungEntry ordersCost vs 5 levelsCoverage
5 levels15.0×5.00×51.00×5%
10 levels40.0×5.00×102.67×10%
20 levels90.0×5.00×206.00×20%
40 levels190×5.00×4012.7×40%
Ladder cost is Σ of every rung in base-lot units, excluding the opening L0 batch. At a grid size of 100 USDT, the 10-level ladder commits 4,000 USDT of notional at 1× leverage.

Read the cost vs 5 levels column as the escalation test. A flat ladder doubles when the depth doubles; anything materially above that is a whose coverage has to be bought rather than simply configured.

Capital budgetLevels affordableAdverse move covered
10× base4 levels4.0%
25× base7 levels7.0%
50× base12 levels12.0%
100× base22 levels22.0%
250× base52 levels52.0%
How far price can move against the grid before it runs out of rungs, per capital budget, at 1% spacing. This is the question a funding decision actually turns on.

Averaging and recovery

With every rung , the volume-weighted average entry is 93.63 against a base of 100 and a deepest rung of 90.00 — so the average sits 64% of the way down the covered range. Getting back to flat from the bottom therefore needs a 4.03% , against 5.00% for a flat ladder of the same depth — 0.97% less work.

ExcursionLevels filledDeployedAverage entryMarkUnrealisedBounce to flat
Shallow dipL1–L36.00×97.6797.00-0.04×0.69%
Half the ladder fillsL1–L515.0×96.3395.00-0.21×1.40%
Full ladderL1–L1040.0×93.6390.00-1.52×4.03%
Reference configuration: 10 levels, 1% apart, 1% target, base price 100, long. Sizes are in base-lot units. Deterministic arithmetic, not a simulation: no assumption is made about how price reached each depth.

Grows linearly (1×, 2×, 3×…) until the cap (default 5×) and then holds. Predictable averaging with a hard maximum commitment per level, so deep ladders stay affordable.

Where the exposure sits

Held by the shallowest quarter
15.0% of total size
Held by the deepest quarter
37.5% of total size
Unrealised loss at full fill
1.52× base (3.8% of deployed capital)
Profit if every rung books its target
0.40× base
One shallow cycle, against reserved capital
2.5 bps

The last row is the metric that separates modes. Profit for a full cycle is the target of deployed capital in every , so it cannot discriminate. What differs is how much capital has to sit reserved to earn one shallow cycle: this mode 40.0× base to collect 2.5 bps of it when the first rung completes.

Which market pays this curve

Almost any regime, which is what makes it a sensible default for conservative mandates. In a range it averages; in a trend it degrades into a flat ladder rather than into a capital problem.

Grows linearly (1×, 2×, 3×…) but stops increasing once it hits the cap (default 5×). Predictable averaging with a hard maximum commitment per level — very risk-controlled.

The shape of the risk

Coverage exhaustion with mild escalation. Past the cap the carries the same risk as , at cap times the size.

ℹ
Note:Beyond the cap this is at cap × base — so very deep ladders cost cap × base per rung.

Run it over real history

This is the product's grid backtester, not a summary of one. It fetches public candles for the you pick, rebuilds the ladder on the first candle of the , then applies the engine's own fill, take-profit, and stop-loss rules bar by bar. The caveat block inside the is part of the output — read it before trusting a number.

Instrument

BTCUSD

delta-india

Capped Linear · 10 levels @ 1% · target 1% · 100 USDT / level · 1× · long · no stop

What this does not model

  • Exact intrabar ticks. Bullish/doji candles use open → low → high → close; bearish candles use open → high → low → close. Finer timeframes reduce sensitivity to this deterministic assumption.
  • Queue position. Limit orders are assumed filled when touched, which flatters a maker grid in fast markets.
  • Margin rejection and liquidation. Deep rungs fill here even if the account could not fund them — check the capital requirement.
  • Slippage and funding. Only the fee you set above is charged; funding, borrow and slippage are absent.

Run the ladder over real history

The grid is rebuilt anchored on the first candle of the window, then the engine's own fill, exit, refill and stop-loss rules are applied bar by bar. You get the real fill sequence for this configuration on this instrument.

Measured against other modes

First the arithmetic, then the market. The below is computed from the size curves alone; the underneath replays every one of those ladders over the same real candle , with grid_mode as the only variable.

ModeLadder costDeepest rungBreak-even bounceEntry ordersShallow cycle
Capped Linear (this mode)40.0×5.00×4.03%102.5 bps
Fixed10.0×1.00×5.00%1010.0 bps
Linear Martingale55.0×10.0×2.38%551.8 bps
Exponential Martingale2046×1024×1.10%100.1 bps
Reference configuration: 10 levels, 1% apart, 1% target, base price 100, long. Sizes are in base-lot units. Peers are chosen from this mode's own direction plus the flat baseline, so the comparison is meaningful rather than decorative.

Nothing is precomputed here. Press run and the backtester fetches one candle window and replays 4 ladders across it — identical settings, identical bars, grid_mode as the only difference.

When to use it

  • Risk-controlled averaging on any market.
  • Conservative mandates that still require an adverse-move response.
  • Deep ladders where would be unaffordable.

When to avoid it

  • You need recovery from a deep — the ceiling is the , and it binds.
  • The cap is set so high that the is simply .

Tuning

  • Cap 3–5 is conservative; 10 is assertive; beyond that you are running with extra bookkeeping.
  • Because post-cap cost is exactly cap × base per level, buy coverage by adding levels rather than by raising the cap.

This is parametric. The and the settings show only the dial(s) it actually uses, and changing one is a structural — the resting ladder is cancelled and re-placed at the new sizes.

Size cap (cap)
Hard ceiling on the per-level multiplier. Linear growth stops increasing once it reaches this multiple. Default 5, range 2–40.
★
Pro tip:After changing a tunable, re-read the capital above and re-run the . A dial that looks cosmetic on a can be a change to the worst case.

Running it in production

  • Record the cap with the . Two capped-linear strategies with different caps are different strategies.
  • Watch the deepest level, not the P&L. Depth is the leading indicator; P&L is the lagging one.
  • peak committed against the account, weekly. A growth that has never been deep has never been tested.
  • Treat every level increase as a capital : adding levels to a growth is not a linear cost.

How it fails

  1. 1
    Coverage exhaustion
    Beyond the cap the ladder is flat, so a long trend still ends with a full position and no rungs left. Depth and the stop are the mitigations.
  2. 2
    Cap set too high
    A cap near the level count removes the ceiling entirely and reproduces 's capital profile.

Claims worth correcting

“Capped linear is too timid to matter.”

It measurably lowers the average entry versus while keeping the worst case a two-term sum. In the it is frequently the best risk-adjusted contender.

Interaction with the rest of the configuration

  • Pairs well with deep ladders and trailing, because post-cap rungs are uniform and cheap to re-place.
  • Spread sets how fast the ladder consumes depth. Widening it buys coverage for the same level count at the cost of fewer .
  • Target sets what each cycle books. Below -trip fees plus slippage, a grid is a fee generator regardless of the .
  • The is the only bound on the tail. Without it, the 's worst case is whatever the market does, not what you planned.

Questions this mode raises

  1. 1
    Capped linear or capped martingale?
    Capped linear for conservative mandates and deep coverage; when recovery speed from shallow excursions is the . Run both in the — they are close enough that the decides.

Where these numbers come from

  • Sizes and capital: levelMultiplier / gridModeCurve in lib/grid/gridModes.ts, from grid_modes.hpp and the Python engine's lot calculator.
  • Rung and exit prices, , init targets and the stop line: buildLadderPlan — the same builder the and use.
  • Backtest , cycles and P&L: runBacktest / runBacktestSweep over public broker candles, applying the engine's fill, exit, and stop rules.
  • Price charts: the trading terminal's chart engine, with the ladder drawn through its own price-line API.
!
Caution:A backtest is evidence about one , not a . Fees are charged at the rate you set; slippage, funding, , margin rejection and are not modelled. For a growth especially, a profitable window mostly tells you the window did not contain the trend that would have tested it.

Related

  • 1.Grid Modes — Overview — The full taxonomy and how to choose
  • 2.Capped family — What every curve in this family has in common
  • 3.Capital Allocation — Sizing an account to a Capped Linear ladder
  • 4.Stop Loss — Bounding this curve's tail
  • 5.Reading the Ladder Plan — Verifying the curve before deploying
  • 6.Grid Structure — Levels, init batch and base size

Related articles

  • Capped Martingale

    Automation / Grid Modes / Capped

    Capped Martingale explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / Capped reference.

  • Capped family

    Automation / Grid Modes / Families

    Martingale recovery with a hard ceiling. The practical answer for live trading.

  • Anti-Martingale

    Automation / Grid Modes / Anti-Martingale

    Anti-Martingale explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / Anti-Martingale reference.

  • Exponential Decay

    Automation / Grid Modes / Anti-Martingale

    Exponential Decay explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / Anti-Martingale reference.

  • Fixed

    Automation / Grid Modes / Basic

    Fixed explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / Basic reference.

  • Fixed DCA

    Automation / Grid Modes / DCA

    Fixed DCA explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / DCA reference.

  • Geometric Decay

    Automation / Grid Modes / Anti-Martingale

    Geometric Decay explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / Anti-Martingale reference.

  • Grid Modes Overview

    Automation / Grid Modes

    The grid mode decides how much size each level commits as the ladder deepens. It is the single choice that most determines both recovery speed and blow-up risk.

  • Half-Slope Inverse

    Automation / Grid Modes / Anti-Martingale

    Half-Slope Inverse explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / Anti-Martingale reference.

Browse all knowledge base articles →