[Mine-PA] Liquidity sweep reversal with trend

public
@djgambhir

BTCUSDT · 12h · 2021-12-302026-08-31 · 3,412 bars in 3.6ms

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

Net P&L
-8.23%
−$822.84
Max drawdown
-17.75%
Max run-up
+14.49%
Trades
76
30.3% win rate
Profit factor
0.82
2021-12-30drawdown · worst -17.75%2026-08-31
TrainingValidationOut-of-sample
SegmentPeriodReturnMax drawdownTradesWin rate
Training2022-01-012024-10-19-2.95%-13.51%4931%
Validation2024-10-192025-09-24-0.81%-4.32%1533%
Out-of-sample2025-09-242026-08-31-4.66%-6.79%1225%

Risk-adjusted

Sharpe
-0.24
Sortino
-0.34
Calmar
-0.10
Return ÷ max drawdown
-0.46
CAGR
-1.82%
Exposure
33.7%

Per trade

Expectancy
−$10.83 · -0.40%
Average win / loss
$163.88 / −$86.64
Payoff ratio
1.89
Largest win / loss
$803.94 / −$172.70
Longest losing streak(winning: 3)
12 trades

Drawdown over time

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

Costs and mechanics

Fees paid
−$189.95
Funding
−$88.27
Liquidations
0
Warmup bars(loaded before the start date)
199
Benchmark(buy and hold)
+65.39%

Monte Carlo

1,000 alternative histories, each 76 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.90%-9.26%+15.33%
Max drawdown-28.33%-17.21%-9.08%

74% of histories lost money, and 47% had a deeper drawdown than this run’s -17.75%. 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

76 trades

