Back to Guides
Guide

How Grid Trading Works, and How to Test One by Hand

How grid trading works: the levels, the parameters, the five published stop placements, the prop firm rules, and how to test a grid bar by bar.

Grid trading places buy and sell orders at fixed intervals above and below a reference price, so a trade opens as price moves in either direction instead of on a forecast of which way it will go. What decides the outcome is the orders still open when price keeps running one way, and that is also where the published descriptions of grids contradict each other: one calls a grid a textbook martingale, another says it spreads risk across levels.

A grid's result is a property of your levels, your spacing, your stop and your costs, on one symbol, over a period you did not choose with hindsight. That is measurable by hand, one bar at a time, and the stop placement you pick decides what you are measuring.

How does grid trading work?

You pick a reference price, set a range around it, divide the range into levels, and leave a pending order at each level. Price moving down fills the buy orders below; price moving up fills the sell orders above. Nothing in the method predicts direction, which is the whole appeal.

Quantpedia's primer lists what has to be decided before a single order goes out: "the highest price, the lowest price, grids themselves, position sizing and stoplosses". It adds where the outer two usually come from, "between the market's recent highest and lowest prices in a set period", so a grid's shape is a bet on recent volatility repeating.

Spacing has a cost floor. Quantpedia again: "The grid should not be too dense; otherwise, the profit may not be high enough to cover the transaction fees."

B2Broker's overview names seven variants: neutral, bullish, bearish, dynamic, inverse, adaptive and high-frequency. Its neutral grid is the one the other sources describe, orders above and below a reference price aimed at a range-bound market.

Every published description assumes software runs the grid. Axiory calls it "mostly an automated trading system that places buy and sell orders at predefined intervals". ChartLabs does not place orders for you, so the procedure here is a trader placing each order by hand.

What does a grid look like with real numbers?

Six orders, twenty pips apart, with no view on direction. The plainest numbered example sits on a prop firm's prohibited-strategies page, and that context is part of it. Blueberry Funded defines grid trading as "Placing multiple trades at predetermined intervals to build a grid, with no clear risk management strategy", then illustrates it: "Placing buy orders on AUDUSD at 0.6700, 0.6720 and 0.6740, and sell orders at 0.6680, 0.6660 and 0.6640, with no exit strategy or risk plan."

Both the definition and the example carry a qualifier about risk management. The shape is an illustration rather than a recommendation.

Is grid trading a martingale?

The two sources that address it answer in opposite directions, and they are measuring different things.

Quantpedia: "Grid trading is a textbook example of a martingale forex trading strategy. This means, that the strategy increases risk and leverage with increasing losses (unless a stop-loss has been hit)."

Axiory, under its own heading "Grid trading vs martingale": "While not as risky as martingale systems, grid trading systems should be only implemented with strict risk management and caution." Its reasoning is that a martingale doubles the stake after every losing trade, which makes it "more like gambling and less like trading", whereas "grid trading spreads risk across multiple levels".

Quantpedia is describing total exposure, which grows as price runs against the grid. Axiory is describing position sizing, and a plain grid does not double anything. Both readings can hold at once, and neither one tells you what your own grid does.

Is grid trading profitable?

That depends on your levels, your spacing, your stop and your costs, on your symbol, over a period you did not pick with hindsight. Nothing here is a trade call in either direction.

What the sources publish is a condition. Quantpedia: "The environments in which grid trading strategies literally thrive are price ranges, oscillations and sideways markets... On the other hand, the grid trading strategy easily becomes unprofitable if the markets trend persistently."

Axiory states the downside the other way round: these systems are known to win for a stretch and then lose big, enough of a loss in a single day that it treats allocating risk correctly as critical.

ATFX is the bluntest about what a grid demands in capital. It warns about significant drawdowns and overexposure, and says plainly that "a substantial amount of capital might be needed".

B2Broker lists "Risk Management Through Structured Orders" among the advantages of a grid, which is the direct opposite of Quantpedia's sentence about risk rising with losses.

