Grid bots

Grid trailing: how does the bot move its price range along with the market?

Some grid bots can move their whole price ladder after the market instead of sitting idle outside the range. Bybit calls these settings Trailing Up and Trailing Down on its Futures Grid Bot. The usual idea is that the bot drops a level at one end and adds one at the other, so the ladder keeps its shape and keeps trading — the exact rule differs by exchange, and the order preview on your own screen is what settles it before you confirm. Without that setting, you usually have to stop the bot and start a new one with a new range; some exchanges let you edit a running grid.
ContentsWhat a moving range actually changesWhich levels drop off and which appearOne shift step with numbersWhat happens when price comes backWhat all this shifting costsHow to check it on the exchange before you start
Six clothes pegs evenly spaced on a string, with the lowest peg being moved to the top, in front of a printed chart where price leaves a drawn box
A moving range usually works like this: one level comes off the bottom, one goes on at the top, and the ladder keeps its shape.

What a moving range actually changes

A normal grid bot works inside a range you set: it buys lower, sells higher, and repeats that inside those two boundaries. If you have never set one up, the mechanics are explained on our page about how a futures grid bot works. The awkward part is exactly what brought you here — the market does not care about your boundaries, and a grid that was perfect on Monday can be sitting entirely below price by Friday, with no orders left to fill.

Trailing is the answer to that. Instead of the bot going quiet above or below its range, the whole ladder of price lines slides in the direction price moved and carries on working. It is still the same grid, with the same spacing and the same logic — only the two boundaries keep being redrawn. That also means your position keeps being re-opened at new prices, which is the part most people underestimate, and we will get to it.

Which levels drop off and which appear

The usual picture is a ladder being lifted: one line drops off the bottom, one appears above the top, and the number of rungs stays the same. Moving down is the mirror image of the same idea — the top line goes away, a new line appears below the old bottom, and the bot keeps buying and selling inside the shifted ladder.

The preview is also where you see whether the ladder keeps its length. Some setups hold the number of levels constant, which is what the picture above shows. Others let the grid grow, adding a level without removing one — and a grid with more levels needs more money, because each level is an order with its own size.

There is a second question the preview answers: whether the bot opens a position again when it shifts. By the time price climbs out of the top of your range, a long grid has closed the whole long position — every sale on the way up reduced it, and at the top there is nothing left. To have something to sell at the new top line, it has to buy a position again, and that buy happens at the new, higher price. That single buy is the difference between a quiet range change and a fresh entry well above where you started.

One shift step with numbers

Here is an illustrative long grid, with invented round numbers so the arithmetic is easy to follow. You set a range from 3,000 to 3,500 on an ETH perpetual, with 11 price lines spaced 50 apart, and about 100 USDT of position at each level. That is about 1,000 USDT of position if every level fills — not 1,000 USDT of your money. How much the bot sets aside as margin depends on the leverage you pick, and the launch screen shows that total before you confirm, so scale the whole example down to the amount you actually have.

Price climbs to 3,500, the bot sells its last piece, and price keeps going. With trailing switched on, the grid takes one step up.

Illustrative only: one step of a moving range on a grid with 50-point spacing. Your own bot shows the real lines in the order preview.
BeforeAfter one step up
Bottom of the range3,0003,050
Top of the range3,5003,550
Number of price lines1111
Line removed—3,000
Line added—3,550

After that step the bot is back in business: it can buy near 3,500 and sell near 3,550, pocketing roughly the spacing each time one pair completes. On a 100 USDT order, a 50-point move around 3,500 is about 1.4 USDT per completed buy-sell pair, before fees. Lower down the ladder, near 3,000, the same 50 points is worth a bit more — about 1.7 USDT — because 50 is a bigger share of a smaller price. If the market keeps climbing, the grid keeps stepping, and over a long rise it may step many times, each step pushing your average entry price higher than the one you originally chose. Whether the lines sit at equal distances or at equal percentages depends on the grid type, which we cover in arithmetic or geometric grid.

What happens when price comes back

This is the honest half of the story. The grid followed price up, so it kept buying its position back at higher and higher levels. When the market turns and comes down, those buys are now above the market, and the bot works its way back down through its own levels while the open position shows a loss. The range may trail down too if you enabled that side, which keeps the bot busy but does not undo the position it has already built.

