Grid Trading: How It Works, a Worked Example and the Risks
Range grids and breakout grids, a worked EUR/USD example that shows how a grid earns in a range and what it costs in a trend, how to size one, and how the US hedging rule changes two-sided grids.

On this page
Grid trading places a ladder of orders at regular intervals above and below a price, so that the strategy buys as the price falls, sells as it rises, and collects a small profit each time the price crosses back over a level. It needs no forecast of direction while the market moves sideways. Its weakness is the trend: in a range grid, every level that fills against a falling market adds to a losing position, and the losses grow much faster than the small gains.
A range grid in a range and in a downtrend

How grid trading works
You choose a starting price, a spacing between levels (the grid step), the number of levels, the size of each order and, in the version used here, a take profit for each one. Then you place limit or stop orders at each level. A grid can be built two ways, and they behave in opposite ways:
| Range grid (against the move) | Breakout grid (with the move) | |
|---|---|---|
| Orders | Buy limits below the price, sell limits above | Buy stops above the price, sell stops below |
| Idea | The price will come back | The price will keep going |
| Wins when | The market swings inside a range | The market trends in one direction |
| Loses when | The market trends: positions pile up against it | The market chops back and forth: entries are stopped out |
| Fits | A choppy, ranging market | A trending market or a breakout from a range |
A grid trading example on EUR/USD
A hypothetical long range grid: EUR/USD is at 1.1000. The trader places 10 buy limit orders every 20 pips, from 1.1000 down to 1.0820, each for 0.1 lot (10,000 units, about $1 per pip). Each order has a take profit 20 pips above its entry, worth $20 before costs. Every time the price drops to a level and comes back up 20 pips, the grid earns $20.
Now the market falls instead of ranging. The open loss at the low, before costs, is:
| Move down from 1.1000 | Orders filled | Open loss | Round trips of $20 needed to earn it back |
|---|---|---|---|
| 100 pips (to 1.0900) | 6 | 300 pips, $300 | 15 |
| 200 pips (to 1.0800) | 10, all of them | 1,100 pips, $1,100 | 55 |
| 400 pips (to 1.0600), grid capped at 10 levels | 10 | 3,100 pips, $3,100 | 155 |
| 400 pips, grid extended without a cap (21 levels) | 21 | 4,200 pips, $4,200 | 210 |
Open loss of the 10-level long grid as the price falls

The arithmetic is the core of the strategy: the gains are linear (a fixed $20 per round trip), while the losses in a trend grow faster than the move, because each new level adds a position and every earlier position loses more: until the grid is full, they grow roughly with the square of the distance. With all 10 orders filled the trader holds 1 lot, worth about $110,000, which needs $2,200 of margin at the US cap of 50:1 on major pairs or about $3,667 at the UK cap of 30:1 (see the US rule, 17 CFR 5.9 and the FCA rule, COBS 22.5). A $2,000 account would face a margin call before the grid even filled. How much leverage a small balance can carry is worked through in our guide to leverage for small account trading.
How often does a full grid fill? On daily EUR/USD from March 15, 2021 to June 30, 2023, we took every daily close as a possible starting price and checked the lowest low of the next 5 and the next 20 sessions. The 200-pip fall that fills all 10 levels of the example came within 20 sessions after 247 of 580 starting days, 42.6%, and a 400-pip fall after 80, 13.8%. This period includes the slide of EUR/USD from above 1.22 in May 2021 to below 0.96 in September 2022, so it is hard on a long grid; a calmer or a rising period would likely give lower shares, but we have not measured one.
Starting days followed by a fall of 100, 200 or 400 pips

- Within 5 sessions
- Within 20 sessions
How to set up a grid
- Check the market is ranging. Look for a clear floor and ceiling; the support and resistance guide covers how to find them. A grid placed in a trend is a bet against it.
- Pick the step from volatility. Too tight and costs eat the profit per round trip; too wide and the grid rarely fills.
- Limit the number of levels and compute the open loss if every level fills and the price keeps going, as in the table above.
- Size the orders from that worst case, using the lot size in forex guide to turn pips into dollars.
- Set the exit for the whole grid: a price beyond the range at which every order is closed and every pending order canceled.
- Count the costs. Spreads, commissions and overnight financing are paid on every level; on a small step they can be most of the profit.
A grid is a mechanical form of mean reversion: it only works while prices keep coming back to the middle.
Grid trading and the US hedging rule
Some grids open buys and sells on the same pair at the same time. In the United States that is not possible in a retail forex account: NFA Rule 2-43(b) says forex dealer members may not carry offsetting positions in a customer account and must offset them on a first in, first out basis (NFA rulebook). A sell order in a US account closes the oldest open buy instead of opening a separate short, which changes how a two-sided grid behaves.
Grid trading bots
Grids involve many orders, so they can be run by software: an expert advisor on a forex platform or a grid bot on a crypto exchange. A bot executes the plan; it does not make a range out of a trend. Before running one, check the same things as for a manual grid: the number of levels, the worst-case open loss, the exit for the whole grid and the costs per round trip. A backtest over a ranging period only shows the good half of the strategy; test it over a strong trend too.
More guides on strategies and risk are in trading concepts.
Frequently asked questions
What is grid trading?
A strategy that places buy and sell orders at regular price intervals, forming a grid, to profit from price swings without forecasting direction. In the version described on this page, each order has a take profit one step away.
Is grid trading profitable?
It earns in ranging markets and loses in trending ones. In our hypothetical EUR/USD example, a 200-pip fall left an open loss equal to 55 round trips of profit. Whether it pays depends on the range lasting, on costs and on closing the grid before a trend does too much damage.
What is the grid trading formula?
Profit per round trip = grid step × pip value per order, minus costs. Worst-case open loss for a long grid of n levels with step s, after all levels fill and the price falls d pips below the top level: the sum of (d − k × s) for each filled level k from 0 to n − 1, times the pip value.
Is grid trading allowed in the US?
Placing a ladder of orders is allowed, but holding a long and a short on the same pair in a retail forex account is not: NFA Rule 2-43(b) requires offsetting on a first in, first out basis.
Do grid bots work?
A bot only executes the grid; it inherits the same strength in ranges and the same weakness in trends. Check its number of levels, worst-case loss, global exit and costs before running it.
