[Mine-PA] Liquidity sweep reversal with trend

public
@djgambhir

BTCUSDT · 4h · 2021-12-312026-08-31 · 10,228 bars in 9.7ms

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

Net P&L
-15.04%
−$1,503.90
Max drawdown
-17.45%
Max run-up
+12.44%
Trades
207
32.4% win rate
Profit factor
0.76
2021-12-31drawdown · worst -17.45%2026-08-31
TrainingValidationOut-of-sample
SegmentPeriodReturnMax drawdownTradesWin rate
Training2022-01-012024-10-19-12.67%-17.44%11834%
Validation2024-10-192025-09-25-2.70%-5.34%4430%
Out-of-sample2025-09-252026-08-31-0.02%-5.40%4531%

Risk-adjusted

Sharpe
-0.52
Sortino
-0.73
Calmar
-0.20
Return ÷ max drawdown
-0.86
CAGR
-3.43%
Exposure
30.2%

Per trade

Expectancy
−$7.27 · -0.30%
Average win / loss
$72.72 / −$45.54
Payoff ratio
1.60
Largest win / loss
$371.24 / −$124.28
Longest losing streak(winning: 4)
10 trades

Drawdown over time

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

Costs and mechanics

Fees paid
−$454.15
Funding
−$134.59
Liquidations
0
Warmup bars(loaded before the start date)
199
Benchmark(buy and hold)
+63.72%

Monte Carlo

1,000 alternative histories, each 207 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-30.85%-15.33%+2.85%
Max drawdown-32.93%-20.48%-10.28%

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

207 trades · 201–207 shown

#SideEntryExitHeldP&LReturnClosed by
201short2026-05-26 16:00 @ 76,462.902026-06-07 20:00 @ 63,887.2612d 4h$346.97+16.53%trailing stop
202short2026-06-12 12:00 @ 63,716.652026-06-14 20:00 @ 65,269.722d 8h−$55.62-2.54%trailing stop
203short2026-06-22 04:00 @ 63,922.312026-06-22 12:00 @ 65,024.198h−$39.60-1.82%trailing stop
204short2026-07-02 00:00 @ 59,987.602026-07-02 12:00 @ 61,494.3512h−$56.21-2.60%trailing stop
205short2026-07-03 16:00 @ 61,882.822026-07-04 16:00 @ 63,144.881d−$45.26-2.11%trailing stop
206short2026-08-03 20:00 @ 63,824.132026-08-05 12:00 @ 64,737.411d 16h−$32.31-1.51%trailing stop
207short2026-08-17 08:00 @ 63,480.802026-08-17 12:00 @ 64,004.084h−$19.53-0.92%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