WhitmanTrading

Grid Trading: Smooth Until It Is Not

Grid trading places buy and sell orders at fixed intervals above and below price, banking the gap each time the market oscillates. It works in a range and only in a range, because the closed wins are bounded and the open position a trend builds against you is not.

A grid is the only strategy whose equity curve looks better as the position gets worse. That is not a presentation problem. It is what the design does, and this page is about that one gap.

How it works

Orders sit at fixed intervals above and below the current price. Buys below, sells above, evenly spaced. Price falls into a level and the system buys; it rises into one and the system sells, banking the interval.

So it buys weakness and sells strength without being asked. No forecast is involved. The order pattern is the entire strategy, which is why it usually arrives as a trading bot or an expert advisor.

The two accounts

In a range it collects the same move repeatedly. This is a mean reversion bet expressed as an order pattern: you are paid for supplying liquidity to a market that keeps coming back.

Which produces a beautifully smooth curve, for months. Realized wins arrive as a steady drip, each small, each closed. Nothing in that record hints at what is being carried underneath it.

Then a trend arrives and the grid adds all the way down. Every level it passes is another fill, so the position grows in exactly the direction that is hurting it.

The open loss grows while the closed profit looks fine. The statement shows a run of small realized wins and says nothing about the position sitting underwater beneath them.

Small frequent wins and one unbounded loss. That is the payoff shape. It is the same shape as a martingale, and for the same reason: exposure rises as price moves against you.

A grid does that as a side effect, not as a doubling rule. Nobody decides to add to a loser. The spacing adds for you, and the exposure grows all the same.

In practice

Every grid level pays the bid-ask spread again. A dense grid trades constantly, and cost scales with trade count, not with profit.

It keeps trading when nobody else is there. Falling volume is where fills degrade, and a resting order does not notice the book thinning underneath it.

On a long chart the trends are the whole story. Zoom out and the ranges a grid feeds on look like pauses between the moves that would have ended it.

An opening gap skips levels. Price arrives past several at once, so the fills a backtesting run assumed never happen, and the position ends up larger than modeled at a worse average price.

A total-position stop loss is the only real defense. A stop per level closes one rung while the aggregate keeps growing. Size the whole grid as risk per trade, and name a price beyond which it switches off.

Every round trip pays the spread and any commission. On a tight grid the interval banked per rung can be only a few times that cost, so spacing and cost have to be set together.

Table diagram of a grid in a range, a trend against it and a gap: smooth growth, then a growing position, then skipped levels.
A diagram of this page's point that a grid is smooth until the market stops ranging.

Sizing a grid honestly

Decide the worst price you will tolerate first, before anything else is chosen. Not the spacing, not the level count, not the size per rung. Pick the price beyond which you are no longer willing to hold this position at all.

Then count how many levels sit between here and there. Your spacing fixes that number, and it tells you how many units the grid holds at its worst moment.

Now set the per-level size so that total, at that worst price, is a loss you accept. This is ordinary risk management worked backwards from the failure rather than forwards from the entry, and it usually produces a rung far smaller than the one that felt sensible.

A margin account will let you run a grid larger than that arithmetic allows. Leverage does not move the worst price — only whether you are still holding when price reaches it.

What grid trading is not

It is not market-neutral. The moment price leaves the middle, the grid holds a directional position.

It is not a hedge. Buys below and sells above do not offset; they are one bet, staged.

It is not automated trading made safe. Automating it removes the person who might have stopped.

It is not free of a view. The view is that this market ranges — the largest assumption here.

How this connects

The anti-martingale is the opposite exposure shape. It adds to winners rather than losers, which is the logic of pyramiding, and it produces rare large gains instead of frequent small ones.

A grid’s losing side is best tracked as an average entry price. Each fill on the way down lowers it, which feels like progress and simply describes a larger position.

Grid spacing is usually tuned to volatility. Setting the interval from average true range or a Bollinger Band width keeps rungs meaningful, but volatility expansion at the start of a trend fills several at once.

Regime filters try to switch it off in time. A rising ADX or a falling choppiness index signals that the market is leaving its range, and a breakout through the outer rung is the plainest warning of all.

Trend following is the strategy a grid is short. Whatever makes one work well makes the other suffer.

Crypto is where most retail grids run. A bot on a crypto exchange working limit orders around Bitcoin is the standard setup, and forex versions run the same logic on a currency pair.

Resting rungs act like a small market maker, earning the interval in exchange for liquidity, but without the inventory hedging a professional uses, and exposed to stop hunt spikes and slippage when the book thins.

And dollar cost averaging is the honest cousin, buying at intervals of time into a long-term holding with no promise to sell into strength.

When it fails

Inside a trading range it is exactly as good as it looks. That is the trap. The strategy does precisely what was advertised, which is why the failure arrives as a surprise.

A trend starts and does not stop. Day-to-day direction on a broad index is close to a coin toss — the S&P 500 closed up on 53.1% of trading days from 1950 to 2026 — and that back-and-forth is what the grid is betting on, but the run that matters outlasts your level count.

The drawdown was never visible in the record. After its 9 October 2007 close the S&P 500 did not finish above that level again until 28 March 2013, and the rungs a grid bought near that top would have carried their open loss for the whole stretch.

Gaps skipped the levels the test filled. The backtest assumed a ladder; the market gave one price, further away, for the lot.

The spacing was tuned on the history it was then judged against. Overfitting appears in two titles across the corpus, median 299 views — nobody sells the problem, so nobody checks for it.

The decision arrived mid-drawdown. Hold the open position or realize all of it at once, chosen at the worst possible moment, by somebody who is now frightened.

The original data

The title scan covered the 24,971 videos in this site’s search study. “Grid trading” appears in four titles, from three channels, median 113,096 views, maximum 282,405 — among the highest medians in the corpus, from almost no supply. “Trading bot” takes 93 videos and 77 channels at a 10,655 median; “martingale” takes one, at 23,800.

The question: Nine months smooth, now trending against. Hold?

Risk of ruin and expectancy are the two calculations a grid requires. The condition that destroys a grid is a sustained one-way move, and real markets supply them: the S&P 500 logged 68 separate falls of 5% or more below its record between 1950 and 2026, about 0.89 a year. Compute the total position at the furthest level before you start; if that number is unacceptable, the grid is too large regardless of how the last nine months looked.

Trading bot is the wrapper a grid arrives in, and the test for whether its settings were chosen honestly.

Risk management is where the total-position limit and the switch-off price belong, because a grid has no per-trade risk worth the name.

And mean reversion is the assumption underneath all of it, worth testing before an order pattern is built on top.

What I actually do

I judge a grid by the open positions, not by the equity curve. The closed side draws the prettiest line you will ever produce while a position underneath it gets bigger and further from where you bought. If the only way out is closing on fear rather than by rule, it is not a system.

— Michael Whitman

This page is educational, not financial advice. Test every idea on your own charts before risking money.