Appearance

Personalize your experience

Mode
Accent Color
Direction
Exponential Martingale

Exponential Martingale

Martingale

Exponential doubling — very aggressive, fastest recovery.

At a glance

Engine value
marti_grid_exponential
Size at level i
size(i) = base · 2ⁱ
Family
Martingale — Size grows deeper into — faster recovery, more capital.
Risk band
Extreme risk
Capital profile
Exponential — total = base × (2ⁿ⁺¹ − 2). Danger.
Best for
High-conviction reversals only, with strict max-levels + .
Orders per level
One entry order and one take-profit per level.
Ladder cost @ 10 levels
2046× base lot
Versus a flat ladder
205× the capital
Deepest rung
1024× base (512× the first rung)
Entry orders resting
10 at 10 levels
Break-even bounce
1.10% from the deepest fill (flat ladder: 5.00%)
!
Caution:Capital demand escalates very fast in this : 2046× base at 10 levels, and the deepest rung alone is 1024× base. Cap the level count, keep well beyond the nominal requirement, and arm the .

What this curve is for

The pure doubling , and the reason has the reputation it has. Every level doubles the commitment, so the average entry collapses toward the deepest fill and a tiny recovers everything — up until the level where the account cannot fund the next rung, at which nothing recovers at all. It is included for completeness and for the set of situations where a hard level cap plus a stop makes its tail finite.

How the sizing rule works

Size at level i is 2^i base lots. Level 10 alone is 1024× base and the ladder is roughly 2046× base. The doubling is unbounded: there is no ceiling in the formula, so the only bound is the level count you configure and the capital you actually have.

LevelPer-order sizeOrdersLevel totalCumulativeEntry priceTake-profit
L12.00×12.00×2.00×99.0099.99
L24.00×14.00×6.00×98.0098.98
L38.00×18.00×14.0×97.0097.97
L416.0×116.0×30.0×96.0096.96
L532.0×132.0×62.0×95.0095.95
L664.0×164.0×126×94.0094.94
L7128×1128×254×93.0093.93
L8256×1256×510×92.0092.92
L9512×1512×1022×91.0091.91
L101024×11024×2046×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 — Exponential 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
L10%99.0099.991.00%2.00×12002004002
L20%98.0098.982.00%4.00×14004008004
L31%97.0097.973.00%8.00×18008001,6008
L42%96.0096.964.00%16.0×11,6001,6003,20016
L53%95.0095.955.00%32.0×13,2003,2006,40032
L66%94.0094.946.00%64.0×16,4006,40012,80064
L713%93.0093.937.00%128×112,80012,80025,600128
L825%92.0092.928.00%256×125,60025,60051,200256
L950%91.0091.919.00%512×151,20051,200102,400512
L10100%90.0090.9010.00%1024×1102,400102,400204,8001,024
Levels 1–10 of 10
1 / 1
Ladder cost 2046×Capital 204,800 USDTAvg entry 91.00Cycle profit 2,049
Loading the chart engine…

What depth costs

Cost roughly doubles with every level , so capital planning is dominated by the last two rungs — they are more than half the ladder between them. This also means the marginal coverage bought by one more level is the most expensive purchase in the .

LevelsLadder costDeepest rungEntry ordersCost vs 5 levelsCoverage
5 levels62.0×32.0×51.00×5%
10 levels2046×1024×1033.0×10%
20 levels2097150×1048576×2033825×20%
40 levels2199023255550×1099511627776×4035468117025×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 204,600 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× base2 levels2.0%
25× base3 levels3.0%
50× base4 levels4.0%
100× base5 levels5.0%
250× base6 levels6.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 90.99 against a base of 100 and a deepest rung of 90.00 — so the average sits 90% of the way down the covered range. Getting back to flat from the bottom therefore needs a 1.10% , against 5.00% for a flat ladder of the same depth — 3.90% less work.

ExcursionLevels filledDeployedAverage entryMarkUnrealisedBounce to flat
Shallow dipL1–L314.0×97.5797.00-0.08×0.59%
Half the ladder fillsL1–L562.0×95.8495.00-0.53×0.88%
Full ladderL1–L102046×90.9990.00-21.81×1.10%
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.

