Home › Guides › Grid Trading Strategy

BOT TYPE GUIDEFREENO ACCOUNTAUTOMATED TRADE BOTSGrid TradingStrategyHow it works and where it breaksEDUCATION ONLY | NO SIGNALSEXAMPLE NUMBERS ARE LABELLEDAUTOMATED TRADE BOTSautomatedtradebots.com
A free page on grid trading strategy. Education only, with example numbers labelled.
BOT TYPE GUIDE

Grid Trading Strategy

Short answer

Every grid setting trades one thing against another. Narrow range and few grids earn more per move but leave the range sooner. Wide range and many grids stay in longer but earn less per move.

Range, number of grids, spacing, size, stops and filters. Each one gives something and takes something, and this page shows the arithmetic of the trade.

The page explains how this kind of bot works, works through the arithmetic of its ladder or grid with tables, shows where it breaks, and gives you a fair way to test one before you risk money.

  • How the bot works, step by step
  • The arithmetic of the ladder or grid
  • Where it breaks and how to test it honestly
  • No advice, no signals, no profit promises

Last reviewed 28 October 2026. Education only, not advice.

Free, no account Runs in your browser Worked numbers shown Not advice Examples labelled

Ready to go further

Try your own range and grid count

See the spacing, the capital behind each order and the profit per grid for your numbers.

Open the grid calculatorFree, no account
Reading time6 minutes
Worked exampleExact arithmetic
Tools linked1 on this page
Reviewed28 Oct 2026

What is included

  • How the bot works, step by step
  • The arithmetic of the ladder or grid, with tables
  • How it fails and how to test it honestly
  • The tools that check the numbers

Who it is for

  • People thinking of using this kind of bot
  • People already running one and wanting a stress test
  • Readers comparing bot types before buying
  • Not advice, and not a recommendation to use one
How far price can fall from 100 before it leaves the range5% fallA: 95 to 1055 grids20% fallB: 80 to 12020 grids20% fallC: 80 to 12040 gridsThree made-up settings on a made-up asset at 100. Calculated by us on 27 Oct 2026, exact.
The picture for this page. Example numbers are made up unless the page says they were calculated.

Key facts

  • Every grid setting trades one thing against another. Narrow range and few grids earn more per move but leave the range sooner. Wide range and many grids stay in longer but earn less per move.
  • The main choices are the range, the number of grids, the spacing type, the amount invested, any stop or trailing rule, and any filter that pauses the bot in a trend.
  • With the same 3,000 spread over the grids, a made-up 95 to 105 range with 5 grids leaves the range after a 5 percent fall. An 80 to 120 range with 20 grids leaves after a 20 percent fall (calculated by us on 27 Oct 2026, exact).
  • No setting is the best setting. The right one depends on how the asset moves, which is not known in advance.
  • To compare settings fairly, test them on data they were not tuned on and check them forward on live prices.

The choices and what each one trades off

A grid bot looks like a few boxes to fill in, but each box changes what the bot earns and how it fails. Here they are one at a time.

The range

The range is the lowest and highest price the grid covers. A narrow range packs the lines close, so each price move completes more grids and the profit per move is larger. But price needs to fall only a little to leave through the bottom, where the bot is holding the asset at a loss. A wide range survives bigger moves, but the same money is spread over a larger area, so less of it is working near the current price.

The number of grids

More grids inside the same range means smaller spacing. Each completed grid earns less but there are more of them. Past a point the spacing falls below the fee on a round trip and every cycle loses, as grid bot fees and costs shows. Fewer grids means bigger spacing, fewer completions and more money per order.

Spacing type

Arithmetic spacing keeps the price gap the same. Geometric spacing keeps the percent gap the same. In a wide range, an arithmetic grid has a larger percent gap at the bottom than at the top. Whether that suits an asset depends on how it behaves, and which type exists depends on the bot.

Investment size

The amount invested, divided by the number of grids, is the money behind each order. More money per grid means more profit per completed grid and more loss per unit of price fall. It also decides how much is exposed when price leaves the range.

Stops and trailing options

Some platforms let a bot close all positions if price falls to a chosen stop level, or shift the range up as price rises (trailing). A stop turns an open-ended loss into a defined one, at the cost of locking it in and leaving the bot out if price then recovers. Trailing keeps the bot in the action when price rises, at the cost of selling lower-priced units earlier and buying back at higher ones. What exists varies by platform and no option removes the risk.

Trend filters

A filter pauses new orders when a rule says the market is trending, for example when price is far from a moving average. It can reduce the pile-up in a strong move. It also pauses the bot at times when price would have returned, and its rule is another setting that can be over-tuned.

