[Mine-Q] ADX-gated EMA 20/100 trend

public
@djgambhir

BTCUSDT · 12h · 2021-12-302026-08-31 · 3,411 bars in 4.4ms

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

Net P&L
+18.00%
$1,799.71
Max drawdown
-13.34%
Max run-up
+21.46%
Trades
59
39.0% win rate
Profit factor
1.41
2021-12-30drawdown · worst -13.34%2026-08-31
TrainingValidationOut-of-sample
SegmentPeriodReturnMax drawdownTradesWin rate
Training2022-01-012024-10-19-0.89%-13.06%4132%
Validation2024-10-192025-09-24+9.09%-4.62%667%
Out-of-sample2025-09-242026-08-31+9.13%-6.68%1250%

Risk-adjusted

Sharpe
0.41
Sortino
0.60
Calmar
0.27
Return ÷ max drawdown
1.35
CAGR
+3.61%
Exposure
61.4%

Per trade

Expectancy
$30.50 · +1.25%
Average win / loss
$269.87 / −$122.43
Payoff ratio
2.20
Largest win / loss
$1,108.33 / −$281.77
Longest losing streak(winning: 4)
7 trades

Drawdown over time

Max drawdown
-13.34%
Longest time under water
627 days
Worst drawdown recovered in
627 days
Under water at the end
4.0 days

Costs and mechanics

Fees paid
−$155.38
Funding
−$316.55
Liquidations
0
Warmup bars(loaded before the start date)
99
Benchmark(buy and hold)
+66.79%

Monte Carlo

1,000 alternative histories, each 59 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-12.78%+18.20%+60.85%
Max drawdown-21.10%-11.46%-6.15%

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

Settings

ema20 length
20
ema100 length
100
adx length
14
atr14 length
14
Long entry: adx > ▢
25
Short entry: adx > ▢
25
Stop loss (× atr14)
3
Trailing stop (× atr14)
4
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

59 trades

