Simulated
BTCUSD H1 Range breakout MQL5 MarketProp-firm guard

BTC Box Breakout

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

Net profit
+116.4%
$11,637 on $10,000
Profit factor
1.15
Gross profit ÷ gross loss
Max drawdown
27.9%
Peak-to-trough equity
Trades
1,737
37.3% winners

Historical simulation: BTCUSD H1, Jan 2020 to Sep 2026, 10,000 USD start. Not indicative of future results.

Overview

What BTC Box Breakout does

BTC Box Breakout records the high and low of a fixed morning window on BTCUSD, places stop orders either side of it, and trades the first breakout. It is a separate EA, not a re-skin: lot sizing follows your broker's volume step, the pyramiding trigger is percentage-based, and weekend trading is off by default.

  • No martingale, grid or averaging.
  • No DLLs, no external files, no web connections.
Strategy
Range breakout
Symbol
BTCUSD (Bitcoin)
Timeframe
H1
Platform
MetaTrader 5
Minimum balance
About $2,000
Sold via
MQL5 Market

How it works

From signal to exit

  1. Measure the box

    Each day the EA records the high and low of a fixed server-time window (05:00 to 09:00 by default) and draws the box on the chart.

  2. Place the stops

    A Buy Stop goes at the box high and a Sell Stop at the box low. If price is already through an edge, it enters at market instead.

  3. Trade the first break

    The first side to break is traded and, in single-trade mode, the opposite order is cancelled. No new trades open on Saturday or Sunday unless you switch weekends on.

  4. Finish flat

    At a fixed time (20:00 by default) all orders are deleted and all positions are closed.

In MetaTrader 5

One real trading day from the backtest: the box, the breakout entry, the stop and the daily close. BTCUSD M15, 18 September 2026.
One real trading day from the backtest: the box, the breakout entry, the stop and the daily close. BTCUSD M15, 18 September 2026.

Features and protections

What is built in

  • Stop loss from the first tick

    Every position carries a percentage stop (1.0% by default). A take profit based on a multiple of the box is optional.

  • Broker-aware lot sizing

    Lots follow your broker's own volume step (0.01, 0.001, 0.1 and so on) with a maximum-lot cap in every mode.

  • Weekday-only by default

    Bitcoin trades seven days a week; the EA opens no new trades on weekends unless you enable them.

  • Prop-firm consistency guard

    Optional. Shares one record with Golden Box Breakout when both run on the same account, so the rule applies to the whole account.

  • Restart-safe

    Resumes the day after a terminal or VPS restart without duplicate orders.

  • Optional extras, off by default

    Percentage-based pyramiding (up to 3 adds) and small randomisation of entry, stop, lot size and close time.

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
BTCUSD H1
Period
Jan 2020 to Sep 2026
Start balance
$10,000
Model
1-minute OHLC
History quality
80%
Price data
Fusion Markets price history
Net profit
+116.4%
$11,637 on $10,000
Profit factor
1.15
Gross profit ÷ gross loss
Max drawdown
27.9%
Peak-to-trough equity
Trades
1,737
37.3% winners
Balance curve: % return on the start balance
Drawdown from the peak balance
Return by calendar year
Yearly return, BTCUSD backtest
YearReturn
2020+39.5%
2021+37.6%
2022−12.2%
2023−6.4%
2024+8.3%
2025+3.0%
2026*+22.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
BTCUSD (any broker suffix)
Timeframe
Any chart timeframe. The EA reads 1-minute data internally; H1 is convenient.
Platform
MetaTrader 5
Server time
Defaults assume a GMT+2 / GMT+3 server. For GMT+0 use a 02:00 to 06:00 box and a 17:00 close.
Minimum balance
About $2,000. At 1.0% stop loss one 0.01 BTC position risks roughly $8 to $11 at recent prices.
Hosting
A VPS is recommended.

Inputs

Parameters

Range time and session close

The server-time window that forms the box, and the daily time at which everything is closed.

Risk

Risk mode, risk value, stop-loss %, maximum-lot cap, behaviour below the broker's minimum lot, optional take profit.

Direction and weekends

Trade both directions after the first fill; trade Saturday and Sunday.

Prop-firm consistency rule

Enable, best-day maximum %, basis, minimum daily cap, optional fixed cap, alert level, seed values.

Pyramiding and randomisation

Percentage trigger for each add, number of adds, size multiplier; entry delay, lot variance, stop buffer, close-time variance.

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

Questions

Frequently asked

How is this different from Golden Box Breakout?

Same family of idea, separate code. BTC Box uses a percentage trigger for pyramiding, follows the broker's volume step, and keeps weekends off by default. The two share one consistency record if you run both on one account.

Can I try it before buying?

Yes. The MQL5 Market demo runs in the MetaTrader 5 Strategy Tester. Backtest it on your own broker's data first.

Why was 2022 a losing year?

Breakout systems struggle when price chops sideways inside the day. The strategy does best when Bitcoin trends intraday and gives profit back in quiet, choppy years. We publish those years rather than hide them.

Is it guaranteed to be profitable?

No. All figures are historical simulations and live results will differ.

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

NZDCAD · H1 · Mean-reversion grid

Elastic Band Grid

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

Net profit
+98.2%
Profit factor
2.67
Max drawdown
12.8%

Simulated, Oct 2019 – 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 BTC Box Breakout?

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