Why a grid's results depend on how you measure them

A grid closes its winners and keeps its losers open, so the way you report results changes the picture.

Quantpedia describes two reporting methods: mark to market, where you report portfolio value every minute, or closed trades, where you report only when a trade closes. Its warning about the second: closed-trade reporting "can create an illusion of a very profitable strategy until the end of the day when all positions are closed... The only trades that are closed during the day are the winning ones."

So read your open exposure at each bar, not the list of trades that closed. An equity curve drawn from closed trades will flatter a grid by construction, because the losers are the positions still sitting there.

Where do you put the stop in a grid?

In one of five places, and they answer different questions.

PlacementSourceWhat it does to your test
One stop per order, a fixed distance awayATFX: a buy on EUR/JPY at 158.00 with a stop at 157.50, so "the loss is capped at 50 pips"Each level's loss is bounded, and the grid's worst case is the sum of them
Just beyond the range's high or lowFXOpen: "Stop losses for each order might be placed just beyond the range's established high or low"Every order shares one exit zone, so the grid ends as a whole when the range breaks
Trail a stop beyond the last entry pointFXOpen, for a trend-following gridThe exit moves with the newest fill, so the test depends on fill order and not just on price
Just beyond the base priceFXOpen, in the same sentence as the trailing optionAnchored to where you started, so a wide grid gives back more before it stops
One account-level stop below the whole gridQuantpedia: a "Stop Loss Price" that "has to be lower than the lowest price" and, when hit, "sells all open buy positions in an account"The grid becomes one position with one exit, which is a different strategy to test

Pick one before you test, because the choice decides what you are measuring.

Grid trading versus martingale, dollar-cost averaging and holding

What separates a grid from a martingale is what triggers the next order: a price level for a grid, a loss for a martingale.

Against dollar-cost averaging, and against simply holding a position, the comparison is a measurement you can make yourself: the same symbol and the same period, your grid's record set beside one position held through it.

Arithmetic or geometric spacing?

Arithmetic spacing aims at the same cash profit per level, geometric spacing at the same percentage. Quantpedia puts it this way: "When applying the arithmetic grid, each grid generates the same profit, for example, $10... the geometric grid, which is more suitable for larger price ranges, generates the same rate of return (for example, 1.0%) for each grid."

On its account, arithmetic suits smaller price ranges and geometric suits larger ones. Which you choose changes the size of every fill.

Can you run a grid on a prop firm challenge?

That depends on the firm and, at one firm, on the day you bought the account. The firm rules here come from each firm's own pages, checked 8 October 2026.

Blueberry Funded publishes two rule sets, and the split is the purchase date. Its pre-March page names both practices. Martingale: "Trading accounts may not use martingale strategies. You cannot respond to a loss by opening a larger position in the same or a correlated asset." Grid trading: "Placing multiple trades at predetermined intervals to build a grid, with no clear risk management strategy." The same page publishes the thresholds behind that. A violation is "Increasing position size by 50% or more following losses in the same trading session", stacking is capped at "up to 4 simultaneous positions per asset" and "up to 7 simultaneous positions in total", and it names "Grid strategies that automatically open positions beyond these limits".

Its sibling page lists "Martingale / Grid Trading" among strategies that "have been removed from our prohibited list and are no longer restricted for new accounts", then draws the line: "If your account was purchased before March 12th, 2026, your original trading rules remain in effect."

One rule crosses both. That same page allows automated trading software "only when it is proprietary", which it defines as three things at once: you built it, it runs your own strategy and risk decisions, and you disclosed it and received consent before running it. It also says "The automated trading requirements above apply to all accounts regardless of purchase date." A bought, borrowed or undisclosed grid robot is out under either rule set.

