ML-Augmented High-Frequency Grid Trading: Strategy-Embedded Labeling, Soft Martingale Execution, and Drawdown Dichotomy Quantification
Open Access
- 1 June 2026
- journal article
- research article
- Published by MDPI AG in Algorithms
- Vol. 19 (6) , 442
Abstract
Grid trading is a rule-based Forex execution scheme that places a ladder of buy and sell limit orders at fixed price increments, profiting from price oscillation without a directional forecast. To accelerate recovery, the scheme is commonly paired with Martingale lot scaling, a gambling strategy—distinct from the stochastic-process notion of the same name—that increases the lot size at each adverse price level. This combination achieves a high short-term hit rate but retains a non-zero probability of catastrophic drawdown, a pattern equivalent to the Gambler’s Ruin problem. Attempts to augment grid trading with supervised machine learning face a label-misalignment problem: the usual label “did the price rise or fall at horizon ?” does not capture the path-dependent payoff of a grid that may still profit after an initially adverse move. This paper presents the ML-Augmented High-Frequency Grid Trading System (AHFGTS) and reports three contributions. (i) Strategy-Embedded Labeling (SEL) derives each binary training label from a full forward simulation of the deployed grid over a 15 bar H1 (one-hour) horizon, so the training objective matches the execution objective. (ii) Soft Martingale execution replaces classical 2× doubling with ten sub-linearly scaled lot multipliers generated by linspace(1, 5, 10), cutting four-level cumulative exposure by 63% relative to 2× doubling. (iii) The Drawdown Dichotomy Ratio (DDR = Maximum Equity Drawdown/Maximum Balance Drawdown) is introduced as a scalar risk metric that, to our knowledge, is the first such metric for the gap between floating and realized risk in Martingale-family systems. A twelve-month out-of-sample evaluation on EUR/USD H1 (38 million ticks, 99% modeling quality, 1:500 leverage) produced 444 trades, a 65.77% win rate (z = 6.65, p < 0.0001; Cohen’s = 0.321), Profit Factor 2.85 (a 90–138% improvement over unfiltered grid baselines), and 442.6% net annual return; DDR was 5.72× (maximum equity drawdown, MED, of 79.97% vs. maximum balance drawdown, MBD, of 13.98%), quantifying the structural Martingale risk that persists after ML augmentation. The study evaluates a single currency pair under 1:500 offshore leverage and should be read as a methodological demonstration of SEL, Soft Martingale, and DDR rather than a universal performance claim.
Keywords
Funding Information
- Faculty of Information Technology and Digital Innovation, King Mongkut’s University of Technology North Bangkok
This publication has 30 references indexed in Scilit:
- CAST: Using neural networks to improve trading systems based on technical analysis by means of the RSI financial indicatorExpert Systems with Applications, 2011
- Technical analysis and the London stock exchange: testing the MACD and RSI rules using the FT30Applied Economics Letters, 2008
- Stochastic gradient boostingComputational Statistics & Data Analysis, 2002
- Foundations of Technical Analysis: Computational Algorithms, Statistical Inference, and Empirical ImplementationThe Journal of Finance, 2000
- Data‐Snooping, Technical Trading Rule Performance, and the BootstrapThe Journal of Finance, 1999
- Stock Market Prices Do Not Follow Random Walks: Evidence from a Simple Specification TestThe Review of Financial Studies, 1988
- Huygens' solution to the gambler's ruin problemHistoria Mathematica, 1986
- Empirical exchange rate models of the seventiesJournal of International Economics, 1983
- Optimum consumption and portfolio rules in a continuous-time modelJournal of Economic Theory, 1971
- A New Interpretation of Information RateBell System Technical Journal, 1956