Position doubles every level. The average entry collapses toward the deepest fill, so a very clears the whole ladder — but level 10 alone is 1024× base and the cost is about 2046× base.

Where the exposure sits

Held by the shallowest quarter
0.7% of total size
Held by the deepest quarter
87.6% of total size
Unrealised loss at full fill
21.8× base (1.1% of deployed capital)
Profit if every rung books its target
20.5× base
One shallow cycle, against reserved capital
0.1 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 2046× base to collect 0.1 bps of it when the first rung completes.

Which market pays this curve

Sharp, reliable mean reversion on an you are actively supervising, with a level cap chosen so the full ladder is genuinely fundable. There is no regime in which unbounded doubling is safe to leave unattended.

Position DOUBLES every level. Averages down extremely fast so a recovers the whole ladder, but capital explodes: level 10 is 1024× base. A prolonged trend against you will exhaust the account.

The shape of the risk

Convex and unforgiving. The failure is not "a loss" but a structural one: the ladder demands an order the account cannot place, so the averaging stops exactly when it was supposed to matter, leaving a maximal position with no mechanism behind it. Leverage compounds this by bringing inside the covered range.

ℹ
Note:This is the that empties accounts. If you want its recovery profile, use instead — it doubles to a ceiling and then holds.

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

Exponential 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
Exponential Martingale (this mode)2046×1024×1.10%100.1 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
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

  • Only with a hard level cap, an armed , and well beyond the nominal requirement.
  • High-conviction reversal setups under active human supervision.
  • As a teaching : run it in the backtester on a trending to see the mechanism fail.

When to avoid it

  • Unattended operation of any kind.
  • Any capable of trending — which is all of them.
  • Leverage above 1×, where arrives before the ladder finishes.

Tuning

  • If you want this recovery profile with a survivable tail, use : it doubles to a ceiling and then holds flat.
  • Every level you halves the worst case. Depth is the only meaningful dial here.
  • Arm the and set it inside the range your capital actually covers, not at the bottom of the configured ladder.

Running it in production

  • Compute the fundable depth before deploying, then set levels to that number — not to the depth you wish you had.
  • on the deepest level crossing half the configured depth; from there the remaining ladder costs as much as everything before it.
  • 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
    Funding wall
    The next rung is larger than the free margin, so it is . The ladder silently stops averaging at the worst possible moment while the operator still believes the is intact.
  2. 2
    Liquidation inside coverage
    With leverage, the position's price can sit above the deepest rung. The grid is then mathematically incapable of completing its own .
  3. 3
    Survivorship reading
    A backtest without a sustained trend shows exponential outperforming everything, because the tail never happened. This is the single most common way operators talk themselves into it.

Claims worth correcting

“Doubling always wins eventually because price always comes back.”

The account has to survive until it does, and the required capital grows faster than any realistic budget. "Eventually" is not a funding .

“A stop makes exponential safe.”

A stop bounds the loss, which is necessary but not sufficient: with doubling, the loss at the stop is itself dominated by the deepest rungs, so the must be chosen against the capital , not the price chart.

Interaction with the rest of the configuration

  • Never pair with trailing: shifting a doubling ladder re-places the heaviest orders at new prices and multiplies the exposure event.
  • Pair with the tightest workable target — the whole thesis depends on booking the quickly.
  • 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 there any configuration where this is defensible?
    A short ladder (4–6 levels), 1× leverage, an armed stop, and capital sized for the full . At that you have built something close to , which is the better-behaved way to get there.
  2. 2
    Why is it in the catalog at all?
    Because the engine mirrors the C++ exactly, and because seeing the measured against its alternatives is the most effective argument against using it.

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 Exponential 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

  • Power-Law Martingale

    Automation / Grid Modes / Martingale

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

  • Triangular Martingale

    Automation / Grid Modes / Martingale

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

  • 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.

  • 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.

  • 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.

  • 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 →