Simulated
NZDCAD H1 Mean-reversion grid MQL5 MarketGrid

Elastic Band Grid

A Bollinger-and-RSI mean-reversion grid that waits for stretched prices to snap back.

Net profit
+98.2%
$9,817 on $10,000
Profit factor
2.67
Gross profit ÷ gross loss
Max drawdown
12.8%
Peak-to-trough equity
Trades
745
79.5% winners

Historical simulation: NZDCAD H1, Oct 2019 to Sep 2026, 10,000 USD start. Not indicative of future results.

Overview

What Elastic Band Grid does

Elastic Band Grid buys stretched-down prices and sells stretched-up prices, adds a limited number of ATR-spaced levels if price keeps going, and closes the whole basket at one common take profit. A drawdown breaker, a per-symbol loss cap and a trend filter limit the damage when the market does not come back.

  • Uses a grid with a mild lot multiplier. Individual positions have no stop loss; they are managed as one basket.
  • No DLLs, no external files, no web connections.
Strategy
Mean-reversion grid
Symbol
NZDCAD (NZD/CAD)
Timeframe
H1
Platform
MetaTrader 5
Minimum balance
$1,000 (fixed 0.01 lot)
Sold via
MQL5 Market

How it works

From signal to exit

  1. Wait for a stretch

    When the last closed bar closes below the lower Bollinger Band with RSI oversold, the EA buys. Above the upper band with RSI overbought, it sells.

  2. Add levels, within limits

    If price keeps moving against the basket, a new level is added each time it moves the grid distance: the larger of a fixed minimum and half the ATR. Levels grow 1.15x, to a maximum of 6.

  3. One basket, one target

    The whole basket shares a single take profit a fixed distance beyond its volume-weighted average price. When price returns, every level closes together.

  4. Protect the account

    A drawdown breaker, a per-symbol loss cap, a trend filter and a spread check step in when price does not return.

In MetaTrader 5

One real basket from the backtest: four sell levels added as price stretched, all closed together at the basket take-profit. NZDCAD H1, July 2026.
One real basket from the backtest: four sell levels added as price stretched, all closed together at the basket take-profit. NZDCAD H1, July 2026.

Features and protections

What is built in

  • Account drawdown breaker

    When equity falls a set percentage below balance (20% by default) the EA closes its trades or blocks new grids, as you choose.

  • Per-symbol loss cap

    If one symbol's basket loses more than a set share of balance (8% by default), only that basket is closed.

  • ADX trend filter

    No new grid levels are added while a strong trend runs against the basket.

  • Correlated-pair filter

    Limits how deep two related pairs (AUDCAD and NZDCAD by default) can be at the same time.

  • News filter

    Uses the MetaTrader economic calendar around high-impact events (live trading only).

  • Multi-symbol from one chart

    Enter a comma-separated symbol list to trade several pairs from a single chart. Broker suffixes are supported.

Backtest

How it behaved in the test

Historical simulations from the MetaTrader 5 Strategy Tester. The test conditions are listed with each result so you can reproduce them.

Symbol
NZDCAD H1
Period
Oct 2019 to Sep 2026
Start balance
$10,000
Model
1-minute OHLC
History quality
74%
Price data
Fusion Markets price history (raw spread)
Net profit
+98.2%
$9,817 on $10,000
Profit factor
2.67
Gross profit ÷ gross loss
Max drawdown
12.8%
Peak-to-trough equity
Trades
745
79.5% winners
Balance curve: % return on the start balance
Drawdown from the peak balance
Return by calendar year
Yearly return, NZDCAD backtest
YearReturn
2019*+1.7%
2020+15.7%
2021+14.8%
2022−4.0%
2023+15.8%
2024+12.2%
2025+12.0%
2026*+4.9%

Trading foreign exchange, metals and cryptocurrencies on margin carries a high level of risk and may not be suitable for everyone. Backtested and hypothetical results are not a guarantee of future performance. Read the full risk disclosure.

See the full results page

Requirements

Before you install

Symbol and timeframe
NZDCAD H1 (the defaults were tuned here). Other range-bound, low-spread crosses can work; strongly trending pairs do not suit the strategy.
Platform
MetaTrader 5, hedging account
Broker
Low spread on the traded pair; results depend strongly on spread. We recommend Fusion Markets (Zero account), whose raw-spread data produced the headline result.
Minimum balance
$1,000 with fixed 0.01 lots; about $5,000 with Low Risk lot sizing.
Hosting
A VPS is recommended.

Inputs

Parameters

General and risk

Symbols, magic base, maximum spread, slippage, minimum free margin; lot sizing method (Fixed, Low, Mid, High risk), fixed lot, maximum lots per trade.

Grid and strategy

Minimum distance, lot multiplier, maximum trades per grid, smart (ATR) distance; Bollinger period and deviation, RSI period and levels, grid take profit.

Protections

Maximum drawdown % and action, correlated-pair groups, news filter windows, per-symbol loss cap, ADX trend filter.

Set files and a PDF user guide are provided to buyers.

Questions

Frequently asked

Why are there two sets of results?

Because spread decides this strategy. The same settings were tested on raw-spread data and on wider-spread demo data, and we show both so you can judge a realistic range rather than the best case.

Is a grid with a multiplier dangerous?

It can be. That is why the drawdown breaker, loss cap and trend filter exist, and why it is offered with a plain-language warning. It is not suitable for a strict prop-firm challenge.

Can I run it on other pairs?

Range-bound, low-spread crosses can work. Strongly trending pairs do not suit mean reversion. Backtest any pair yourself before using it.

Can I try it before buying?

Yes. The MQL5 Market demo runs in the Strategy Tester.

Also in the collection

Other robots

XAUUSD · H1 · Range breakout

Golden Box Breakout

A time-window range breakout for gold. One trade idea per day, a hard stop on every position.

Net profit
+59.3%
Profit factor
1.26
Max drawdown
8.1%

Simulated, Jan 2020 – Sep 2026

$129or rent from $39/month
MQL5 Market

BTCUSD · H1 · Range breakout

BTC Box Breakout

The same disciplined box breakout, rebuilt for Bitcoin's volatility and its seven-day week.

Net profit
+116.4%
Profit factor
1.15
Max drawdown
27.9%

Simulated, Jan 2020 – Sep 2026

$99or rent from $30/month
MQL5 Market

NAS100 · M5 · Intraday momentum

Noise Area Momentum

Intraday momentum for the Nasdaq 100: it waits for price to leave its normal noise, then follows the move and is flat by the close.

Net profit
+49.1%
Profit factor
1.29
Max drawdown
9.3%

Simulated, Jan 2023 – Oct 2026

$99One live + one demo account
Direct sale

Free guide · 24 pages

New to trading robots? Start with Automated Trading Mastery

A free, plain-language introduction to algorithmic trading: what a trading robot actually is, how it makes decisions, and the steps from nothing to your first Expert Advisor running on a demo account.

Get the free guide

Ready to test Elastic Band Grid?

Start with the free demo in the MetaTrader 5 Strategy Tester, on your own broker’s data, before you commit.