[Mine-PA] Wide-range bar continuation

public
@djgambhir

BTCUSDT · 1d · 2021-12-282026-08-31 · 1,708 bars in 4.2ms

Underperformed the market. Holding BTCUSDT returned +65.29% over the same period, against this strategy’s -8.51%.

Net P&L
-8.51%
−$851.22
Max drawdown
-16.41%
Max run-up
+9.34%
Trades
51
41.2% win rate
Profit factor
0.77
2021-12-28drawdown · worst -16.41%2026-08-31
TrainingValidationOut-of-sample
SegmentPeriodReturnMax drawdownTradesWin rate
Training2022-01-012024-10-18-12.58%-16.41%3231%
Validation2024-10-182025-09-24+3.83%-5.73%1267%
Out-of-sample2025-09-242026-08-31+0.79%-3.99%743%

Risk-adjusted

Sharpe
-0.25
Sortino
-0.33
Calmar
-0.11
Return ÷ max drawdown
-0.52
CAGR
-1.89%
Exposure
24.2%

Per trade

Expectancy
−$16.69 · -0.64%
Average win / loss
$134.83 / −$122.76
Payoff ratio
1.10
Largest win / loss
$549.75 / −$352.69
Longest losing streak(winning: 4)
4 trades

Drawdown over time

Max drawdown
-16.41%
Longest time under water(still going at the end)
1658 days
Worst drawdown recovered in
not recovered

Costs and mechanics

Fees paid
−$118.68
Funding
−$154.94
Liquidations
0
Warmup bars(loaded before the start date)
13
Benchmark(buy and hold)
+65.29%

Monte Carlo

1,000 alternative histories, each 51 trades drawn at random from this run’s own. The bands hold the middle 50% and 90% of them; the solid line is what actually happened.

this runmedian of the historiesmiddle 50% · 90%
Unlucky (5%)TypicalLucky (95%)
Return-25.32%-9.27%+11.13%
Max drawdown-27.61%-15.84%-7.17%

82% of histories lost money, and 47% had a deeper drawdown than this run’s -16.41%. Assumes trades are independent; real losing streaks cluster, so the true spread is usually wider.

Settings

atr14 length
14
Long entry: high − low > ▢ × atr14[1]
2
Long entry: close > low + (▢ × (high − low))
0.75
Short entry: high − low > ▢ × atr14[1]
2
Short entry: close < low + (▢ × (high − low))
0.25
Stop loss (× atr14)
2
Trailing stop (× atr14)
3
Close after (bars)
12
Leverage (×)
1
Position size (% of equity)
25

BTCUSDT with every trade

Loading prices…
long opened short opened closed at a profit closed at a loss

Trades

51 trades

