[Mine-PA] Liquidity sweep reversal with trend

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 +14.46%.

Net P&L
+14.46%
$1,446.20
Max drawdown
-7.67%
Max run-up
+17.73%
Trades
39
41.0% win rate
Profit factor
1.48
2021-12-28drawdown · worst -7.67%2026-08-31
TrainingValidationOut-of-sample
SegmentPeriodReturnMax drawdownTradesWin rate
Training2022-01-012024-10-18+13.82%-7.67%2339%
Validation2024-10-182025-09-24+0.01%-4.35%850%
Out-of-sample2025-09-242026-08-31+0.55%-6.11%838%

Risk-adjusted

Sharpe
0.45
Sortino
0.68
Calmar
0.38
Return ÷ max drawdown
1.89
CAGR
+2.93%
Exposure
41.6%

Per trade

Expectancy
$37.08 · +1.52%
Average win / loss
$276.89 / −$129.74
Payoff ratio
2.13
Largest win / loss
$1,121.37 / −$267.31
Longest losing streak(winning: 2)
4 trades

Drawdown over time

Max drawdown
-7.67%
Longest time under water
478 days
Worst drawdown recovered in
371 days
Under water at the end
383 days

Costs and mechanics

Fees paid
−$107.48
Funding
−$147.81
Liquidations
0
Warmup bars(loaded before the start date)
199
Benchmark(buy and hold)
+65.29%

Monte Carlo

1,000 alternative histories, each 39 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-10.97%+12.93%+50.55%
Max drawdown-18.21%-8.78%-4.51%

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

Settings

ll20 length
20
hh20 length
20
ema200 length
200
atr14 length
14
Stop loss (× atr14)
1.5
Trailing stop (× 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

39 trades

#SideEntryExitHeldP&LReturnClosed by
1short2022-02-09 00:00 @ 44,012.782022-02-28 00:00 @ 41,458.2819d$146.41+5.86%trailing stop
2short2022-06-01 00:00 @ 31,791.542022-07-18 00:00 @ 22,779.4547d$727.58+28.68%trailing stop
3short2022-07-19 00:00 @ 22,419.022022-07-29 00:00 @ 24,399.0410d−$235.62-8.67%trailing stop
4short2022-07-30 00:00 @ 23,766.252022-09-09 00:00 @ 21,133.4541d$299.98+11.28%trailing stop
5short2022-09-14 00:00 @ 20,158.572022-10-25 00:00 @ 20,284.8041d−$2.45-0.09%trailing stop
6short2022-10-30 00:00 @ 20,792.542022-11-08 00:00 @ 19,426.709d$180.48+6.60%trailing stop
7short2022-12-06 00:00 @ 16,954.812022-12-13 00:00 @ 17,808.857d−$141.48-5.09%trailing stop
8short2022-12-15 00:00 @ 17,800.442023-01-10 00:00 @ 17,486.6526d$57.22+2.09%trailing stop
9short2023-01-19 00:00 @ 20,675.962023-01-20 00:00 @ 21,623.891d−$127.52-4.62%trailing stop
10long2023-02-14 00:00 @ 21,770.452023-03-03 00:00 @ 22,592.4917d$88.32+3.24%trailing stop
11long2023-04-22 00:00 @ 27,258.052023-05-10 00:00 @ 26,685.5018d−$68.60-2.50%trailing stop
12long2023-05-11 00:00 @ 27,588.522023-05-12 00:00 @ 25,930.591d−$167.41-6.13%trailing stop
13long2023-05-13 00:00 @ 26,790.562023-06-05 00:00 @ 25,793.6023d−$115.31-4.29%trailing stop
14long2023-06-07 00:00 @ 27,226.942023-06-10 00:00 @ 25,754.923d−$148.23-5.57%trailing stop
15long2023-06-11 00:00 @ 25,831.772023-07-24 00:00 @ 29,061.2543d$299.85+11.43%trailing stop
16long2023-08-02 00:00 @ 29,707.142023-08-17 00:00 @ 28,624.9515d−$112.86-4.18%trailing stop
17long2024-01-04 00:00 @ 42,858.072024-01-12 00:00 @ 42,382.548d−$39.85-1.49%trailing stop
18long2024-01-20 00:00 @ 41,670.432024-01-23 00:00 @ 38,731.703d−$193.28-7.27%trailing stop
19long2024-01-24 00:00 @ 39,897.882024-02-28 00:00 @ 57,738.0335d$1,121.37+42.93%trailing stop
20long2024-04-14 00:00 @ 63,952.492024-05-01 00:00 @ 58,272.0317d−$267.31-9.24%trailing stop
21long2024-06-12 00:00 @ 67,334.062024-06-18 00:00 @ 64,024.026d−$147.46-5.22%trailing stop
22long2024-06-19 00:00 @ 65,162.932024-06-24 00:00 @ 62,144.465d−$135.22-4.85%trailing stop
23long2024-10-11 00:00 @ 60,305.362024-11-04 00:00 @ 67,181.2624d$290.56+10.55%trailing stop
24long2024-12-31 00:00 @ 92,777.852025-01-09 00:00 @ 91,883.099d−$37.99-1.34%trailing stop
25long2025-01-10 00:00 @ 92,524.502025-02-02 00:00 @ 96,530.1223d$103.20+3.66%trailing stop
26long2025-02-04 00:00 @ 101,313.862025-02-12 00:00 @ 94,158.778d−$206.27-7.25%trailing stop
27long2025-06-23 00:00 @ 100,924.882025-08-01 00:00 @ 114,574.0139d$349.36+12.51%trailing stop
28long2025-08-04 00:00 @ 114,173.732025-08-18 00:00 @ 115,098.0714d$11.02+0.38%trailing stop
29long2025-08-23 00:00 @ 116,920.882025-08-24 00:00 @ 112,312.671d−$118.10-4.10%trailing stop
30long2025-08-25 00:00 @ 113,468.892025-08-29 00:00 @ 108,508.594d−$130.02-4.56%trailing stop
31long2025-08-31 00:00 @ 108,779.752025-09-25 00:00 @ 110,577.6325d$32.16+1.14%trailing stop
32long2025-09-27 00:00 @ 109,610.422025-10-10 00:00 @ 117,939.9513d$204.23+7.22%trailing stop
33long2025-10-11 00:00 @ 112,737.542025-10-17 00:00 @ 106,354.366d−$165.45-5.75%trailing stop
34short2025-12-10 00:00 @ 92,619.772026-01-13 00:00 @ 95,207.9634d−$67.06-2.36%trailing stop
35short2026-03-18 00:00 @ 73,857.532026-04-10 00:00 @ 73,339.3023d$17.41+0.62%trailing stop
36short2026-04-11 00:00 @ 72,902.822026-04-17 00:00 @ 76,638.366d−$149.99-5.31%trailing stop
37short2026-04-23 00:00 @ 78,124.072026-05-06 00:00 @ 82,023.4113d−$145.24-5.21%trailing stop
38short2026-05-07 00:00 @ 81,373.722026-06-15 00:00 @ 66,744.2739d$501.09+18.21%trailing stop
39short2026-07-16 00:00 @ 64,708.462026-08-19 00:00 @ 66,383.9834d−$61.29-2.13%trailing stop

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