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

public
@djgambhir

BTCUSDT · 1d · 2021-12-292026-08-31 · 1,707 bars in 4.9ms

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

Net P&L
-6.33%
−$632.86
Max drawdown
-22.42%
Max run-up
+16.56%
Trades
32
37.5% win rate
Profit factor
0.85
2021-12-29drawdown · worst -22.42%2026-08-31
TrainingValidationOut-of-sample
SegmentPeriodReturnMax drawdownTradesWin rate
Training2022-01-012024-10-18-10.93%-19.09%2030%
Validation2024-10-182025-09-24-1.88%-11.15%633%
Out-of-sample2025-09-242026-08-31+7.92%-3.91%560%

Risk-adjusted

Sharpe
-0.08
Sortino
-0.12
Calmar
-0.06
Return ÷ max drawdown
-0.28
CAGR
-1.39%
Exposure
71.0%

Per trade

Expectancy
−$19.78 · -0.60%
Average win / loss
$308.93 / −$217.00
Payoff ratio
1.42
Largest win / loss
$906.59 / −$537.12
Longest losing streak(winning: 3)
5 trades

Drawdown over time

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

Costs and mechanics

Fees paid
−$75.68
Funding
−$338.70
Liquidations
0
Warmup bars(loaded before the start date)
99
Benchmark(buy and hold)
+69.15%

Monte Carlo

1,000 alternative histories, each 32 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-29.31%-7.65%+24.43%
Max drawdown-33.39%-18.76%-9.41%

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

32 trades

#SideEntryExitHeldP&LReturnClosed by
32long2026-08-23 00:00 @ 77,099.922026-08-31 00:00 @ 78,533.898d$35.51+1.52%end of data
31short2026-05-31 00:00 @ 73,842.132026-08-19 00:00 @ 67,075.1680d$227.88+10.01%trailing stop
30long2026-05-04 00:00 @ 78,544.712026-05-28 00:00 @ 74,160.3624d−$135.54-5.87%trailing stop
29short2025-10-21 00:00 @ 110,447.812026-03-17 00:00 @ 74,931.99147d$708.70+33.23%trailing stop
28long2025-10-06 00:00 @ 123,451.392025-10-10 00:00 @ 115,192.184d−$148.98-6.87%trailing stop
27long2025-07-17 00:00 @ 118,614.422025-08-21 00:00 @ 112,233.7135d−$139.08-6.31%trailing stop
26long2025-04-28 00:00 @ 93,715.742025-06-22 00:00 @ 99,743.8455d$122.63+5.64%trailing stop
25short2025-03-01 00:00 @ 84,282.742025-04-22 00:00 @ 89,575.7052d−$131.74-5.97%trailing stop
24long2025-02-21 00:00 @ 98,272.452025-02-25 00:00 @ 88,269.714d−$233.86-10.32%trailing stop
23long2024-12-25 00:00 @ 98,646.632025-02-03 00:00 @ 92,047.5040d−$179.16-7.76%trailing stop
22long2024-11-10 00:00 @ 76,690.442024-12-20 00:00 @ 92,320.0740d$394.86+17.86%trailing stop
21short2024-08-07 00:00 @ 55,980.102024-09-19 00:00 @ 63,429.6743d−$307.20-13.42%trailing stop
20long2024-07-23 00:00 @ 67,512.702024-08-03 00:00 @ 60,109.3011d−$266.76-11.33%trailing stop
19short2024-06-30 00:00 @ 60,970.302024-07-15 00:00 @ 62,453.1815d−$51.15-2.16%trailing stop
18long2024-05-05 00:00 @ 63,877.072024-06-24 00:00 @ 62,800.6050d−$74.01-3.10%trailing stop
17long2024-03-21 00:00 @ 67,889.982024-04-13 00:00 @ 59,794.4223d−$330.77-13.40%trailing stop
16long2024-02-15 00:00 @ 51,833.462024-03-20 00:00 @ 60,999.9334d$321.94+13.48%trailing stop
15long2023-10-24 00:00 @ 33,080.612024-01-22 00:00 @ 40,170.8290d$381.04+16.62%trailing stop
14long2023-10-19 00:00 @ 28,312.862023-10-23 00:00 @ 30,962.424d$206.93+9.23%trailing stop
13short2023-10-12 00:00 @ 26,859.132023-10-16 00:00 @ 28,895.274d−$174.52-7.64%trailing stop
12short2023-08-22 00:00 @ 26,110.182023-10-01 00:00 @ 27,769.9540d−$146.24-6.30%trailing stop
11long2023-06-22 00:00 @ 29,994.502023-08-17 00:00 @ 28,133.7856d−$179.54-7.59%trailing stop
10short2023-06-15 00:00 @ 25,110.882023-06-20 00:00 @ 27,849.025d−$265.84-10.93%trailing stop
9long2023-04-28 00:00 @ 29,464.892023-05-12 00:00 @ 26,001.5314d−$302.62-12.06%trailing stop
8long2023-03-17 00:00 @ 24,995.502023-04-24 00:00 @ 26,932.2238d$172.10+6.98%trailing stop
7long2023-01-17 00:00 @ 21,192.442023-03-08 00:00 @ 21,695.0150d$22.39+0.91%trailing stop
6short2022-11-12 00:00 @ 17,054.992023-01-11 00:00 @ 17,874.4560d−$106.97-4.30%trailing stop
5short2022-09-25 00:00 @ 18,907.122022-10-29 00:00 @ 21,072.6134d−$279.43-10.93%trailing stop
4short2022-09-08 00:00 @ 19,283.142022-09-10 00:00 @ 21,824.542d−$349.52-13.22%trailing stop
3short2022-04-27 00:00 @ 38,086.082022-07-20 00:00 @ 24,071.0084d$906.59+37.50%trailing stop
2short2022-02-28 00:00 @ 37,664.572022-03-27 00:00 @ 45,702.4527d−$537.12-21.05%trailing stop
1short2021-12-30 00:00 @ 46,427.242022-02-07 00:00 @ 42,802.8939d$206.62+8.26%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