Appearance
Personalize your experience
Exponential Martingale
MartingaleExponential doubling — very aggressive, fastest recovery.
At a glance
marti_grid_exponentialsize(i) = base · 2ⁱ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.
| Level | Per-order size | Orders | Level total | Cumulative | Entry price | Take-profit |
|---|---|---|---|---|---|---|
| L1 | 2.00× | 1 | 2.00× | 2.00× | 99.00 | 99.99 |
| L2 | 4.00× | 1 | 4.00× | 6.00× | 98.00 | 98.98 |
| L3 | 8.00× | 1 | 8.00× | 14.0× | 97.00 | 97.97 |
| L4 | 16.0× | 1 | 16.0× | 30.0× | 96.00 | 96.96 |
| L5 | 32.0× | 1 | 32.0× | 62.0× | 95.00 | 95.95 |
| L6 | 64.0× | 1 | 64.0× | 126× | 94.00 | 94.94 |
| L7 | 128× | 1 | 128× | 254× | 93.00 | 93.93 |
| L8 | 256× | 1 | 256× | 510× | 92.00 | 92.92 |
| L9 | 512× | 1 | 512× | 1022× | 91.00 | 91.91 |
| L10 | 1024× | 1 | 1024× | 2046× | 90.00 | 90.90 |
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 .
Ladder shape — Exponential Martingale
LONG · base 100.00 (illustrative) · 10 levels stepping down · 1% apart
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
| Level | Size curve | Entry buyUSDT | Exit sellUSDT | From base% | Sizebase lots | Orders | NotionalUSDT | MarginUSDT | Cum. capitalUSDT | Profit at exitUSDT |
|---|---|---|---|---|---|---|---|---|---|---|
| L1 | 0% | 99.00 | 99.99 | 1.00% | 2.00× | 1 | 200 | 200 | 400 | 2 |
| L2 | 0% | 98.00 | 98.98 | 2.00% | 4.00× | 1 | 400 | 400 | 800 | 4 |
| L3 | 1% | 97.00 | 97.97 | 3.00% | 8.00× | 1 | 800 | 800 | 1,600 | 8 |
| L4 | 2% | 96.00 | 96.96 | 4.00% | 16.0× | 1 | 1,600 | 1,600 | 3,200 | 16 |
| L5 | 3% | 95.00 | 95.95 | 5.00% | 32.0× | 1 | 3,200 | 3,200 | 6,400 | 32 |
| L6 | 6% | 94.00 | 94.94 | 6.00% | 64.0× | 1 | 6,400 | 6,400 | 12,800 | 64 |
| L7 | 13% | 93.00 | 93.93 | 7.00% | 128× | 1 | 12,800 | 12,800 | 25,600 | 128 |
| L8 | 25% | 92.00 | 92.92 | 8.00% | 256× | 1 | 25,600 | 25,600 | 51,200 | 256 |
| L9 | 50% | 91.00 | 91.91 | 9.00% | 512× | 1 | 51,200 | 51,200 | 102,400 | 512 |
| L10 | 100% | 90.00 | 90.90 | 10.00% | 1024× | 1 | 102,400 | 102,400 | 204,800 | 1,024 |
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 .
| Levels | Ladder cost | Deepest rung | Entry orders | Cost vs 5 levels | Coverage |
|---|---|---|---|---|---|
| 5 levels | 62.0× | 32.0× | 5 | 1.00× | 5% |
| 10 levels | 2046× | 1024× | 10 | 33.0× | 10% |
| 20 levels | 2097150× | 1048576× | 20 | 33825× | 20% |
| 40 levels | 2199023255550× | 1099511627776× | 40 | 35468117025× | 40% |
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 budget | Levels affordable | Adverse move covered |
|---|---|---|
| 10× base | 2 levels | 2.0% |
| 25× base | 3 levels | 3.0% |
| 50× base | 4 levels | 4.0% |
| 100× base | 5 levels | 5.0% |
| 250× base | 6 levels | 6.0% |
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.
| Excursion | Levels filled | Deployed | Average entry | Mark | Unrealised | Bounce to flat |
|---|---|---|---|---|---|---|
| Shallow dip | L1–L3 | 14.0× | 97.57 | 97.00 | -0.08× | 0.59% |
| Half the ladder fills | L1–L5 | 62.0× | 95.84 | 95.00 | -0.53× | 0.88% |
| Full ladder | L1–L10 | 2046× | 90.99 | 90.00 | -21.81× | 1.10% |
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
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.
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.
| Mode | Ladder cost | Deepest rung | Break-even bounce | Entry orders | Shallow cycle |
|---|---|---|---|---|---|
| Exponential Martingale (this mode) | 2046× | 1024× | 1.10% | 10 | 0.1 bps |
| Fixed | 10.0× | 1.00× | 5.00% | 10 | 10.0 bps |
| Capped Linear | 40.0× | 5.00× | 4.03% | 10 | 2.5 bps |
| Linear Martingale | 55.0× | 10.0× | 2.38% | 55 | 1.8 bps |
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
- 1Funding wallThe 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.
- 2Liquidation inside coverageWith leverage, the position's price can sit above the deepest rung. The grid is then mathematically incapable of completing its own .
- 3Survivorship readingA 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
- 1Is 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.
- 2Why 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/gridModeCurveinlib/grid/gridModes.ts, fromgrid_modes.hppand 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/runBacktestSweepover 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.
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
Related to Exponential Martingale
- 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.