Yamagishi Complexity Torus LabYamagishi Lab

[F031] The Maximum Drawdown Belongs to the Order of the Trades

Abstract

What this paper asks is whether the maximum drawdown is a property of the trades or of their order — and the answer is: of their order. No new mathematical theorem and no new law is claimed.

First, shuffling moves neither the total, nor the mean, nor the win rate. The same numbers are added in a different sequence, so if these move, the arithmetic is broken (Section 3).

Second, and this is the core. ★ But the maximum drawdown moves a long way. Shuffling alone takes it from 1.77 to 5.39 times its smallest value (median 4.23 times), a range of 2,713.40 to 12,267.52 pips (Section 4).

Third, the actual order sits inside that distribution. The percentile of the maximum drawdown has a median of 0.5330 and a range of 0.0060 to 0.8760, and it exceeds 0.95 in 0 of 16 cases (Section 5).

Fourth, only one case landed at an extreme, and it was the good side. EURUSD on the sign of the deviation has a percentile of 0.0060 — a smaller drawdown than any of the shuffles (Section 5).

Fifth, ★ on a synthetic random walk, shuffling alone still moves the maximum drawdown by a median of 4.28 times, barely different from the measurement's 4.23 times. This range is not a property of the market but the arithmetic of shuffling (Section 6).

Sixth, the longest stretch under water takes the same shape. Its percentile has a median of 0.3745 and a range of 0.0170 to 0.9730, so the actual order is inside the distribution here too (Section 5).

Scope of this paper: No new mathematical theorem and no new law is claimed — permutation tests and the definition of drawdown are both known. No real course or its proponent is discussed — no real teaching material, author, or vendor is the subject here, and none is named. Trading is not discussed — no costs are included, so the figures here are not trading performance (Section 7). The position size is fixed — compounding or risk-proportional sizing changes how the maximum drawdown comes out; this paper uses one fixed unit (Section 7). One way of building trades is fixed — one entry every 24 bars, exited 24 bars later; other constructions give other counts and ranges (Sections 2 and 7). The four directions are not independent — always-buy and always-sell are the same trades with the sign flipped (Section 3). There are 1,000 shuffles — the percentile resolves to one part in a thousand and nothing finer can be said (Section 7). The scope is intraday and few instruments — four instruments, six years, one-hour bars. Monthly time-series momentum (dozens of markets, one to twelve month holds) is documented in the academic literature and is not contradicted here. No forecast is claimed.

1. Notation and the question

An equity curve is shown and the text reads "the maximum drawdown was N pips".

What gets reportedWhat does not
The maximum drawdownWhat it would be if the same trades were shuffled
The shape of the equity curveWhere the actual order lands in that distribution
The longest stretch under waterWhat the same thing does on a series with no edge

Observation 1.1: ★ A total does not depend on the order of addition. Shuffle as you like and it stays the same. That is what addition is, not a measurement result.

Observation 1.2: ★ But the maximum drawdown looks at the path. It deepens when losses arrive together and shallows when they are spread out. The same set of trades gives different values under different orders.

Observation 1.3: The separator is the order in which the trades are placed. The set of trades, the count and the total are all held fixed, and only the order is varied.

Observation 1.4: ★ Where the actual order lands in the distribution says whether the market has order structure. In the middle means nothing special. At an extreme means losses arrive together.

Question: is the maximum drawdown a property of the trades or of their order?

2. State the quantity and the design first

Predictions (written before running)

① The total does not move at all under shuffling (addition does not depend on order).

② The maximum drawdown moves a long way.

③ ★ The actual order's maximum drawdown sits inside the shuffled distribution. If it does not (if it lands at an extreme), the market has order structure.

④ On a synthetic random walk the actual order should land right around the middle (independent increments have no order structure).

Design (declared before running and not changed during it)

ItemDecision
TradesEnter at the close of a one-hour bar, exit 24 bars later
One entry every 24 bars (no overlap)
DirectionsAlways buy / always sell / sign of the SMA(20) slope / sign of the deviation
SetsInstrument × direction = 16. 1,452 to 1,522 trades per instrument
Shuffles1,000 (fixed seed)
MeasuredTotal / maximum drawdown / longest stretch under water
Position sizeOne fixed unit (no compounding)
CostsNot included
BaselineSynthetic random walk down to within-bar movement (3 series)
InstrumentsUSDJPY, EURUSD, GBPUSD, XAUUSD
Period2019–2024

Observation 2.1: ★ With the overlap removed, the equity curve can simply be stacked up. A 24-bar hold with one entry every 24 bars means positions never overlap.

Observation 2.2: ★ Always-buy and always-sell are the same trades with the sign flipped. Whether their totals match with opposite signs is itself a check.

Observation 2.3: The position size is one fixed unit. With compounding or risk-proportional sizing, later trades weigh more on the account and the effect of order grows further. This paper measures on the side that does not inflate it.

3. What shuffling does not move (a check)

Calculation 3.1 Total, mean and win rate

