[Mine-Q] Z-score reversion, low-vol regime

public
@djgambhir

BTCUSDT · 1d · 2022-01-112026-08-31 · 1,694 bars in 10.9ms

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

Net P&L
-12.70%
−$1,269.65
Max drawdown
-20.84%
Max run-up
+16.74%
Trades
40
50.0% win rate
Profit factor
0.75
2022-01-11drawdown · worst -20.84%2026-08-31
TrainingValidationOut-of-sample
SegmentPeriodReturnMax drawdownTradesWin rate
Training2022-01-112024-10-22-0.85%-16.76%2650%
Validation2024-10-222025-09-26-8.47%-12.42%650%
Out-of-sample2025-09-262026-08-31-3.80%-7.21%850%

Risk-adjusted

Sharpe
-0.33
Sortino
-0.44
Calmar
-0.14
Return ÷ max drawdown
-0.61
CAGR
-2.89%
Exposure
37.9%

Per trade

Expectancy
−$31.74 · -1.22%
Average win / loss
$193.12 / −$256.60
Payoff ratio
0.75
Largest win / loss
$501.42 / −$648.85
Longest losing streak(winning: 5)
5 trades

Drawdown over time

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

Costs and mechanics

Fees paid
−$98.14
Funding
$108.02
Liquidations
0
Warmup bars(loaded before the start date)
112
Benchmark(buy and hold)
+83.95%

Monte Carlo

1,000 alternative histories, each 40 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-33.64%-13.28%+15.56%
Max drawdown-36.33%-21.16%-9.81%

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

Settings

sma50 length
50
sd50 length
50
atr14 length
14
atrAvg length
100
Long entry: close < sma50 − (▢ × sd50)
2
Long entry: atr14 < ▢ × atrAvg
1.2
Short entry: close > sma50 + (▢ × sd50)
2
Short entry: atr14 < ▢ × atrAvg
1.2
Stop loss (× atr14)
3
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

40 trades

#SideEntryExitHeldP&LReturnClosed by
1long2022-01-22 00:00 @ 36,433.752022-02-08 00:00 @ 43,821.2217d$501.42+20.06%signal
2short2022-03-28 00:00 @ 46,811.542022-04-12 00:00 @ 39,513.5015d$417.25+15.89%signal
3long2022-05-09 00:00 @ 34,038.912022-05-11 00:00 @ 27,981.702d−$489.96-17.95%stop loss
4long2022-05-12 00:00 @ 29,083.722022-06-13 00:00 @ 22,007.5732d−$648.85-24.89%stop loss
5long2022-06-14 00:00 @ 22,475.892022-07-20 00:00 @ 23,381.2236d$86.55+3.54%signal
6long2022-09-07 00:00 @ 18,785.162022-09-13 00:00 @ 22,381.526d$466.56+18.92%signal
7short2022-11-05 00:00 @ 21,133.372022-11-09 00:00 @ 18,537.614d$317.00+12.27%signal
8long2022-11-10 00:00 @ 15,908.182022-12-27 00:00 @ 16,909.4247d$163.53+6.14%signal
9short2023-01-12 00:00 @ 17,932.012023-01-13 00:00 @ 19,130.261d−$181.84-6.73%stop loss
10short2023-01-14 00:00 @ 19,920.322023-01-17 00:00 @ 21,566.573d−$217.64-8.19%stop loss
11short2023-01-18 00:00 @ 21,126.572023-01-21 00:00 @ 23,042.633d−$235.62-9.05%stop loss
12short2023-01-22 00:00 @ 22,777.242023-02-16 00:00 @ 25,005.7025d−$232.68-9.14%stop loss
13long2023-06-15 00:00 @ 25,120.922023-06-21 00:00 @ 28,285.046d$308.47+12.41%signal
14short2023-06-22 00:00 @ 29,982.502023-07-31 00:00 @ 29,277.0539d$78.52+3.06%signal
15long2023-08-18 00:00 @ 26,615.022023-09-20 00:00 @ 27,190.4633d$50.22+1.94%signal
16short2023-10-07 00:00 @ 27,910.722023-10-16 00:00 @ 30,065.639d−$200.34-7.72%stop loss
17short2023-10-17 00:00 @ 28,480.602023-10-23 00:00 @ 30,958.956d−$223.71-8.79%stop loss
18short2024-02-10 00:00 @ 47,106.682024-02-14 00:00 @ 51,641.814d−$238.37-9.57%stop loss
19short2024-02-15 00:00 @ 51,812.742024-02-27 00:00 @ 56,875.6412d−$224.55-9.24%stop loss
20short2024-02-28 00:00 @ 57,063.092024-02-28 00:00 @ 63,626.230m−$272.85-11.49%stop loss
21long2024-05-01 00:00 @ 60,663.332024-05-16 00:00 @ 66,162.1615d$200.87+8.71%signal
22short2024-05-21 00:00 @ 71,452.212024-06-19 00:00 @ 65,162.9329d$225.48+9.57%signal
23long2024-06-25 00:00 @ 60,285.552024-07-05 00:00 @ 54,010.5510d−$260.99-10.82%stop loss
24long2024-07-06 00:00 @ 56,616.222024-07-16 00:00 @ 64,667.6610d$326.14+13.90%signal
25short2024-09-28 00:00 @ 65,736.352024-10-10 00:00 @ 60,618.4212d$190.74+7.85%signal
26short2024-10-17 00:00 @ 67,578.482024-11-06 00:00 @ 73,922.0020d−$219.34-8.86%stop loss
27short2024-11-07 00:00 @ 75,564.782024-11-11 00:00 @ 83,274.804d−$244.52-10.10%stop loss
28long2025-02-26 00:00 @ 88,656.832025-03-10 00:00 @ 77,523.3712d−$300.82-12.74%stop loss
29short2025-04-23 00:00 @ 93,386.222025-05-08 00:00 @ 103,678.0015d−$254.79-11.15%stop loss
30short2025-05-09 00:00 @ 103,207.352025-06-21 00:00 @ 103,266.7543d$10.01+0.45%signal
31short2025-07-11 00:00 @ 115,956.002025-08-20 00:00 @ 112,846.6640d$79.82+3.59%signal
32long2025-08-26 00:00 @ 110,086.112025-09-12 00:00 @ 115,403.9117d$99.41+4.43%signal
33short2025-10-03 00:00 @ 120,457.202025-10-11 00:00 @ 112,737.548d$147.03+6.48%signal
34short2026-01-06 00:00 @ 93,803.542026-01-21 00:00 @ 88,408.3815d$134.79+5.85%signal
35long2026-02-01 00:00 @ 78,722.442026-02-05 00:00 @ 69,086.974d−$288.61-12.34%stop loss
36short2026-04-18 00:00 @ 77,015.192026-05-23 00:00 @ 75,528.2035d$39.71+1.75%signal
37long2026-06-02 00:00 @ 71,405.782026-06-03 00:00 @ 64,780.011d−$214.43-9.42%stop loss
38long2026-06-04 00:00 @ 64,130.522026-07-15 00:00 @ 65,001.6041d$18.88+0.85%signal
39short2026-08-20 00:00 @ 69,296.242026-08-21 00:00 @ 74,800.971d−$178.11-7.99%stop loss
40short2026-08-22 00:00 @ 78,293.442026-08-31 00:00 @ 78,565.319d−$4.03-0.18%end of data

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