A long grid that chases a market all the way up and then rides it back down is exactly the uncomfortable case, and it deserves its own look — see should you enable Trailing Down on a long bot. The useful habit before you start: decide in advance how far you are willing to let the grid travel, and whether you want a ceiling above which it stops chasing, as described in how to set a limit on trailing up.

What all this shifting costs

Every removed order is free to cancel, but every new fill is a trade with a fee. On Bybit at the base VIP 0 level that is 0.02% as a maker and 0.055% as a taker on the value of each execution — on a 100 USDT order, roughly 0.02 USDT if your order waits in the book, roughly 0.055 USDT if the bot buys at market during a shift. Small per trade, and that is the point: a grid lives on many small trades, so the count matters more than any single fee. There is also funding to account for while the position is open, since these are perpetual contracts.

The number that misleads people most is the bot's grid profit. That figure counts the completed buy-sell cycles only. Your real result is grid profit plus whatever the still-open position is worth right now, minus fees and funding.

Grid profit is not the whole result
Closed grid cycles+9.50 USDT
Open position−24.00 USDT
Total, before other costs−14.50 USDT
Illustrative: a trailing grid can show closed-cycle profit while the position it built along the way is underwater.

Trailing follows price, it does not protect you. Moving the range keeps the bot trading; it does not cap your loss. If you want a limit, set the bot's own stop by price or by loss amount when you create it, and treat that number as the real decision.

How to check it on the exchange before you start

  1. Open the futures grid bot and find the trailing settings

    On Bybit the Futures Grid Bot has settings named Trailing Up and Trailing Down. Other exchanges use their own wording for the same idea — look for anything about moving or extending the price range.

  2. Answer four questions about the trigger

    When exactly does a step happen, which line is dropped and which is added, is there a limit to how far the range can travel, and does trailing work in the grid mode you chose? Write your four answers down before you fund anything.

  3. Look at the order preview before confirming

    The preview lists the price lines and the size of each order, and it is the honest answer for your exchange: it tells you how many levels you have, how much money each one uses, and whether a shift would add a level or just move the ladder.

  4. Check the margin the bot reserves and the stop settings

    The launch screen shows how much of your balance the bot sets aside as margin at the leverage you chose. Compare that with your total balance, then set the stop you are willing to accept. A grid that trails for a week can end up holding far more position than the first screen suggested.

  5. Write your settings down

    Range, spacing, order size, leverage, trailing on or off, stop level. When you review the bot a week later, that note is the only way to know what you actually chose.

If you want to see the real wording and the real numbers for your account, the quickest route is to sign up on Bybit, open the grid bot screen and fill in a range without confirming it — the preview shows the levels, the margin and the trailing options side by side. More on the exchange itself is on our Bybit overview, and if you are still choosing between bot types, start with which futures bot suits a beginner and how to launch your first one.

Is grid trailing the same as a trailing stop?

No. A trailing stop follows price in order to exit a trade at some point. Grid trailing moves the whole range so the bot keeps trading. One is about closing, the other is about staying in the market — we compare them side by side in Trailing Up vs a trailing stop.

Does trailing mean my grid can never go out of range?

It means the bot tries to follow price instead of stopping. Each exchange has its own rule for when a step happens and how far the range may travel, and some bots let you cap it yourself in the settings.

Can I just change the range by hand instead?

Stopping a bot and creating a new one with new boundaries always works: it closes one chapter and opens another. Some exchanges also let you edit the range of a running grid — see changing the range of a running bot.

Does a trailing grid need more money than a fixed one?

It can, because it keeps re-opening a position as it follows the market, and because some versions add levels rather than move them. The margin shown at launch is your starting point, but check whether the bot can draw on more of your balance later.

Why does my bot show profit while my balance went down?

Grid profit counts only completed buy-sell cycles. Add the unrealized result of the position the bot is still holding, then subtract fees and funding, and you have your real number. A long trailing run in a rising market followed by a drop is the classic version of that gap.

Sources and fact-check

Exchange terms were checked against official documents on November 29, 2026. Terms change — before you trade, check what matters to you in the exchange app and in your contract’s specs.

Bybit: How Trailing Up and Trailing Down Work in Futures Grid BotOKX: Futures grid bot FAQ

Find an answer to your question