InstrumentDirectionCountTotalMeanWin rate
USDJPYalways buy1,5214781.853.14390.5345
USDJPYalways sell1,521−4781.85−3.14390.4655
USDJPYsign of slope1,5212838.851.86640.5082
EURUSDalways buy1,522−995.05−0.65380.4895
EURUSDalways sell1,522995.050.65380.5092
GBPUSDalways buy1,521−80.85−0.05320.5108
GBPUSDsign of slope1,5211660.651.09180.5266
XAUUSDalways buy1,45213172.919.07230.5324
XAUUSDalways sell1,452−13172.91−9.07230.4676
XAUUSDsign of deviation1,4521464.171.00840.4876

Observation 3.2: ★ The totals of always-buy and always-sell match exactly with opposite signs: 4781.85 against −4781.85 for USDJPY, 13172.91 against −13172.91 for XAUUSD. They are the same trades with the sign flipped, so a mismatch would mean broken arithmetic.

Observation 3.3: ★ The total, the mean and the win rate do not move at all under shuffling, by definition. The same numbers are simply added in a different sequence.

Observation 3.4: XAUUSD always-buy totals 13172.91 pips. That means gold rose over six years, not that a method worked. The drift is not separated here.

Observation 3.5: The win rate stays between 0.4655 and 0.5345 for every direction. ★ With the win rate near 0.5 throughout, the total ranges from +13172.91 pips to −4781.85.

4. What shuffling does move

Calculation 4.1 The actual maximum drawdown against the shuffled distribution (pips)

InstrumentDirectionActualShuffled medianMinimumMaximum
USDJPYalways buy2247.702089.421120.204604.10
USDJPYsign of slope2725.302430.251335.654982.45
EURUSDalways buy2788.902459.871307.154541.75
EURUSDsign of deviation874.701527.05846.953560.35
GBPUSDalways buy3584.203085.051536.606268.80
GBPUSDsign of slope3120.602500.721229.605230.35
XAUUSDalways buy4483.684669.502435.1811487.06
XAUUSDalways sell15120.6315915.0812950.5122957.23
XAUUSDsign of deviation9422.067023.743355.6015623.12

Observation 4.2: ★ This is the core. Shuffling alone takes the maximum drawdown from 1.77 to 5.39 times its smallest value (median 4.23 times).

Observation 4.3: The range (shuffled maximum minus minimum) runs from 2,713.40 to 12,267.52 pips. ★ The same trades and the same total can produce equity curves this different.

Observation 4.4: ★ USDJPY always-buy comes out anywhere from 1,120.20 to 4,604.10 pips under shuffling alone. The sentence "the maximum drawdown was 2,247.70 pips" reports one value out of that spread.

Observation 4.5: The total does not budge while the maximum drawdown moves this far. ★ Both come from the same equity curve, yet one does not depend on the order at all and the other depends on nothing else.

Figure 1 Shuffling the same set of trades alone scatters the maximum drawdown this far

Figure 1: horizontal is the maximum drawdown, vertical is the number of shuffles. The vertical line is the actual order's value (always buy).

5. Where the actual order lands in the distribution

Calculation 5.1 Percentiles (0.5 is the middle; near 1.0 means the actual order was bad)

InstrumentDirectionDrawdown percentileLongest under waterShuffled medianIts percentile
USDJPYalways buy0.6070636451.50.8200
USDJPYsign of slope0.6630300614.00.0370
EURUSDalways buy0.70501,0021185.00.3430
EURUSDsign of slope0.1140258575.00.0170
EURUSDsign of deviation0.0060316618.50.0380
GBPUSDalways buy0.7240898993.50.4060
GBPUSDsign of slope0.77201,068718.00.8510
XAUUSDalways buy0.4450812387.00.9730
XAUUSDalways sell0.32601,3861387.00.4910
XAUUSDsign of deviation0.8760936807.50.6430

Observation 5.2: ★ Prediction ③ held. The drawdown percentile has a median of 0.5330 and a range of 0.0060 to 0.8760, and it exceeds 0.95 in 0 of 16 cases.

Observation 5.3: ★ The actual order is not special. If losses arrived together the percentile would push toward 1.0, and it does not.

Observation 5.4: Only one case landed at an extreme, and it was the good side. EURUSD on the sign of the deviation has a percentile of 0.0060 — a smaller drawdown than any of the 1,000 shuffles.

Observation 5.5: The longest stretch under water takes the same shape, with a median percentile of 0.3745 and a range of 0.0170 to 0.9730. Only XAUUSD always-buy pushes to 0.9730, one case out of 16.

Observation 5.6: With 1,000 shuffles the percentile resolves to one part in a thousand. Nothing finer can be said.

6. Baseline — do the same thing on a series with zero directional information

Calculation 6.1 Measurement against synthetic random walk (medians across four instruments)

DirectionDrawdown percentileDrawdown ÷ shuffled median
always buymeasured0.65601.1494
always buyrandom0.37451.0812
always sellmeasured0.40900.9613
always sellrandom0.49550.9573
sign of slopemeasured0.49801.1855
sign of sloperandom0.46001.0316
sign of deviationmeasured0.61301.0831
sign of deviationrandom0.29750.9729

