What grid trading is
Grid trading is a method where a trader places a series of orders at fixed price intervals above and below a chosen price. The interval is called the grid step. Each level usually has its own small take-profit (a pending order that closes the trade at a set gain). The idea is that price moving back and forth inside a range keeps triggering entries and closing them for small gains.
A grid does not rely on a forecast of direction. It relies on price staying inside a range. That is its main weakness, because markets can trend for long periods.
Grid trading in forex is often run by an expert advisor (EA), an automated program in MetaTrader. It can also be done manually with pending orders. For automation in general, see Algorithmic trading.
Ready to try it on a real or demo account?
Partner link · trading carries a high risk of loss
How a grid is built
A grid is defined by a small set of parameters:
- Grid step: the distance in pips between levels. A pip is the standard minimum price step used to measure currency moves.
- Lot size per level: fixed, or increasing as price moves against the trader.
- Number of levels: how many orders can open in total.
- Take-profit per level or per basket: each trade closes on its own, or all open trades close together when the combined result reaches a target.
- Basket stop: a combined loss limit that closes everything. Many grids are run without one, which is where large losses usually come from.
Common grid types
| Grid type | How it works | Main risk |
|---|---|---|
| One-sided grid | Buy orders only below price, or sell orders only above price | A trend against the grid fills every level and the losses stack |
| Two-sided grid | Buy stops above and sell stops below, or the reverse | In a trend, one side keeps filling while the other side's trades stay open at a loss |
| Fixed-lot grid | Same lot at every level | Exposure grows steadily as levels fill |
| Increasing-lot grid | Lot grows at each level against the trader | Exposure grows faster than price moves; this is a form of Martingale |
How open exposure accumulates in a trend
This example is hypothetical. It is not a result from any account and makes no claim about performance.
A trader sets a one-sided buy grid on a currency pair. Buy limit orders sit below the current price, spaced by a fixed grid step, with the same lot at each level. Each trade has a take-profit set one step above its entry.
While price moves up and down inside a range, levels fill and close at their take-profits. The account shows frequent small gains.
Then the pair starts to fall steadily. These are the stages:
- Price drops through the top level. A buy opens and does not reach its take-profit.
- Price drops through the next level. A second buy opens. The trader now holds more long exposure, and the earlier trade is losing more.
- Each new level adds a position, and every earlier position keeps losing as price falls.
- The floating loss (the unrealised loss on open trades) grows faster with each level, because more positions are losing at the same time.
- Used margin grows with every new position, while equity (balance plus floating profit or loss) shrinks.
The main point is that a grid adds exposure in the direction that is already losing. With a fixed lot, the floating loss grows faster with each extra level. With increasing lots, it grows faster still. Short ranges can hide this for a long time, which is why a grid's history can look smooth right up to a large drawdown.
The margin call path
Margin is the money the broker holds as collateral for open positions. The margin level is equity divided by used margin, shown as a percentage. A margin call is a warning when the margin level falls to a set threshold. A stop out is the level where the platform starts closing positions automatically, usually starting with the most losing trade.
In a grid that keeps filling during a trend:
- Used margin goes up with every new level.
- Equity goes down as the floating loss grows.
- The margin level falls from both sides at once.
Stop out often closes the largest losing positions near the worst prices of the move. This turns the floating loss into a realised loss. If price later reverses, the closed positions no longer benefit.
Use the calculator below. Enter your balance, the positions a grid would open, and your leverage. It shows your margin level and the prices where margin call and stop out would happen.
Fill in the empty fields to see the result.
Margin level = equity / used margin × 100%. Equity falls with the floating loss; the price for a level L solves balance + P/L = L × margin. Margin is taken at the entry price. In a gap the position can close at a worse price.
Margin call and stop out thresholds differ between brokers and account types. Check the current values in your broker's personal area or on its official site before running any calculation.
Specific ways a grid loses money
- Sustained trends. This is the main cause. The grid keeps buying into a falling market or selling into a rising one.
- Price gaps. Over weekends or around news, price can jump past several levels. Pending orders may fill at worse prices, or stop out can happen before any level has a chance to close. See News trading.
- Swaps. Positions held overnight are charged or credited a swap (the overnight financing cost). A grid that stays stuck for weeks can build up meaningful costs. See Swap fees.
- Spread widening. Spread is the difference between the buy and sell price. In thin liquidity it widens, which pushes take-profits further away and can trigger orders early.
- Increasing lots. Grids that raise the lot size after each losing level recover faster in ranges but reach stop out faster in trends. Compare Averaging down.
- Correlated grids. Running grids on pairs that move together, such as pairs sharing USD, stacks the same risk across the account. See Pairs trading.
- EA and connection failures. A disconnected terminal, a closed computer, or a coding error can leave orders unmanaged during a fast move.
- Hedged sides that never close. In a two-sided grid, locked buy and sell positions still use margin and pay swaps. Releasing them usually means taking a loss on one side. See Forex hedging.
Leveraged forex and CFD trading can lose money fast. A grid does not remove that risk. It changes when the risk shows up, often later and larger.
Limits traders apply when testing grids
These are general risk controls, not a recommendation to trade a grid:
- A hard cap on the number of levels.
- A basket stop that closes all positions at a combined loss the trader has decided on in advance.
- Fixed lots rather than increasing lots.
- No grid running through major scheduled news.
- Testing on history first, then on a demo account: see Backtesting, Forward testing and the Demo account page.
- Position sizing set out in a written Trading plan and checked against Risk management rules.
A note for traders in Pakistan
Per the SBP, remitting foreign exchange to overseas forex/margin/CFD platforms is not allowed through any payment channel (FERA s.5(1)). Per the SECP, offshore platforms have no Pakistani licence or oversight and offer no legal protection or recourse. Read Law and regulators before opening any account.
Frequent questions
Is grid trading a strategy that avoids losses?
No. It can show many small gains while price ranges, but a trend can fill every level and reach stop out. The losses can be much larger than the earlier gains.
What is the difference between grid trading and Martingale?
A grid opens trades at fixed price intervals. Martingale increases the lot size after losses. Many grids combine both, which raises the risk further. See Martingale strategy.
Why does my grid's margin level fall so quickly in a trend?
Each new level adds used margin while equity drops from the growing floating loss. The margin level falls from both directions at once.
Does a wider grid step make grid trading safe?
A wider step slows how fast levels fill, but a long trend can still fill them all. Without a basket stop, the account remains exposed.
Where can I see my margin call and stop out prices?
Use the margin call calculator on this page with your own figures. Then confirm your broker's thresholds in its personal area or on its official site.