Three made-up settings, side by side

The same 3,000 of capital, an asset at 100, and three settings. All numbers are a made-up example. Capital per grid is 3,000 divided by the number of grids. Spacing is the range divided by the number of grids. The last two columns are how far price can fall or rise from 100 before it leaves the range.

SettingRangeGridsSpacingSpacing %Capital per gridFall to leaveRise to leave
A: narrow range95 to 10552.002.00%600.005%5%
B: wide range80 to 120202.002.00%150.0020%20%
C: wide, dense80 to 120401.001.00%75.0020%20%

Setting A leaves the range after a 5 percent fall; B and C after 20 percent. A and B have the same spacing, but A puts four times the money behind each order, so it earns four times as much per completion and has a quarter of the room. C has the same room as B and half the spacing, so it completes more often for less each time. Calculated by us on 27 Oct 2026, exact.

What each setting earns per completed grid

Now take a made-up round trip fee of 0.2 percent. Net percent is spacing percent minus 0.2. Net money is capital per grid times that percent.

SettingSpacing %Net % per gridNet money per grid
A: narrow range2.00%1.80%10.80
B: wide range2.00%1.80%2.70
C: wide, dense1.00%0.80%0.60

Setting C is the cautionary one. Its spacing is 1.00 percent, a fifth of which is eaten by the fee, and each grid has only 75.00 behind it. Per completed grid it earns 0.60, against 10.80 for A. It would need many more completions to catch up, and that depends entirely on how price moves.

Net profit per completed grid (made-up 0.2% round trip fee)10.80A: 5 gridsspacing 2.00%2.70B: 20 gridsspacing 2.00%0.60C: 40 gridsspacing 1.00%Same 3,000 of capital in each. Calculated by us on 27 Oct 2026, exact.
Net profit per completed grid for the three settings. This is only one side of the choice. The other side is how often a grid completes, and how long it stays inside the range.

How to compare settings honestly

The temptation is to try many settings on one stretch of price history and pick the one with the best curve. That finds the setting that suited that stretch, not one that suits the future. This is overfitting, covered in the overfitting guide.

  • Test every setting on several assets and several periods, including periods when price trended through the range.
  • Include fees, spread and funding on every fill, not only the first.
  • Record the worst unrealised loss and how long the bot stayed outside the range, not only the final profit.
  • Set aside a period the settings were never tuned on, run each setting there once, and accept what comes out.
  • Then run the chosen setting forward on live prices with no real money first. The page on forward testing explains how.

Use the grid calculator to check the arithmetic of any setting before it goes into a test. Tested results of our own will appear on this site when they are ready, with the data, dates and costs. None are published yet, so no figure here is a result from a bot.

What this page does not say

It does not say which setting is best, or that any of them will earn. A narrow range is not wrong and a wide range is not safe. They fail in different ways, and a reader who knows how each one fails can test for it.

FAQ

Frequently Asked Questions

What are the best grid trading settings?

There is no best setting. A narrow range earns more per move and leaves the range sooner, a wide range has more room and earns less per move. The right balance depends on how the asset moves, which is not known in advance.

How many grids should a grid bot have?

More grids means smaller spacing and more completions, up to the point where spacing falls under the round trip fee. Fewer grids means bigger spacing and fewer completions. Check the arithmetic with your own fee.

What is the difference between arithmetic and geometric grids?

Arithmetic grids keep the price gap the same and geometric grids keep the percent gap the same. Which is on offer depends on the platform.

Does a stop loss make a grid safe?

It defines the largest loss, at the cost of locking the loss in. If price then recovers, the bot is out. A stop changes how the grid fails but does not remove the risk.

How do I compare grid settings without fooling myself?

Test on several assets and periods, include all costs, hold back data the settings never saw and run the finalist forward on live prices without real money first.

Are the numbers on this page real?

Example numbers are made up to show how the maths works, and the page says so. A figure only counts as exact when the page says it was calculated on a stated date. Nothing you enter in a calculator leaves your browser.

Can I use this to decide whether to run a bot?

It can show whether a bot's numbers hold together and how much an account can lose. It cannot say what the market will do, and it is not advice. Use it to ask better questions, then read the terms of your own broker or exchange.

Is this financial advice?

No. It is general education about how grid settings work. The prices here are made up and it does not take your situation into account.

Know the Risk Before You Run It

Free calculators and guides, added every week. Leave your details and we will email you when new ones go up.

Trading carries a risk of loss