Observation 6.2: ★ Prediction ④ held. The random walk's percentile has a median of 0.3915 and a range of 0.0440 to 0.9820 — the same band as the measurement.

Observation 6.3: ★ And the shuffling range is the same too. On the synthetic random walk, shuffling alone still moves the maximum drawdown by a median of 4.28 times, barely different from the measurement's 4.23.

Observation 6.4: ★ So this range is not a property of the market. It is the arithmetic of shuffling. A series known to have no order structure moves just as much. What this baseline is zero about was measured in [F033].

Observation 6.5: Percentiles above 0.95 occur in 4 of 48 random-walk cases. Chance alone would give 2 or 3, so that is not special. The measurement gives 0 of 16.

Observation 6.6: Only the measurement's always-buy has a higher percentile than the random walk's (0.6560 against 0.3745). ★ Losses may cluster somewhat, but with 0 of 16 above 0.95 this paper does not claim it as an effect.

Figure 2 Where the actual order lands in the distribution

Figure 2: horizontal is the percentile of the actual order, vertical is the count. The darker histogram is the measurement, the lighter one the synthetic random walk, and the dotted line is the middle (0.5).

7. Limitations

  1. The position size is one fixed unit. With compounding or risk-proportional sizing, later trades weigh more on the account and the effect of order grows further. This paper measures on the side that does not inflate it.
  2. One way of building trades is fixed: one entry every 24 bars, exited 24 bars later. Other constructions give other counts and ranges.
  3. The four directions are not independent. Always-buy and always-sell are the same trades with the sign flipped.
  4. There are 1,000 shuffles. The percentile resolves to one part in a thousand and nothing finer can be said.
  5. The drift is not separated. XAUUSD always-buy totalling 13,172.91 pips means gold rose over six years.
  6. No costs are included. The figures here are therefore not trading performance.
  7. The longest stretch under water is counted in trades, not time, so it changes meaning if the spacing of trades changes.
  8. Four instruments over six years. Nothing is said about other markets or other periods.

Conclusion

The same set of trades was shuffled 1,000 times. The total, the mean and the win rate do not move at all, because the same numbers are simply added in a different sequence. The totals of always-buy and always-sell come out as 4781.85 and −4781.85, exactly opposite, confirming the arithmetic is not broken.

But shuffling alone takes the maximum drawdown from 1.77 to 5.39 times its smallest value (median 4.23 times), a range of 2,713.40 to 12,267.52 pips. ★ USDJPY always-buy comes out anywhere from 1,120.20 to 4,604.10 pips on the same trades with the same total.

The maximum drawdown is a property not of the trades but of their order.

★ And the actual order is not special. The drawdown percentile has a median of 0.5330 and exceeds 0.95 in 0 of 16 cases. Only one case landed at an extreme, at 0.0060 — the good side. The longest stretch under water has a median percentile of 0.3745, inside the distribution as well.

★ On a synthetic random walk, shuffling alone still moves the maximum drawdown by a median of 4.28 times, barely different from the measurement's 4.23. This range is not a property of the market but the arithmetic of shuffling.

So a report of a maximum drawdown needs the distribution from shuffling the same trades. ★ That single figure is one realization out of a spread four or five times as wide. And this paper measures with a fixed position size: with compounding, the effect of order grows further.

Data and reproduction

DataFX is Dukascopy-derived tick data (from 2019 onward, confirmed identical down to the millisecond, bid and ask). Gold is Dukascopy
Period2019–2024 (six years)
InstrumentsUSDJPY, EURUSD, GBPUSD, XAUUSD
BarsOne-hour bars, mid prices, closes of completed bars only. No bar is made where there are no ticks
TradesOne entry every 24 bars, exited 24 bars later (no overlap). 1,452 to 1,522 per instrument
DirectionsAlways buy / always sell / sign of the SMA(20) slope / sign of the deviation
Shuffles1,000, fixed seed
Position sizeOne fixed unit. No costs
Verification検算/F031.py (--zu also writes the figures). Every figure in the text comes from 検算/F031_output.txt
Figures図/F031_zu1, 図/F031_zu2 (png, svg, English versions)
Random seedsFixed. Re-running gives the same values
Foundation check_ツール/audit_bars.py (bar look-ahead, daylight saving, day boundaries). The record is _土台の検査.txt

References

  • Yamagishi, Y. (2026). A Synthetic Random Walk Has No Volatility Clustering [F033]. Zenodo. 10.5281/zenodo.22893674

Reference

Yamagishi, Y. (2026). The Maximum Drawdown Belongs to the Order of the Trades [F031]. Zenodo.
DOI: 10.5281/zenodo.22893510
YOI: https://www.yamagishiyuuki.com/yoi/F031
ORCID: 0009-0006-8587-3450

PDF (English) · PDF (Japanese) · Date proof of the English PDF (OpenTimestamps .ots) · SHA256SUMS

The record page for this paper (in Japanese, with the PDFs in each language and the date proof): YOI F031. This paper is a preprint and has not been peer reviewed.