#SideEntryExitHeldP&LReturnClosed by
59long2026-08-20 12:00 @ 71,910.582026-08-31 12:00 @ 78,533.8911d$253.67+8.79%end of data
58short2026-06-17 12:00 @ 64,761.652026-07-05 12:00 @ 63,993.9518d$37.97+1.32%trailing stop
57short2026-05-29 00:00 @ 73,576.682026-06-15 12:00 @ 67,084.2417d 12h$249.15+8.85%trailing stop
56long2026-04-14 00:00 @ 74,399.782026-05-17 12:00 @ 77,108.3333d 12h$104.06+3.73%trailing stop
55short2026-03-19 00:00 @ 71,188.662026-04-07 12:00 @ 71,958.5119d 12h−$32.80-1.17%trailing stop
54short2026-01-22 12:00 @ 89,891.722026-03-04 00:00 @ 70,446.6240d 12h$574.08+21.64%trailing stop
53long2026-01-15 00:00 @ 96,927.382026-01-20 00:00 @ 91,261.755d−$161.90-6.01%trailing stop
52short2026-01-08 12:00 @ 90,174.162026-01-13 12:00 @ 95,444.105d−$160.64-5.88%trailing stop
51short2026-01-01 00:00 @ 87,590.782026-01-05 00:00 @ 92,393.904d−$152.54-5.50%trailing stop
50short2025-10-16 00:00 @ 110,676.962025-12-03 12:00 @ 93,975.4448d 12h$413.92+15.51%trailing stop
49long2025-10-02 12:00 @ 118,739.842025-10-10 12:00 @ 118,599.778d−$10.67-0.40%trailing stop
48short2025-09-26 00:00 @ 108,912.812025-09-29 12:00 @ 113,965.723d 12h−$126.98-4.70%trailing stop
47long2025-08-07 12:00 @ 116,492.392025-08-18 00:00 @ 115,927.8210d 12h−$22.51-0.83%trailing stop
46long2025-06-24 00:00 @ 105,312.062025-07-25 00:00 @ 115,350.3431d$232.62+8.78%trailing stop
45long2025-04-25 12:00 @ 94,621.122025-06-05 12:00 @ 102,344.7441d$196.44+7.55%trailing stop
44short2025-03-04 00:00 @ 86,176.062025-04-12 12:00 @ 84,617.1439d 12h$52.63+2.03%trailing stop
43short2025-02-26 00:00 @ 88,621.372025-03-02 12:00 @ 89,964.424d 12h−$40.96-1.58%trailing stop
42long2024-11-09 00:00 @ 76,497.502024-12-05 12:00 @ 93,529.4526d 12h$504.28+20.40%trailing stop
41long2024-10-18 12:00 @ 67,706.242024-11-03 12:00 @ 67,827.9716d−$10.11-0.41%trailing stop
40long2024-10-07 00:00 @ 62,801.762024-10-10 12:00 @ 59,031.943d 12h−$154.71-6.15%trailing stop
39long2024-09-22 00:00 @ 63,333.262024-10-01 12:00 @ 61,177.999d 12h−$92.86-3.66%trailing stop
38short2024-09-05 00:00 @ 57,933.212024-09-13 12:00 @ 60,227.078d 12h−$105.58-4.12%trailing stop
37short2024-08-12 00:00 @ 58,681.362024-08-27 00:00 @ 62,820.2615d−$187.86-7.20%signal
36short2024-08-05 00:00 @ 58,132.872024-08-08 12:00 @ 59,358.963d 12h−$57.33-2.18%trailing stop
35long2024-07-20 12:00 @ 66,459.292024-08-01 12:00 @ 63,171.8212d−$140.52-5.28%trailing stop
34short2024-06-24 12:00 @ 61,245.052024-07-14 12:00 @ 60,434.5820d$45.99+1.74%trailing stop
33short2024-04-28 12:00 @ 63,446.312024-05-06 00:00 @ 65,301.247d 12h−$77.66-2.91%trailing stop
32long2024-04-21 12:00 @ 65,216.542024-04-28 00:00 @ 63,408.226d 12h−$79.11-2.94%signal
31long2024-03-21 00:00 @ 67,889.982024-04-13 12:00 @ 64,534.5423d 12h−$175.35-6.42%trailing stop
30long2024-03-06 00:00 @ 63,760.252024-03-19 00:00 @ 64,313.0313d−$23.28-0.85%trailing stop
29long2024-02-10 12:00 @ 47,182.132024-03-05 12:00 @ 60,838.0624d$679.50+26.47%trailing stop
28short2024-01-25 12:00 @ 40,157.472024-01-30 00:00 @ 43,487.444d 12h−$216.23-8.25%trailing stop
27long2023-12-11 12:00 @ 42,355.072024-01-03 12:00 @ 41,679.5223d−$87.30-3.30%trailing stop
26long2023-11-15 12:00 @ 36,261.752023-12-11 00:00 @ 40,741.6725d 12h$290.25+11.29%trailing stop
25long2023-10-24 00:00 @ 33,080.612023-11-14 12:00 @ 34,473.2821d 12h$83.66+3.28%trailing stop
24long2023-10-17 12:00 @ 28,414.482023-10-23 12:00 @ 31,886.156d$299.37+12.10%trailing stop
23long2023-10-03 12:00 @ 27,554.612023-10-16 12:00 @ 28,163.2713d$49.28+2.00%trailing stop
22short2023-09-01 00:00 @ 25,922.812023-09-14 12:00 @ 26,630.9313d 12h−$68.64-2.77%trailing stop
21short2023-08-18 12:00 @ 26,474.202023-08-29 12:00 @ 27,368.8711d−$86.53-3.46%trailing stop
20long2023-06-22 00:00 @ 29,994.502023-07-18 12:00 @ 29,405.7726d 12h−$66.90-2.66%trailing stop
19short2023-05-13 12:00 @ 26,809.042023-05-28 12:00 @ 28,061.0715d−$114.53-4.50%trailing stop
18long2023-03-15 00:00 @ 24,687.442023-04-20 12:00 @ 28,352.5936d 12h$345.67+14.05%trailing stop
17short2023-03-10 12:00 @ 19,745.952023-03-12 12:00 @ 21,588.982d−$237.78-9.44%trailing stop
16long2023-02-16 00:00 @ 24,337.572023-03-03 00:00 @ 22,564.8215d−$198.59-7.73%trailing stop
15long2023-01-12 12:00 @ 18,198.042023-02-09 12:00 @ 21,855.6128d$463.45+18.89%trailing stop
14short2023-01-01 00:00 @ 16,534.192023-01-08 12:00 @ 17,141.587d 12h−$90.23-3.64%trailing stop
13short2022-11-10 00:00 @ 15,901.822022-12-13 12:00 @ 17,612.1933d 12h−$280.66-11.02%trailing stop
12long2022-10-29 00:00 @ 20,586.822022-11-08 00:00 @ 19,660.6510d−$121.90-4.73%trailing stop
11short2022-09-14 00:00 @ 20,158.572022-10-25 12:00 @ 20,020.3241d 12h$31.46+1.22%trailing stop
10short2022-08-20 00:00 @ 20,820.842022-09-09 00:00 @ 20,726.2120d$8.81+0.34%trailing stop
9long2022-08-09 12:00 @ 23,262.352022-08-19 00:00 @ 22,239.909d 12h−$119.50-4.60%trailing stop
8short2022-08-02 12:00 @ 22,867.432022-08-09 00:00 @ 23,809.066d 12h−$108.57-4.14%signal
7short2022-07-25 12:00 @ 21,927.212022-07-29 00:00 @ 24,217.063d 12h−$281.77-10.46%trailing stop
6short2022-07-11 12:00 @ 20,461.012022-07-18 00:00 @ 22,301.426d 12h−$247.65-8.99%trailing stop
5short2022-04-22 00:00 @ 40,441.612022-07-08 00:00 @ 22,551.0477d$1,108.33+44.71%trailing stop
4short2022-04-13 00:00 @ 40,052.692022-04-21 12:00 @ 42,889.378d 12h−$180.30-7.14%trailing stop
3long2022-03-27 00:00 @ 44,498.202022-04-06 12:00 @ 43,161.4810d 12h−$86.93-3.41%trailing stop
2short2022-02-14 00:00 @ 42,032.712022-02-28 12:00 @ 40,967.8314d 12h$63.58+2.51%trailing stop
1short2022-01-07 12:00 @ 42,241.552022-02-04 12:00 @ 40,312.9428d$118.96+4.76%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