Open the analyzer →

Home › Explore Investing Strategies › System trading

Grid trading: buy at each line down, sell one line up

A rule that draws price lines a fixed ratio apart, buys one slot at each line the price falls through, and sells it one line higher. This covers the exact rule, how it differs from exchange grid bots, and QQQ and TQQQ backtest results.

In one line

A grid's stock share fills only as far as the price has fallen from its high. So on QQQ it led buy and hold only in periods that fell or barely rose, and fell far behind in rising markets. Over the last 10 years of QQQ it returned 2.8% a year against 20.9%.

Article

Grid trading draws price lines a fixed ratio apart, buys one slot each time the price falls through a line, and sells that slot one line above where it was bought. In Korea it is also called tteolsaopal, short for "buy when it falls, sell when it rises". This article states the exact rule this site's backtest uses, how it differs from exchange grid bots and from the infinite buying method, and why it falls behind in rising markets, using QQQ and TQQQ results.

Rules

  • Price lines: start at the first day's open (P0) and repeat up and down at the same ratio without end. With 5% spacing, lines sit at P0 × 1.05, P0 × 1.05², P0 ÷ 1.05 and so on, each line 1.05 times the one below (geometric spacing).
  • First buy: one slot at the first day's open.
  • Buy: each time the price falls through a line, buy one slot if that line's slot is not already held. Nothing is bought on the way up.
  • Sell: each slot is sold when the price reaches the line one above where it was bought. Every slot is bought and sold on its own.
  • Slot size: a slot is the account value at the time of purchase divided by the slot count, and no more slots than the slot count are held at once. Spacings of 3%, 5% and 10% use 32, 20 and 11 slots, so the grid can keep buying at every line down to about −60% from the first slot. If every slot is full or the cash left is less than half a slot, nothing is bought.
  • Fills: a line that is touched fills at the line price. Within a daily bar, an up day is assumed to move open, low, high, close, and a down day open, high, low, close. If the open has already passed a line, the fill is at the open.
Grid trading. Price lines 5% apart start from the first day's open. One slot is bought at each line the price falls through and sold one line higher. If the price keeps rising past the high, every slot is sold and only cash is left. ① Grid: buy at each line on the way down, sell one line above the buy Lines start at the first day's open P0, the same ratio apart (5% here), without end up and down. Each slot is bought and sold on its own. The same number marks one slot. P0 × 1.05 P0 (first open) P0 ÷ 1.05 P0 ÷ 1.05² P0 ÷ 1.05³ 1 2 3 4 4 3 2 1 Buy: one slot when the price falls through a line not held (1/20 of the account) Sell: one line above the buy (+5%). No buying on the way up. If the price keeps rising past the high, every slot is sold and only cash is left. The next buy comes when a line is crossed downward.

Each completed slot earns about 4.7%: the 5% spacing minus the 0.3% round-trip cost. A slot is 1/20 of the account when bought, so each sale adds about 0.2% to the account. A grid's return is set by how many times the price travels between lines, and has little to do with how far the price rises.

How it differs from exchange grid bots

Grid bots on crypto exchanges start with an upper and lower price limit and a number of grids. The grids are split either by equal price differences (arithmetic) or by equal ratios (geometric). Binance's spot grid buys the coins needed for the sell orders above the current price when the bot is created, and places no orders while the price is outside the range. Some bots can also move the range up as the price rises (trailing up).

This article's rule differs in three ways. It has no price range, so it buys again whenever the price falls through a line, even above a new high. It starts with a single slot (5% of the account). Its spacing is geometric. With arithmetic spacing, each grid becomes a smaller percentage as the price rises: lines ₩1,000 apart are 10% apart at ₩10,000 but 5% apart at ₩20,000.

How it differs from the infinite buying method

Laoer's infinite buying method (무한매수법), often mentioned alongside grids in Korean communities, is not a grid. As commonly described, it splits the capital into 40 parts, buys one part near the close every day, and sells the whole position once the price is 10% above the average cost (for TQQQ), then starts over. Details differ by version. A grid lets price lines decide when to buy and sells each slot on its own. The infinite buying method lets the calendar decide when to buy and sells everything at once against one average cost. It is closer to scaling in with a profit target.

The stock share fills only as far as the price has fallen from its high

A grid buys only on the way down and sells on the way up, so the number of slots it holds ends up set by how far the price sits below its high for the period. Each drop of about 5% from the high adds a slot, and if the price keeps rising past the high every slot is sold and only cash is left. That is why it holds almost no stock in a rising market.

