Appearance

Personalize your experience

Mode
Accent Color
Direction
Square-Root Martingale

Square-Root Martingale

Martingale

Gentle, decelerating accumulation.

At a glance

Engine value
marti_grid_sqrt
Size at level i
size(i) = base · √i
Family
Martingale — Size grows deeper into — faster recovery, more capital.
Risk band
risk
Capital profile
Sub-linear — total ≈ base × (2/3)·n^1.5.
Best for
Risk-averse mean-reversion; low-volatility instruments.
Orders per level
One entry order and one take-profit per level.
Ladder cost @ 10 levels
22.5× base lot
Versus a flat ladder
2.25× the capital
Deepest rung
3.16× base (3.16× the first rung)
Entry orders resting
10 at 10 levels
Break-even bounce
4.06% 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

Decelerating growth: size is √i, so the ladder gets heavier with depth but by progressively less. It is the growth that remains affordable at depths where every other growth curve has become unfundable, which makes it the practical choice for wide grids that still want some averaging.

How the sizing rule works

Size at level i is the of i. The gap between levels 9 and 10 is a fraction of the gap between 1 and 2, so the flattens as it deepens — the opposite of the behaviour that makes martingale dangerous.

LevelPer-order sizeOrdersLevel totalCumulativeEntry priceTake-profit
L11.00×11.00×1.00×99.0099.99
L21.41×11.41×2.41×98.0098.98
L31.73×11.73×4.15×97.0097.97
L42.00×12.00×6.15×96.0096.96
L52.24×12.24×8.38×95.0095.95
L62.45×12.45×10.8×94.0094.94
L72.65×12.65×13.5×93.0093.93
L82.83×12.83×16.3×92.0092.92
L93.00×13.00×19.3×91.0091.91
L103.16×13.16×22.5×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 — Square-Root Martingale

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
L132%99.0099.991.00%1.00×11001003001
L245%98.0098.982.00%1.41×11411414411.41
L355%97.0097.973.00%1.73×11731736151.73
L463%96.0096.964.00%2.00×12002008152
L571%95.0095.955.00%2.24×12242241,0382.24
L677%94.0094.946.00%2.45×12452451,2832.45
L784%93.0093.937.00%2.65×12652651,5482.65
L889%92.0092.928.00%2.83×12832831,8312.83
L995%91.0091.919.00%3.00×13003002,1313
L10100%90.0090.9010.00%3.16×13163162,4473.16
Levels 1–10 of 10
1 / 1
Ladder cost 22.5×Capital 2,447 USDTAvg entry 94.17Cycle profit 25.47
Loading the chart engine…

What depth costs

Sub-linear in the multiplier sense: ten levels cost roughly twenty-two times base, and forty levels remain within reach of a normal account. This is the only martingale variant that is genuinely deployable at forty-plus levels.

LevelsLadder costDeepest rungEntry ordersCost vs 5 levelsCoverage
5 levels8.38×2.24×51.00×5%
10 levels22.5×3.16×102.68×10%
20 levels61.7×4.47×207.36×20%
40 levels172×6.32×4020.5×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 2,247 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× base5 levels5.0%
25× base10 levels10.0%
50× base17 levels17.0%
100× base27 levels27.0%
250× base51 levels51.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.65 against a base of 100 and a deepest rung of 90.00 — so the average sits 63% of the way down the covered range. Getting back to flat from the bottom therefore needs a 4.06% , against 5.00% for a flat ladder of the same depth — 0.94% less work.

ExcursionLevels filledDeployedAverage entryMarkUnrealisedBounce to flat
Shallow dipL1–L34.15×97.8297.00-0.03×0.85%
Half the ladder fillsL1–L58.38×96.6495.00-0.14×1.72%
Full ladderL1–L1022.5×93.6590.00-0.86×4.06%
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.

Growth decelerates: the gap between level 9 and 10 is far smaller than between 1 and 2. Capital is sub-linear in the multiplier sense — ten levels cost only about 22× base.

Where the exposure sits

Held by the shallowest quarter
18.5% of total size
Held by the deepest quarter
40.0% of total size
Unrealised loss at full fill
0.86× base (3.8% of deployed capital)
Profit if every rung books its target
0.22× base
One shallow cycle, against reserved capital
4.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 22.5× base to collect 4.5 bps of it when the first rung completes.

Which market pays this curve

Low-to-moderate volatility instruments and wide ladders. Anywhere the realistic adverse move is relative to the spread, square-root growth buys depth without buying convexity.

Grows with the of depth, so it adds size but decelerates. A conservative way to average down: more than , far less than linear. Floored at 1 lot.

The shape of the risk

Mild. The tail is thin because the deepest rungs are only modestly larger than the shallowest, so the failure reverts to coverage exhaustion rather than capital escalation.

ℹ
Note:One of the few growth modes that stays affordable at 40+ levels.

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

Square-Root Martingale · 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
Square-Root Martingale (this mode)22.5×3.16×4.06%104.5 bps
Fixed10.0×1.00×5.00%1010.0 bps
Capped Linear40.0×5.00×4.03%102.5 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 5 ladders across it — identical settings, identical bars, grid_mode as the only difference.

When to use it

  • Risk-averse mean-reversion where you still want the average entry to move.
  • Deep ladders (20–60 levels) where any steeper would be unaffordable.
  • Low-volatility instruments whose pullbacks are shallow but frequent.

When to avoid it

  • You need recovery from a deep — the is too flat to deliver it.
  • Depth is shallow, where the difference from is negligible.

Tuning

  • Because capital is mild, spend the budget on depth: square-root at 40 levels is a very different (and often better) than square-root at 10.
  • If you want more recovery at the same affordability, power with p ≈ 1.2 is the next step up.

Running it in production

  • Track coverage rather than exposure — this fails by running out of range, not out of money.
  • 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
    The same failure as : price leaves the covered range and the ladder holds. Deep configurations are the mitigation, and this can afford them.
  2. 2
    Under-differentiation at shallow depth
    At five levels the is nearly flat, so the operational of a growth buys almost nothing. Either go deeper or use .

Claims worth correcting

“Square-root martingale is a weak martingale.”

It is a different trade: it converts martingale's capital convexity into depth. At equal budget it usually covers a far larger adverse move than does.

Interaction with the rest of the configuration

  • Pairs well with trailing: light deep rungs make shifts cheap.
  • 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
    Is this the safest growth mode?
    Among the uncapped growth curves, yes by a wide margin. is comparable and gives you an explicit ceiling instead of a decelerating formula.

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.Martingale family — What every curve in this family has in common
  • 3.Capital Allocation — Sizing an account to a Square-Root Martingale 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

  • Additive Martingale

    Automation / Grid Modes / Martingale

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

  • Half-Slope Linear

    Automation / Grid Modes / Martingale

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

  • Staircase Martingale

    Automation / Grid Modes / Martingale

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

  • Exponential Martingale

    Automation / Grid Modes / Martingale

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

  • Fibonacci Martingale

    Automation / Grid Modes / Martingale

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

  • Geometric Martingale

    Automation / Grid Modes / Martingale

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

  • Linear Martingale

    Automation / Grid Modes / Martingale

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

  • Logarithmic Martingale

    Automation / Grid Modes / Martingale

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

  • Martingale (default)

    Automation / Grid Modes / Martingale

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

Browse all knowledge base articles →