FTMO reaches a grid without naming one. Its forbidden-trading-practices page does not use the words grid or martingale. What it does say, under risk management, is that you must not use practices "not reasonably replicable in the actual market", and the examples it names are "opening substantially larger position sizes compared to your other simulated trades", "opening a substantially smaller or larger number of positions compared to your other simulated trades", and "undertaking repeated simulated trading activity that results in higher Risk per Trade Idea, thereby exposing your simulated account to cumulative exposure in a specific symbol or correlated symbols". A grid is a larger number of positions, and cumulative exposure in one symbol, by design.

The5ers' prohibited-practices page does not name grid trading or martingale either, and two of the practices it does name reach a grid anyway. One is "Bulk trading, is when multiple trades are open simultaneously". Another bars "repeatedly concentrating risk in a single instrument or group of correlated instruments in a way that builds cumulative overexposure beyond what market-standard risk management would permit". Both describe a grid's normal state rather than a misuse of one.

Firms rewrite these documents, which Blueberry's two pages show. Read the firm's own page for the account you actually hold, then test the rules you find there. ChartLabs re-scores your backtested trades against real prop firm rule sets and returns one of four verdicts, Pass, Almost, Not yet or Failed, each naming the single rule that held you back. It reads your own backtested history, so it does not connect to a firm, place trades or provide funding. There is more on how that works in prop firm backtesting.

A grid holds several positions at once, and what an account can carry while they are open depends on your broker's terms rather than on anything here.

How do you test a grid by hand, step by step?

Place each level as a real order on historical charts and step forward one bar at a time, recording open exposure as you go. Axiory's own testing route is MetaTrader: "Input parameters in your EA's settings and run the simulation. This is all done in MetaTrader's strategy tester or just open the chart and check manually." That last clause is the hand version.

  1. Write the grid down before you start. Symbol, reference price, highest and lowest price, the number of levels, the spacing in pips, the size per level, and which of the five stop placements above you are using. If you cannot write it as numbers, there is nothing to test.
  2. Choose a period you have not traded, and include a trending stretch deliberately, since that is the condition Quantpedia names as the one that breaks a grid.
  3. Place the levels as real orders. Our order entry takes market, limit and stop orders from one bar, with stop-loss, take-profit and risk/reward built in, so the ladder goes in as a ladder rather than as a note on paper.
  4. Turn costs on before the first fill rather than after, which is exactly Quantpedia's warning about spacing. Commission and slippage are set per symbol and flow into every trade's P&L, balances and analytics, with a Trading Costs card reporting total costs, cost drag and average cost per trade.
  5. Step forward bar by bar and record open exposure at each step rather than the closed-trade list.
  6. Count the grid resets, and the levels left open at the end. Open positions when the sample runs out are a result, not an unfinished detail.
  7. Watch correlated symbols if you run more than one grid. The Correlations section compares the symbols you trade and combines every selected strategy's trades per symbol. Two grids on correlated pairs are closer to one large grid than to two tests.
  8. Keep an untouched period for the end. Analytics split by Training and Verification sessions, so the data you have never seen stays separate from the data you tuned on.

The ChartLabs chart order bar, cropped to the risk percentage control, the tag selector, the Market and Limit / Stop switch, and the Buy button

Sizing each level is its own decision, and the chart's order bar carries a risk percentage control that sizes a position from your stop distance. For the data side of an honest test, including what spreads and slippage do to a strategy that trades often, see backtesting accuracy. If this is your first structured test of anything, start with the beginner's guide to backtesting a strategy.

Two neighbouring shapes are worth keeping separate from a grid. A price jump that skips straight through a level, instead of trading through it, is a grid's worst case, and gap trading covers the rules for it. A pullback entry is the opposite shape, one trade at one level: a grid has no opinion about trend, while a pullback entry is nothing but an opinion about trend.

Start testing your own grid

Write the levels down, pick a stretch of history you have never traded, and step through it with costs on. ChartLabs has a 7-day free trial, no credit card required.

Start your free trial

Related Topics

grid-tradingtrading-strategiesmartingaleprop-firm-rulesmanual-backtesting