#SideEntryExitHeldP&LReturnClosed by
76short2026-08-10 00:00 @ 64,854.832026-08-18 12:00 @ 64,942.518d 12h−$1.89-0.08%trailing stop
75short2026-07-15 12:00 @ 64,694.462026-07-21 12:00 @ 66,437.796d−$62.42-2.70%trailing stop
74short2026-06-16 00:00 @ 66,272.642026-07-03 12:00 @ 62,438.0017d 12h$133.39+5.86%trailing stop
73long2026-05-18 12:00 @ 77,270.552026-05-23 00:00 @ 75,135.514d 12h−$67.04-2.92%trailing stop
72long2026-05-16 00:00 @ 79,089.812026-05-17 12:00 @ 76,826.441d 12h−$68.73-2.97%trailing stop
71short2026-04-15 00:00 @ 74,092.082026-04-17 12:00 @ 76,621.752d 12h−$82.80-3.55%trailing stop
70short2026-04-12 00:00 @ 72,998.802026-04-14 12:00 @ 75,130.202d 12h−$71.60-3.05%trailing stop
69short2026-04-09 00:00 @ 71,023.992026-04-11 12:00 @ 73,650.802d 12h−$90.55-3.82%trailing stop
68short2026-04-07 00:00 @ 68,804.142026-04-07 12:00 @ 71,187.3112h−$85.07-3.55%trailing stop
67short2026-03-16 12:00 @ 73,500.602026-04-06 00:00 @ 70,201.6820d 12h$103.65+4.38%trailing stop
66short2026-03-03 00:00 @ 68,788.042026-03-04 12:00 @ 72,500.101d 12h−$131.89-5.49%trailing stop
65short2025-12-03 12:00 @ 92,939.012026-01-05 00:00 @ 91,969.7632d 12h$33.77+1.41%trailing stop
64long2025-09-23 12:00 @ 112,961.192025-09-25 12:00 @ 110,621.682d−$53.04-2.21%trailing stop
63long2025-08-25 00:00 @ 113,468.892025-08-25 12:00 @ 110,032.7612h−$76.48-3.15%trailing stop
62long2025-08-21 00:00 @ 114,243.342025-08-24 12:00 @ 111,126.403d 12h−$71.46-2.93%trailing stop
61long2025-08-19 12:00 @ 115,484.092025-08-20 12:00 @ 112,296.551d−$70.67-2.87%trailing stop
60long2025-08-03 12:00 @ 113,832.762025-08-14 12:00 @ 118,076.0411d$81.84+3.35%trailing stop
59long2025-07-25 12:00 @ 116,527.902025-08-01 12:00 @ 113,888.727d−$62.79-2.56%trailing stop
58long2025-06-23 00:00 @ 100,924.882025-07-10 12:00 @ 111,771.4017d 12h$250.62+10.47%trailing stop
57long2025-06-21 00:00 @ 103,266.752025-06-22 12:00 @ 100,362.721d 12h−$70.89-2.94%trailing stop
56short2025-04-13 12:00 @ 84,473.702025-04-22 00:00 @ 88,775.248d 12h−$124.61-5.10%trailing stop
55short2025-03-20 12:00 @ 85,445.812025-04-02 12:00 @ 86,860.0013d−$41.19-1.68%trailing stop
54long2025-02-19 00:00 @ 95,641.122025-02-24 12:00 @ 93,431.985d 12h−$61.23-2.48%trailing stop
53long2025-01-10 00:00 @ 92,524.502025-01-20 00:00 @ 99,489.7510d$174.50+7.20%trailing stop
52long2024-12-31 00:00 @ 92,777.852025-01-08 00:00 @ 96,083.008d$77.19+3.21%trailing stop
51long2024-12-21 00:00 @ 97,784.052024-12-30 12:00 @ 92,367.999d 12h−$143.87-5.90%trailing stop
50long2024-12-06 00:00 @ 97,021.002024-12-19 00:00 @ 99,842.9113d$55.82+2.30%trailing stop
49short2024-09-18 00:00 @ 60,268.942024-09-19 00:00 @ 62,617.991d−$97.66-3.99%trailing stop
48long2024-08-02 00:00 @ 65,342.072024-08-02 12:00 @ 62,556.8512h−$108.76-4.39%trailing stop
47long2024-06-15 00:00 @ 66,052.912024-06-21 00:00 @ 63,906.886d−$87.72-3.51%trailing stop
46long2024-06-12 00:00 @ 67,334.062024-06-14 12:00 @ 65,765.992d 12h−$63.33-2.52%trailing stop
45long2024-04-18 00:00 @ 61,266.752024-04-30 12:00 @ 60,539.1512d 12h−$36.47-1.44%trailing stop
44long2024-03-20 12:00 @ 63,444.692024-04-02 00:00 @ 65,373.3712d 12h$48.74+1.94%trailing stop
43long2024-03-17 12:00 @ 67,028.302024-03-19 00:00 @ 62,676.811d 12h−$172.40-6.75%trailing stop
42long2024-01-24 00:00 @ 39,897.882024-02-26 12:00 @ 51,350.2833d 12h$652.77+27.29%trailing stop
41long2024-01-20 00:00 @ 41,670.432024-01-22 12:00 @ 39,680.012d 12h−$120.23-4.96%trailing stop
40long2024-01-04 00:00 @ 42,858.072024-01-12 12:00 @ 43,782.778d 12h$42.77+1.77%trailing stop
39long2023-12-30 00:00 @ 42,103.522024-01-03 12:00 @ 42,744.844d 12h$21.51+0.89%trailing stop
38short2023-09-19 00:00 @ 26,744.552023-09-28 12:00 @ 27,210.059d 12h−$43.48-1.80%trailing stop
37short2023-09-15 00:00 @ 26,505.002023-09-18 12:00 @ 27,246.453d 12h−$70.80-2.91%trailing stop
36short2023-09-13 00:00 @ 25,820.632023-09-14 12:00 @ 26,594.411d 12h−$75.88-3.09%trailing stop
35long2023-07-25 00:00 @ 29,169.632023-08-16 12:00 @ 29,012.1922d 12h−$30.13-1.22%trailing stop
34long2023-07-18 00:00 @ 30,132.032023-07-24 00:00 @ 29,304.546d−$73.16-2.95%trailing stop
33long2023-06-07 00:00 @ 27,226.942023-06-07 12:00 @ 26,190.8712h−$98.35-3.93%trailing stop
32long2023-05-13 00:00 @ 26,790.562023-05-25 00:00 @ 25,861.8812d−$94.99-3.76%trailing stop
31long2023-05-11 00:00 @ 27,588.522023-05-12 00:00 @ 26,466.871d−$106.90-4.18%trailing stop
30long2023-05-08 12:00 @ 27,927.782023-05-10 12:00 @ 26,752.782d−$111.92-4.33%trailing stop
29long2023-04-25 00:00 @ 27,502.902023-04-26 12:00 @ 27,400.251d 12h−$13.19-0.51%trailing stop
28long2023-04-21 00:00 @ 28,235.552023-04-21 12:00 @ 27,139.3212h−$104.65-4.01%trailing stop
27long2023-03-08 12:00 @ 22,065.512023-03-09 12:00 @ 21,288.351d−$96.46-3.66%trailing stop
26long2023-02-10 12:00 @ 21,731.052023-02-15 12:00 @ 22,638.685d$103.52+3.97%trailing stop
25long2023-02-09 12:00 @ 22,682.042023-02-09 12:00 @ 21,830.980m−$101.74-3.86%trailing stop
24short2023-01-11 12:00 @ 17,425.112023-01-11 12:00 @ 17,759.980m−$53.59-2.02%trailing stop
23short2023-01-10 00:00 @ 17,166.172023-01-10 12:00 @ 17,439.0612h−$44.57-1.68%trailing stop
22short2023-01-07 00:00 @ 16,940.512023-01-09 00:00 @ 17,225.162d−$46.48-1.74%trailing stop
21short2022-12-15 00:00 @ 17,800.442023-01-06 12:00 @ 16,996.1422d 12h$126.41+4.79%trailing stop
20short2022-12-02 00:00 @ 16,967.112022-12-13 12:00 @ 17,567.2211d 12h−$94.50-3.55%trailing stop
19short2022-10-27 00:00 @ 20,754.252022-11-04 12:00 @ 21,278.638d 12h−$68.96-2.57%trailing stop
18short2022-10-05 00:00 @ 20,328.832022-10-13 12:00 @ 19,495.588d 12h$111.60+4.21%trailing stop
17short2022-09-28 00:00 @ 19,066.292022-10-04 12:00 @ 20,217.876d 12h−$161.52-6.00%trailing stop
16short2022-09-14 00:00 @ 20,158.572022-09-27 00:00 @ 20,289.6713d−$17.59-0.65%trailing stop
15short2022-09-13 00:00 @ 22,381.522022-09-13 12:00 @ 22,239.0412h$15.25+0.57%trailing stop
14short2022-09-10 12:00 @ 21,274.642022-09-12 00:00 @ 22,251.861d 12h−$126.54-4.64%trailing stop
13short2022-08-14 12:00 @ 24,549.392022-09-09 00:00 @ 20,170.5825d 12h$464.01+17.78%trailing stop
12short2022-08-12 00:00 @ 23,912.522022-08-14 00:00 @ 25,038.972d−$126.72-4.80%trailing stop
11short2022-07-29 12:00 @ 23,712.462022-08-11 00:00 @ 24,658.7012d 12h−$102.65-3.85%trailing stop
10short2022-07-20 12:00 @ 23,715.362022-07-28 00:00 @ 23,336.237d 12h$44.19+1.66%trailing stop
9short2022-07-19 00:00 @ 22,419.022022-07-20 00:00 @ 23,841.621d−$172.70-6.40%trailing stop
8short2022-07-08 12:00 @ 21,573.482022-07-16 12:00 @ 21,452.268d$16.15+0.60%trailing stop
7short2022-06-01 00:00 @ 31,791.542022-07-07 12:00 @ 21,609.2436d 12h$803.94+32.23%trailing stop
6short2022-05-30 12:00 @ 30,652.872022-05-31 12:00 @ 32,340.141d−$140.79-5.57%trailing stop
5short2022-04-22 00:00 @ 40,441.612022-05-05 12:00 @ 39,326.8413d 12h$68.30+2.72%trailing stop
4short2022-03-03 00:00 @ 43,877.022022-03-09 12:00 @ 42,472.126d 12h$80.28+3.22%trailing stop
3short2022-02-08 12:00 @ 43,969.842022-02-24 12:00 @ 39,303.5116d$259.01+10.67%trailing stop
2short2022-02-05 12:00 @ 41,419.562022-02-07 12:00 @ 43,765.422d−$141.12-5.73%trailing stop
1short2022-02-01 12:00 @ 38,395.182022-02-04 12:00 @ 40,626.443d−$147.87-5.91%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