QQQ, last 10 years, a 5% grid with 20 slots. On 62% of days QQQ was 0 to 5% below its high, and the stock share averaged 5.2% on those days. The share grew with the distance from the high, to an average of 38.1% on days more than 30% below it. ② Slots fill as the price falls from its high (QQQ, 10 years, 5% grid, 20 slots) Oct 2016 to Sep 2026, 2,512 trading days. The high is the highest price since the first day. Grid stock share that day (avg.) Share of days 0 to 5% below high 5.2% 62% 5 to 10% below 10.1% 16% 10 to 15% below 14.9% 8% 15 to 20% below 21.3% 3% 20 to 25% below 27.2% 4% 25 to 30% below 32.5% 4% Over 30% below 38.1% 3% On 62% of the days QQQ was within 5% of its high, and the stock share averaged 5.2% on those days. Share bars end at 50%. Each further drop of about 5% from the high fills one more slot (1/20 of the account).

Over the last 10 years of QQQ (October 2016 to September 2026), the 5% grid's average stock share was 10%. QQQ was within 5% of its high on 62% of the days, and the stock share averaged 5.2% on those days. The grid sold a slot 112 times in 10 years. Compounding 112 sales that each add about 0.2% gives about 30%, and the actual 10-year return was 31.6%. The same money simply held ended at $66,564.

Backtest results (as of September 2026)

The starting money was $10,000, with nothing added later. Dividends were reinvested on the ex-dividend date, a 0.15% cost was charged on every buy and sell, and cash earned no interest. The last 10 years run from October 2016 to September 2026, and the full QQQ period from January 2000 to September 2026.

CaseEnd balanceAnnual returnMax drawdownAvg. stock share
QQQ 10 years, grid$13,1562.8%−7.1%10%
QQQ 10 years, buy and hold$66,56420.9%−35.1%100%
QQQ full period, grid$18,2432.3%−56.0%37%
QQQ full period, buy and hold$91,0948.6%−83.0%100%
TQQQ 10 years, grid$46,71516.7%−55.9%27%
TQQQ 10 years, buy and hold$307,01140.9%−81.7%100%

Over TQQQ's full period (March 2010 to September 2026), the grid ended at $113,870 (15.8% a year) and buy and hold at $3,482,470 (42.3% a year). The monthly-updated numbers and the 5-year period are in Grid trading vs. holding backtest.

Where it led and where it lagged

Shifting a three-year window one month at a time, the grid ended higher than buy and hold in 62 of 295 QQQ windows (21%) and 17 of 164 TQQQ windows (10%). Every QQQ window where the grid led was one where holding returned 3.2% a year or less, and the grid led in all 51 windows where holding lost money. All of those windows started between 1999 and 2002 or between 2005 and early 2008, the stretches that ran through the dot-com crash and the 2008 financial crisis.

The grid was furthest ahead for the window starting April 2000: over the next three years, holding returned −38.5% a year and the grid −17.4%. It was furthest behind for the window starting January 2019: holding 38.9% a year, the grid 3.7%. On TQQQ, every window where the grid led started between January 2020 and May 2022 and ran through the 2022 decline. The window starting November 2021 returned −2.8% a year for holding and 9.6% for the grid.

If the same average share had simply been kept

To separate the trading method from the low share, the grid was compared with keeping its average stock share fixed over the last 10 years, reset on the first trading day of each month. On QQQ, a fixed 10% returned 2.1% a year and the grid 2.8%. On TQQQ, a fixed 27% returned 14.0% and the grid 16.7%. Most of the gap to buy and hold came from the low share, and the grid did a little better than the same average share. That difference can be read as what the grid gained from the price moving up and down, and it was larger on the more volatile TQQQ.

In exchange, TQQQ's max drawdown was −55.9% for the grid and −31.7% for the fixed 27%. A grid fills up as the price falls, so its share is largest near the bottom. On the 300 days (12% of the 10 years) when TQQQ was 60% or more below its high, the grid's stock share averaged 70%, and it peaked at 79% on March 12, 2020.

Spacing and costs

Wider spacing meant fewer fills and slightly better results. Over the full QQQ period, the annual return was 1.9% at 3% spacing, 2.3% at 5% and 2.5% at 10%, with 1,182, 530 and 168 fills. The 3% grid paid $676 in costs and the 10% grid $307. Costs were not the main reason, though. Over the last 10 years of QQQ, even with no costs the 3% grid returned 2.8% a year, below the 10% grid's 3.5%. A wide grid sells a slot only after a 10% rise, so it held stock longer during rebounds (average stock share over the last 10 years: 9% at 3% spacing, 13% at 10%). TQQQ's full period was also 14.3% a year at 3% and 16.8% at 10%. The full table by spacing is in Grid spacing 3%, 5% and 10% compared.

Interest on cash and taxes

