A grid bot buys small slices as price falls and sells them as price rises, inside a range. This post shows a percentage-based example you can test yourself on a range-bound coin.
HOW IT WORKS
1. Pick an anchor price (the price when you start).
2. Set a range around it, here 10% below to 10% above.
3. Split the range into 20 equal grids, so each grid is 1% wide.
4. When price falls to a grid line, the bot buys one slice. Each filled buy gets a sell order one grid line higher.
5. When that sell fills, the bot earns the difference and waits for the next dip.
EXAMPLE SETTINGS
Pair: ETH/USDT, Spot, no leverage
Range: anchor price -10% to anchor price +10%
Grids: 20 (1% apart)
Order size: equal amount per grid
These are example settings for learning, not a recommendation. Change them to fit the market you trade.
A SIMPLE NUMBER EXAMPLE
Each completed grid earns about 1% on the slice. With a 0.1% fee on the buy and 0.1% on the sell, about 0.2% goes to fees, so the net is roughly 0.8% per completed grid before slippage. If you make the grids tighter, fees take a bigger share of each profit.
TIGHTER VS WIDER GRIDS
– Tighter grids (for example 0.5%): more trades and smaller profit per trade, with more fee drag.
– Wider grids (for example 2%): fewer trades and larger profit per trade.
RISK RULES
– Stop: a daily close 3% below the lower limit. Exit and accept the loss. Below the range, the bot keeps holding a coin that is falling.
– Above the range: all coins are sold and the bot sits in USDT, earning nothing. Reset the range or stop.
– Optional trend filter: pause new buys while price is below its 200-day average and still falling.
– Use only part of your capital on one bot.
WHEN IT WORKS BEST
Sideways, choppy markets where price keeps moving between support and resistance.
WHEN TO AVOID IT
– Strong downtrends: the bot keeps buying lower and holds a growing losing position.
– Strong uptrends: price leaves the top of the range and you miss the move.
– Very low volatility, where grids rarely trigger.
IMPORTANT
Profit from completed grid cycles is not the same as the bot's total result. If price falls and the bot holds coins, the unrealized loss can be larger than the grid profit you collected. Always look at the net result.
ABOUT THE VIDEO
The video linked in this post is "GRID TRADING – How to Use it & Why it's Effective" by Ryan Brown (ResponsibleForexTrading). It is a general explanation of grid trading and is about four years old. The settings above are my own example for crypto and are not taken from the video.
BEFORE YOU USE REAL MONEY
Run the same settings on CG Backtest for different periods and look at the net result including fees. Try paper trading first.
RISK
This is not financial advice. A grid bot can lose money if price leaves the range, especially downward. Only use money you can afford to lose.