strategy · Rule-based

Grid Trading Strategy

A grid trading strategy that places systematic buy and sell orders at intervals to profit from ranging markets with mechanical rules.

T By tradernewbie · Test before trading live
#strategy#grid-trading#forex#algo

Grid Trading Strategy

Overview

A grid strategy places a series of buy and sell limit orders at fixed price intervals around a central price. As price oscillates in a range, the orders fill mechanically — buys below, sells above — capturing each swing. It works best in stable ranges and worst in strong trends.

Setup

  • Instruments: range-bound forex pairs (EUR/CHF, EUR/GBP), low-volatility stocks
  • Timeframe: 4-hour or daily; grid is price-based not time-based
  • Grid spacing: 0.5 × ATR(14) between levels (adapt to volatility)
  • Grid size: 5–10 levels above and below the central price

Entry rules

  1. Identify a defined range with clear support and resistance
  2. Set the grid center at the range midpoint
  3. Place buy limit orders at each level below the center
  4. Place sell limit orders at each level above the center
  5. Each order takes profit at the adjacent grid level (1 spacing)

Stop loss rules

  • Hard exit: close all positions if price moves beyond 2 × the grid range
  • This is the "grid blow-up" risk — trends can run for many levels
  • Maximum total risk: 5% of account across all open grid positions
  • Hedge rule: if grid goes directional, switch to a hedged grid (open both sides)

Take profit rules

  • Each order closes at the adjacent grid level (mechanical 1-spacing profit)
  • No fixed directional target — the grid harvests oscillation
  • Optional: add trailing logic to capture larger moves in trending phases

Risk management

Parameter Value
Grid spacing 0.5 × ATR(14)
Grid levels 5–10 per side
Max total risk 5% of account
Lot per level Risk ÷ (grid levels × stop distance)
Range filter Only deploy in confirmed range (ADX < 20)

Use the position size calculator to determine the per-level lot size, dividing total risk across all potential open levels.

When it fails

  • Strong trends breach multiple grid levels — losses compound with each filled order against the trend
  • High-impact news causes gaps through several levels at once
  • Tight grids in high-volatility markets rack up commission costs

Key principle

Grid trading is a mechanical range-harvester. Its enemy is the trend. Always deploy in a confirmed range with a hard exit beyond 2 × range. The grid profits small amounts many times — but one uncontrolled trend can wipe out weeks of gains.

Strategy is for educational purposes only. Not financial advice.

Try the matching calculator →