This calculation gives cash no interest. The grid held about 90% cash on average over the last 10 years, and the 3-month US Treasury bill averaged 2.4% a year over the same period. Adding interest would raise the annual return by roughly 2.2 points, to about 5% a year. The gap to buy and hold (20.9% a year) stays large. Taxes work the other way. For Korean residents, the tax rate on foreign stock gains above ₩2.5 million a year is 22% (including local income tax). Buy and hold defers tax until the sale, but a grid realizes a gain every time it sells a slot, so tax can arise every year.

Related concepts and search terms

Grid trading puts a few known ideas into a price-line rule.

  • Grid trading, grid bot: the name widely used in forex and crypto automated trading. Exchanges offer settings such as arithmetic and geometric spacing, a price range and trailing up.
  • Tteolsaopal: a Korean shorthand for "buy when it falls, sell when it rises".
  • Mean reversion: the assumption that a price that moves up and down returns to where it was. A grid is a bet on this assumption and runs opposite to trend following, which buys breakouts to new highs (Turtle breakout, golden cross).
  • Rebalancing bonus, volatility harvesting: the idea that returning volatile assets to set weights can earn a little more than the weighted average of their returns. William Bernstein laid it out in a 1996 article (original). The margin by which the grid beat the same average share above is this effect.
  • Shannon's Demon: an example attributed to Claude Shannon. A stock that keeps doubling or halving and goes nowhere can still grow an account that is split half and half with cash and rebalanced every time. David Luenberger called the same effect volatility pumping.
  • Value averaging: buy more when the holding is below a target value and sell when it is above. It also buys low and sells high, but its yardstick is a target amount set over time, not price lines (more in The basket method).
  • Scaling in: buying in steps as the price falls. The buy side of a grid is close to a ladder that adds a slot for every 5% drop from the high (see the drawdown ladder in Leverage cross-rebalancing).

Search terms: grid trading, grid bot, geometric grid, mean reversion, rebalancing bonus, volatility harvesting, Shannon's demon, tteolsaopal, infinite buying method, 무한매수법.

Drawbacks and risks

  • It holds almost no stock in a rising market. Over the last 10 years of QQQ, the average stock share was 10%.
  • A decline deeper than the slots cover leaves nothing more to buy with. In this calculation that depth is about −60%. QQQ started in January 2000 and ran into the dot-com crash, so all 20 slots filled, and the grid could not buy at all from 2002 through 2006 and in 2009. Over the full period, the grid could not buy (every slot full or not enough cash) on 31.2% of trading days for QQQ and 7.2% for TQQQ.
  • Its share is largest at the bottom. TQQQ's max drawdown over the last 10 years was −55.9% for the grid, deeper than the −31.7% of keeping the same average share fixed.
  • It trades a lot. The 3% grid on TQQQ filled 4,352 times over the full period and paid $7,132 in costs (from $10,000 at the start).
  • The calculation assumes a price order within each daily bar. If the real order differed, same-day buys and sells would differ.
  • Each sale realizes a gain, so tax can arise every year.

Operator's assessment

A grid is less a rule that makes money than a rule that ties the stock share to the drawdown from the high. Over the last 10 years of QQQ, an average share of 10% returned 2.8% a year, better than the 2.1% of simply keeping 10%, but far from the 20.9% of buy and hold. Every three-year QQQ window where the grid led was one where holding returned 3.2% a year or less. It only pays off when the judgment that the market is not going up proves right, and that judgment is not part of the rule. On a volatile asset like TQQQ the gain from the ups and downs grows, but the share passed 70% near the bottom and the max drawdown was around −56%.

What this article does not cover

This article does not recommend any ETF, spacing or slot count. The figures are past results from this site's engine (dividends reinvested, 0.15% cost per trade, no interest on cash, an assumed price order within each daily bar). Fees and settings of exchange grid bots, taxes and exchange rates are yours to check. Everything here is reference information based on past, public data and is not investment advice.

Related

Grid trading vs. holding backtest · Grid spacing 3%, 5% and 10% compared · Volatility breakout · The basket method · Leverage cross-rebalancing · Asset allocation

Basics and trading strategies

← Leverage cross-rebalancing: 3× on drops, 2× on breakouts, 1× when overheated · Contents · Volatility breakout: buy at open + k × yesterday's range →

See these metrics on a real stock →

Confluence Zone is an analysis tool for information and research; it is not investment advice, a solicitation, or a trading instruction. Investment decisions and their outcomes are your own responsibility.
About & methodology · Explore Investing Strategies · Glossary · Questions and answers · Sample analysis · Terms · Investment disclosure · Privacy policy · Open the analyzer · 한국어