#SideEntryExitHeldP&LReturnClosed by
1short2022-01-06 00:00 @ 43,413.022022-01-19 00:00 @ 42,346.0513d$64.47+2.58%time stop
2short2022-01-22 00:00 @ 36,419.172022-01-25 00:00 @ 36,655.633d−$18.01-0.72%reverse
3long2022-02-05 00:00 @ 41,558.312022-02-18 00:00 @ 40,483.7013d−$73.93-2.94%time stop
4long2022-03-01 00:00 @ 43,163.632022-03-07 00:00 @ 37,884.086d−$310.17-12.44%trailing stop
5short2022-05-10 00:00 @ 30,049.992022-05-23 00:00 @ 30,290.0613d−$19.17-0.79%time stop
6short2022-06-14 00:00 @ 22,466.912022-06-27 00:00 @ 21,033.3113d$153.13+6.35%time stop
7short2022-08-20 00:00 @ 20,820.842022-09-02 00:00 @ 20,126.6213d$77.60+3.17%time stop
8long2022-09-10 00:00 @ 21,356.272022-09-14 00:00 @ 20,158.574d−$143.61-5.82%reverse
9short2022-09-22 00:00 @ 18,443.812022-10-05 00:00 @ 20,336.9713d−$247.55-10.18%time stop
10long2022-10-14 00:00 @ 19,369.272022-10-27 00:00 @ 20,754.2513d$162.11+6.84%time stop
11short2022-11-10 00:00 @ 15,901.822022-11-10 00:00 @ 18,165.880m−$352.69-14.63%trailing stop
12long2023-01-12 00:00 @ 17,939.192023-01-12 00:00 @ 17,921.990m−$5.22-0.22%trailing stop
13long2023-01-13 00:00 @ 18,841.872023-01-14 00:00 @ 19,898.081d$125.43+5.40%trailing stop
14short2023-01-19 00:00 @ 20,675.962023-01-20 00:00 @ 21,938.491d−$144.62-6.15%trailing stop
15long2023-01-21 00:00 @ 22,665.532023-02-03 00:00 @ 23,488.3013d$72.56+3.13%time stop
16long2023-02-16 00:00 @ 24,337.572023-02-17 00:00 @ 23,521.891d−$81.53-3.49%reverse
17short2023-03-10 00:00 @ 20,344.332023-03-12 00:00 @ 22,097.222d−$202.00-8.73%trailing stop
18long2023-03-13 00:00 @ 21,990.602023-03-26 00:00 @ 27,441.7113d$549.75+24.28%time stop
19short2023-06-06 00:00 @ 25,709.462023-06-07 00:00 @ 27,226.941d−$144.38-6.01%reverse
20long2023-08-30 00:00 @ 27,705.642023-08-31 00:00 @ 26,136.981d−$136.97-5.79%trailing stop
21short2023-09-01 00:00 @ 25,922.812023-09-14 00:00 @ 26,215.1413d−$27.10-1.16%time stop
22short2023-10-03 00:00 @ 27,472.202023-10-16 00:00 @ 27,145.2313d$27.73+1.19%time stop
23long2023-11-16 00:00 @ 37,893.082023-11-29 00:00 @ 37,804.4413d−$16.85-0.72%time stop
24long2023-12-05 00:00 @ 42,001.502023-12-11 00:00 @ 40,541.456d−$90.48-3.89%trailing stop
25long2023-12-14 00:00 @ 42,883.582023-12-27 00:00 @ 42,530.0913d−$36.20-1.57%time stop
26long2024-01-09 00:00 @ 46,981.992024-01-12 00:00 @ 42,934.393d−$202.63-8.83%trailing stop
27long2024-02-27 00:00 @ 54,522.602024-02-28 00:00 @ 57,738.031d$124.38+5.54%trailing stop
28long2024-02-29 00:00 @ 62,500.402024-03-05 00:00 @ 61,219.985d−$72.75-3.20%trailing stop
29long2024-03-12 00:00 @ 72,168.332024-03-15 00:00 @ 65,657.793d−$215.94-9.56%trailing stop
30long2024-05-21 00:00 @ 71,480.792024-06-03 00:00 @ 67,792.3413d−$124.44-5.65%time stop
31long2024-08-09 00:00 @ 61,672.132024-08-22 00:00 @ 61,107.7813d−$21.41-0.99%time stop
32long2024-10-15 00:00 @ 66,078.112024-10-28 00:00 @ 67,979.1013d$51.75+2.39%time stop
33long2024-11-07 00:00 @ 75,595.022024-11-11 00:00 @ 80,481.524d$134.10+6.15%trailing stop
34long2024-11-12 00:00 @ 88,746.752024-11-25 00:00 @ 97,940.9113d$212.94+9.62%time stop
35long2025-01-14 00:00 @ 94,504.302025-01-27 00:00 @ 102,539.4913d$182.52+8.05%time stop
36long2025-02-04 00:00 @ 101,313.862025-02-17 00:00 @ 96,047.7913d−$125.68-5.43%time stop
37long2025-03-03 00:00 @ 94,240.842025-03-04 00:00 @ 86,176.061d−$197.42-8.65%reverse
38short2025-04-07 00:00 @ 78,374.422025-04-10 00:00 @ 82,604.423d−$121.81-5.46%reverse
39long2025-04-23 00:00 @ 93,423.582025-05-06 00:00 @ 94,677.7613d$28.39+1.29%time stop
40long2025-05-09 00:00 @ 103,248.652025-05-22 00:00 @ 109,587.6813d$127.90+5.79%time stop
41short2025-06-06 00:00 @ 101,438.412025-06-09 00:00 @ 107,501.913d−$136.31-6.08%trailing stop
42long2025-06-24 00:00 @ 105,312.062025-07-07 00:00 @ 109,123.9713d$75.28+3.41%time stop
43long2025-07-11 00:00 @ 116,002.402025-07-24 00:00 @ 118,689.6613d$40.49+1.82%time stop
44short2025-08-15 00:00 @ 118,218.552025-08-28 00:00 @ 111,217.1413d$135.54+6.06%time stop
45short2025-09-26 00:00 @ 108,912.812025-09-29 00:00 @ 113,822.573d−$103.61-4.57%trailing stop
46short2026-01-21 00:00 @ 88,373.022026-02-03 00:00 @ 78,708.2413d$246.93+11.01%time stop
47short2026-02-06 00:00 @ 62,855.532026-02-07 00:00 @ 70,558.611d−$285.69-12.39%reverse
48long2026-04-08 00:00 @ 71,904.582026-04-21 00:00 @ 75,774.9413d$120.85+5.41%time stop
49short2026-06-03 00:00 @ 66,716.752026-06-15 00:00 @ 66,744.2712d−$2.51-0.11%trailing stop
50long2026-08-20 00:00 @ 69,323.962026-08-21 00:00 @ 73,036.871d$117.67+5.20%trailing stop
51long2026-08-22 00:00 @ 78,324.762026-08-29 00:00 @ 77,790.347d−$22.06-0.96%reverse

How this was run

Orders fill at the next bar’s open, never at the close that produced the signal. When one bar’s range covered both the stop and the target, the stop was taken, because the data cannot say which came first. Fees, slippage and funding are all charged.

Warmup history was loaded from before 2022-01-01 so the requested window is fully tradable.

← Browse other results