Backtestify

Shared report

Free view
Backtest a strategy
Backtest

Backtest the Donchian Four-Week Rule on BTCUSDT

51.5%Win rate33 trades
1.96Profit factor
2512.1%Net return · closed trades+1197.3 pts vs buy & holdClosed trades +2512.1% · open position -158.2% unrealized · +2353.9% with it marked
-33.8%Max drawdown

On the daily chart of Bitcoin it buys when close breaks above the 20-candle range. No stop loss, a close below the 20-candle low closes the trade at the next open.

RulesFour-Week RuleAdapted from the published rulesmarketcalls.inlearn-forextrading.org
4 notes about this test
    • The original rule reverses to short on the downside break; Spot cannot short, so the downside break is used as a flat exit only.
    • Four weeks is taken as 20 candles, which on a 24/7 crypto market is 20 days rather than 20 trading days.
    • No stop loss is published, so R-based statistics are undefined and sizing is a fixed notional.
    • 33 trades: the most these rules produce in 9 years of 1d candles, short of the 100 a confident read wants.
Same rules on 4 markets108 trades · 49.1% win · — avg
MarketTradesWinAvg
BTCUSDT3351.5%—
ETHUSDT2751.9%—
SOLUSDT2240.9%—
BNBUSDT2650.0%—
All · 1d10849.1%—

Market

BitcoinBTC2 data notes

Timeframe

1D

Account

$10,000

History

9.0 years
16 Oct 201718 Oct 2026

Requested 1996-10-17 → 2026-10-18 · traded from 2017-10-16 (warm-up 60 bars)

Verdict

PROMISING
51.5%

win rate · 33 trades

  • Ended above the starting budget+2512.1% · 10.392%
  • Win rate 50% or above51.5%
  • More than 50 trades33 trades
  • Verdict rules v9
Weak evidenceNot prop-firm ready· drawdown 33.8%
Trades
33
Timeframe
1D
Tested over
3289 days
Time in market
59.9%

high win rate · 33 trades, limited sample

What to watch

  • Could not be checked with doubled costs
  • Could not be checked on unseen data (not run)

What the data supports

  • Beat buy & hold

    +2512.1% vs +1314.8%

    same symbol, same window · 33 closed trades

  • Months in profit

    50% of months closed up

    16 of 32 months in the tested window

  • Best month

    +285.1%

    2021-05 · 1 of 33 trades · best of 32 months

  • Made money after costs

    profit factor 1.96

    all 33 trades

Proof

TradingView twin

BINANCE:BTCUSDT1D
Built from the rules that ran2 differences
Position sizeSlippage
  • Position size TradingView sizes each order on the signal candle's close, so sizes differ slightly from the backtest.
  • Slippage TradingView charges slippage as commission, so stop and market fills differ slightly.

Account balance

$261,207Final · closed trades

$10,000

Starting balance

$245,388

With the open position marked

$141,477

Buy & hold

  • Balance
  • Buy & hold

Trust scoreThe fixed factors behind the trust score, each with its own measurement.

60Weak evidence

C

Grade

PROMISING

Verdict

Strategy replay

BTCUSDT · 1d
Trade 20 / 20
  • 20-candle high
  • 20-candle low
  • 20-candle low

Entry

65,057.00

Buy · 15 Jul 2026 · 64 bars

Stop loss

None

Exits on its rule

Take profit

None

Exits on its rule

Result

+16.14%

Exit rule at 75,629.35 · 16 Sept 2026

Trace4 steps
  1. Signal

    candle close

    65,043.98

    14 Jul 2026

  2. Filled

    next open

    65,057.00

    15 Jul 2026

  3. No stop

    none

    15 Jul 2026

  4. Exit · Exit rule

    75,644.48

    16 Sept 2026

Monthly returns

Best month285.1%Worst month-18.0%Typical month1.27%Months in profit50%

Wins and losses

52%win rate
  • Wins17
  • Losses16

Your rules

  • Buys when

    close breaks above the 20-candle range

  • Stop

    None · no stop rule was given, none was invented

  • Target / exit

    Rule exit · a close below the 20-candle low closes the trade at the next open

  • Risk per trade

    Position: 100% of equity (no stop, so risk cannot be defined)

After an exit
The next entry signal is read from the candle after the exit, not on the exit candle
Not modelled
Margin calls, liquidation and CFD overnight financing; perpetual funding is charged when the data carries it

Latest trades

33 closed trades · 1 open at the end of the data, marked at the last close

DateDirectionEntry priceExit priceResult
15 Jul 2026long65056.998875629.3511Win
5 Mar 2026long72681.303475524.3921Win
5 Jan 2026long91548.045986653.0259Loss
2 Oct 2025long118618.7090101476.9306Loss
17 Sept 2025long116812.3178108972.6911Loss
14 Aug 2025long123331.1013110089.9576Loss
10 Jul 2025long111256.2468113275.2604Win
23 Apr 2025long93461.6786101488.3883Win
19 Sept 2024long61772.332091534.5694Win
24 Aug 2024long64050.047453952.1774Loss

Monthly heatmap

YearJanFebMarAprMayJunJulAugSepOctNovDec
2017—————————openopenopen
201881.0%——open-5.2%—open-8.3%-12.7%———
2019—openopenopenopenopen141.7%-18.0%—open-11.4%—
2020open13.1%—openopenopenopenopen38.1%openopenopen
2021openopenopenopen285.1%—openopen15.0%open10.4%—
2022—openopen-10.0%——open-11.1%openopen-17.3%open
2023open21.5%-10.9%openopen4.1%2.9%——openopenopen
202441.2%openopenopen31.4%-0.4%open-10.3%-15.9%openopenopen
2025open48.1%—openopen8.5%open-9.3%-6.8%open-14.5%—
2026-5.4%—openopen3.8%—openopen16.1%———

Advanced Analysis