[Famous-PA] Hammer / pin bar at 10-bar extreme

public
@djgambhir

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

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

Net P&L
+15.92%
$1,592.01
Max drawdown
-9.42%
Max run-up
+28.41%
Trades
37
54.1% win rate
Profit factor
1.57
2021-12-28drawdown · worst -9.42%2026-08-31
TrainingValidationOut-of-sample
SegmentPeriodReturnMax drawdownTradesWin rate
Training2022-01-012024-10-18+19.81%-5.33%2162%
Validation2024-10-182025-09-24-1.24%-5.59%743%
Out-of-sample2025-09-242026-08-31-2.03%-6.69%944%

Risk-adjusted

Sharpe
0.60
Sortino
0.94
Calmar
0.34
Return ÷ max drawdown
1.69
CAGR
+3.21%
Exposure
17.2%

Per trade

Expectancy
$43.03 · +1.69%
Average win / loss
$219.89 / −$165.05
Payoff ratio
1.33
Largest win / loss
$591.51 / −$464.45
Longest losing streak(winning: 5)
3 trades

Drawdown over time

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

Costs and mechanics

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

Monte Carlo

1,000 alternative histories, each 37 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-5.25%+16.47%+42.97%
Max drawdown-15.79%-7.80%-3.83%

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

Settings

ll10 length
10
hh10 length
10
atr14 length
14
Long entry: min(open, close) − low ≥ ▢ × (high − low)
0.66
Short entry: high − max(open, close) ≥ ▢ × (high − low)
0.66
Stop loss (× atr14)
2
Trailing stop (× atr14)
3
Close after (bars)
10
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

37 trades

#SideEntryExitHeldP&LReturnClosed by
37short2026-08-26 00:00 @ 78,489.802026-08-31 00:00 @ 78,565.315d−$1.43-0.05%end of data
36short2026-08-10 00:00 @ 64,854.832026-08-19 00:00 @ 66,383.989d−$66.75-2.29%trailing stop
35long2026-07-29 00:00 @ 63,916.382026-08-09 00:00 @ 64,915.6111d$36.96+1.27%time stop
34long2026-06-05 00:00 @ 63,866.172026-06-16 00:00 @ 66,272.6411d$105.39+3.66%time stop
33short2026-05-07 00:00 @ 81,373.722026-05-18 00:00 @ 77,445.8911d$135.91+4.78%time stop
32short2026-04-15 00:00 @ 74,092.082026-04-22 00:00 @ 79,213.227d−$206.53-7.13%trailing stop
31long2026-01-31 00:00 @ 84,228.242026-01-31 00:00 @ 77,882.170m−$225.92-7.65%trailing stop
30long2025-11-20 00:00 @ 91,527.302025-11-21 00:00 @ 82,639.481d−$297.91-9.84%trailing stop
29short2025-10-28 00:00 @ 114,041.392025-11-08 00:00 @ 103,325.9611d$280.47+9.48%time stop
28short2025-08-12 00:00 @ 118,618.072025-08-14 00:00 @ 124,061.682d−$137.85-4.61%trailing stop
27short2025-07-15 00:00 @ 119,792.542025-07-26 00:00 @ 117,606.9211d$61.06+2.05%time stop
26long2025-03-01 00:00 @ 84,316.462025-03-04 00:00 @ 81,983.923d−$85.47-2.85%trailing stop
25long2025-02-19 00:00 @ 95,641.122025-02-25 00:00 @ 89,428.526d−$203.74-6.68%trailing stop
24long2025-01-28 00:00 @ 102,041.702025-02-03 00:00 @ 93,875.836d−$256.98-8.25%trailing stop
23long2025-01-14 00:00 @ 94,504.302025-01-21 00:00 @ 102,227.257d$240.92+7.89%reverse
22short2024-12-18 00:00 @ 106,053.392024-12-21 00:00 @ 97,784.053d$233.14+7.78%reverse
21short2024-08-26 00:00 @ 64,177.262024-09-06 00:00 @ 56,156.9311d$361.82+12.46%time stop
20long2024-08-02 00:00 @ 65,342.072024-08-03 00:00 @ 60,071.921d−$243.54-8.21%trailing stop
19long2024-07-06 00:00 @ 56,616.222024-07-17 00:00 @ 64,997.0011d$414.13+14.47%time stop
18short2024-03-27 00:00 @ 70,030.192024-04-07 00:00 @ 68,915.2811d$63.59+2.23%time stop
17short2024-01-12 00:00 @ 46,328.632024-01-23 00:00 @ 39,575.0111d$405.78+14.78%time stop
16short2023-11-30 00:00 @ 37,829.632023-12-03 00:00 @ 40,231.913d−$176.67-6.33%trailing stop
15long2023-07-18 00:00 @ 30,132.032023-07-29 00:00 @ 29,294.1411d−$86.34-3.07%time stop
14long2023-05-13 00:00 @ 26,790.562023-05-24 00:00 @ 27,204.4611d$35.95+1.28%time stop
13long2023-03-11 00:00 @ 20,144.332023-03-15 00:00 @ 24,677.564d$591.51+22.29%reverse
12long2023-02-14 00:00 @ 21,770.452023-02-25 00:00 @ 23,170.8611d$156.86+6.00%time stop
11long2022-12-31 00:00 @ 16,604.522023-01-10 00:00 @ 17,166.1710d$80.78+3.11%reverse
10short2022-12-15 00:00 @ 17,800.442022-12-26 00:00 @ 16,827.8611d$141.72+5.54%time stop
9long2022-10-14 00:00 @ 19,369.272022-10-25 00:00 @ 19,314.2411d−$14.45-0.56%time stop
8long2022-09-20 00:00 @ 19,532.512022-09-28 00:00 @ 19,066.298d−$65.71-2.55%reverse
7short2022-08-12 00:00 @ 23,912.522022-08-23 00:00 @ 21,391.2811d$263.48+10.48%time stop
6short2022-07-31 00:00 @ 23,625.272022-08-11 00:00 @ 23,945.7911d−$32.04-1.27%time stop
5long2022-07-01 00:00 @ 19,927.282022-07-09 00:00 @ 21,583.488d$199.95+8.09%reverse
4long2022-06-16 00:00 @ 22,572.012022-06-18 00:00 @ 18,541.222d−$464.45-17.95%trailing stop
3short2022-03-29 00:00 @ 47,112.382022-04-09 00:00 @ 42,237.5511d$266.04+10.55%time stop
2long2022-01-25 00:00 @ 36,655.632022-02-05 00:00 @ 41,541.6911d$322.32+13.21%time stop
1long2022-01-11 00:00 @ 41,809.912022-01-21 00:00 @ 37,901.6810d−$240.00-9.60%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